index.tpl is not &q...
 
Notifications
Clear all

index.tpl is not "loading"

8 Posts
2 Users
0 Reactions
2,202 Views
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 14/09/2007 1:24 pm
(@tammy)
Posts: 2577
Member Moderator
 

Try turning on debug to see if an error appears.


 
Posted : 14/09/2007 2:11 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 14/09/2007 2:30 pm
(@tammy)
Posts: 2577
Member Moderator
 

Post the index.tpl.

It looks to me like the header and footer blocks aren't being seen by templatepower.


 
Posted : 14/09/2007 4:12 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

<!-- 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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 14/09/2007 4:56 pm
(@tammy)
Posts: 2577
Member Moderator
 

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.


 
Posted : 14/09/2007 6:20 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 14/09/2007 6:27 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 15/09/2007 1:57 pm
Share: