TinyPortal

Development => Support => Installation => Topic started by: yerg on March 31, 2006, 03:25:39 AM

Title: index.template.php errors
Post by: yerg on March 31, 2006, 03:25:39 AM
I'm having problems here

TP_mod-instructions.txt says to find in index.template.php

<b>', $context['common_stats']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats']['total_topics'], '</b> ', $txt[64], ' ', $txt[525], ' <span style="white-space: nowrap;"><b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '</span><br />
', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
</div>
</div>';

and
<a href="javascript:void(0);" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 2ex 2px 0;" border="0" /></a>';
and
// The main content should go here.  A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';


The file in Version: 1.1 RC2 that runs my forum doesn't have any of that code in index.template.php

:idiot2: I'm lost
Title: Re: index.template.php errors
Post by: borgBOB on March 31, 2006, 05:11:43 AM
This code is in the default theme folder.If you use a different theme, post the name here, and perhaps it has allready been converted for TP.
Title: Re: index.template.php errors
Post by: yerg on March 31, 2006, 05:19:29 AM
That is the tThemes/default/index.template.php I'm taking about.

Well the one I've got anyway which I've not modded  :-\
Title: Re: index.template.php errors
Post by: borgBOB on March 31, 2006, 05:26:02 AM
can you attach a copy of your file here? I will mod it for you.
Title: Re: index.template.php errors
Post by: yerg on March 31, 2006, 05:27:12 AM
Here tis
Title: Re: index.template.php errors
Post by: borgBOB on March 31, 2006, 06:04:38 AM
try this.
Title: Re: index.template.php errors
Post by: yerg on March 31, 2006, 06:26:50 AM
Thanks muchly  ;)
Title: Re: index.template.php errors
Post by: Enigma on March 31, 2006, 12:20:12 PM
thanks. that's exactly what i needed. i just added the changes to my modded index.template.php