Hi,
I'm currently making a skin, but the index.tpl is not "loading" when I'm viewing the skin. I have the header.tpl, footer.tpl and index.tpl but the page is only uploading to the "</head>"
I tried uploading another index.tpl from another skin and it worked fine.
I removed the spaces in the INCLUDE BLOCK so it read:
<!-- INCLUDE BLOCK: header -->
(and in the footer block)
And the index.tpl appeared but the header and footer weren't; when I viewed the source they came up as HTML comments.
The skin's hidden and not on my server so I can't provide a URL. :S
archive:
site:
Available for skin/mod commission! π
Try turning on debug to see if an error appears.
Notice: Undefined index: header in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: header in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: header in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 706
Notice: Undefined index: header in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 713
Notice: Undefined index: footer in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: footer in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 701
Notice: Undefined index: footer in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 706
Notice: Undefined index: footer in /home/mystic78/public_html/eFiction/includes/class.TemplatePower.inc.php on line 713
I have a feeling I've seen that before so I'll have a look through the threads...
archive:
site:
Available for skin/mod commission! π
Post the index.tpl.
It looks to me like the header and footer blocks aren't being seen by templatepower.
<!-- INCLUDE BLOCK : header -->
<div id="content">
<div id="conMainColumn">
<h3 class="headerBlock">{categories_title}</h3>
<div class="ss-columnsMain">
{categories_content}
</div>
</div>
<div id="conBottomColumn"><div id="bottomNews">
<h3 class="headerBlock">{news_title}</h3>
{news_content}
<p class="center">{newsarchive}</p>
</div>
<div id="bottomNav">
{bottommenu_content}
</div>
</div></div>
<div id="sidebar">
<div id="menu">
<h3 class="headerBlock">Sidebar</h3>
{menu_content}
</div><div id="randomStory">
<div class="ss-columnsMain">
<h3>{random_title}</h3>
<p>{random_content}</p>
</div>
</div><div id="siteInfo">
<div class="ss-columnsMain">
<h3>{info_title}</h3>{info_content}</div>
</div><div id="skin" class="center">{skinchange_content}</div>
</div>
<div id="welcome">
{welcome}
</div><!--INCLUDE BLOCK : footer -->
There you go. π
archive:
site:
Available for skin/mod commission! π
I pasted it into my site and it worked. Didn't look great because I had some of the blocks turned off and the CSS was wrong, but the header and footer were there.
Odd.
Thanks for doing that for me, by the way.
I have a feeling it might be on my end; it's just happened on another skin for me.
*grumble*
archive:
site:
Available for skin/mod commission! π
Solved.
I think it's something to do with Notepad ++ (the editor I use)
I viewed it in the normal Notepad and it seemed to have removed all new lines and such. I edited it back in Notepad and it works. π
archive:
site:
Available for skin/mod commission! π