Right the faqs.tpl is realy begining to piss me off now, I am making a theme and cant for the life of me get the faq page to load its just blank white screen in the new window.
I have even renamed the original style.css that comes with webid and pointed faqs.tpl to this new renamed .css
I dont have cach turned on in webid and have even cleared the cache 60 times.
I have cleared all my browser cache but the faqs still load a blank white page in both IE and FIREFOX even as stated above using the old CSS.
Am I missing somthing or what?
Is there somthing that faqs.php and faqs.tpl pull from somwher i am unaware of?
This only seems to load the page when your using the default theme.
Can anyone point me in the right direction of how I get the shitty faqs to load a page instead of just blank and white.
Even with faqs pointing to the original CSS when viewing the sorce all im getting in the sorce of the page is
For some weard reason it wont load the bits between thePHP Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD> <BODY></BODY></HTML>
<body> and </body> tags and as you can see there is no CSS mentioned its like it's compleatly egnoring the "link rell style sheet" bits
The actual .tpl code a I hve it now with renamed old CSS is bellow.
Note that the helpupload.css is the original style.css as bellow with nothing added or taken away.PHP Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" dir="{DOCDIR}">
<head>
<title>{PAGE_TITLE}</title>
<link rel="stylesheet" type="text/css" href="{SITEURL}themes/{THEME}/css/helpupload.css">
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
</head>
<body bgcolor="#C0C0C0">
<div class="container">
<div class="content">
<div class="tableContent3">
<div class="titTable2 rounded-top rounded-bottom">
{L_5236}
</div>
<div class="table2">
<div style="text-align:right">
<a href="javascript:window.close()">{L_678}</a>
</div>
<ul>
<!-- BEGIN cats -->
<li><a href="viewfaqs.php?cat={cats.ID}">{cats.CAT}</a></li>
<!-- END cats -->
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
Not so diferent to the original, the original code is bellow
PHP Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" dir="{DOCDIR}">
<head>
<title>{PAGE_TITLE}</title>
<link rel='stylesheet' type='text/css' href='{SITEURL}themes/default/style.css'>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
</head>
<body>
<div class="container">
<div id="logo">
{LOGO}
</div>
<div class="content">
<div class="tableContent3">
<div class="titTable2 rounded-top rounded-bottom">
{L_5236}
</div>
<div class="table2">
<div style="text-align:right">
<a href="javascript:window.close()">{L_678}</a>
</div>
<ul>
<!-- BEGIN cats -->
<li><a href="viewfaqs.php?cat={cats.ID}">{cats.CAT}</a></li>
<!-- END cats -->
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
Results 1 to 5 of 5
Thread: faqs.tpl Am I missing somthing
-
27-04-2012, 04:55 PM #1
faqs.tpl Am I missing somthing
Last edited by nay27uk; 27-04-2012 at 05:08 PM.
100%Webid Ready Hosting | Fleamart.co.uk the UK's 10p Auction Site
-
27-04-2012, 05:36 PM #2
why are the color code in body ?
i have my color in the div like this
in tpl
and in cssHTML Code:<div class="contentarea">
Code:.contentarea { border: 1px solid #C9C9C9; border-style:none solid solid solid; width: auto; height: auto; text-align:left; background-color: #FFFFFF; padding:6px; }Like my (Dahllsvarehus) work. [Donate here please. ]Donations reached $1,783 Thank you!
-
27-04-2012, 06:20 PM #3
<div class="container">
<div class="content">
<div class="tableContent3">
<div class="titTable2 rounded-top rounded-bottom">
you must reffer with !important statement in css to pull your faq in colours to see
or recode it to not to make affair with class=content and class=tableContent3. IMO
If you found my posts helpful, feel free to thumb it upFORCE ME TO WORK HARDER ----> DONATE recived (147 $) THANKS ALL
-
27-04-2012, 09:07 PM #4
I am not talking about colors thats just for testing purposes (see bellow)the last piece of code above is the original faqs.tpl that comes with WEBID the first bit of code is just exactly the same but with the CSS name changed.
The #C0C0C0 color in the body tag of my code was just me testing to see if I changed the body color directly in the page if the page background would change, but the page still loads nothing just a blank white screen its totaly egnoring everything inluding hard coded color for bodyLast edited by nay27uk; 27-04-2012 at 09:15 PM.
100%Webid Ready Hosting | Fleamart.co.uk the UK's 10p Auction Site
-
28-04-2012, 10:19 AM #5
I managed to fix this now.
I am a numpty and never realised it uses two .tpl files faqs.tpl and viewfaqs.tpl I never had viewfaqs.tpl in my theme folder100%Webid Ready Hosting | Fleamart.co.uk the UK's 10p Auction Site


Reply With Quote
Bookmarks