News: September 21st, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.4! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 18, 2019, 08:35:53 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 332
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 107
Total: 107

Author Topic: index.template.php errors  (Read 4050 times)

0 Members and 1 Guest are viewing this topic.

yerg

  • Guest
index.template.php errors
« on: March 30, 2006, 07:25:39 PM »
I'm having problems here

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

Code: [Select]
<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
Code: [Select]
<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
Code: [Select]
// 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

borgBOB

  • Guest
Re: index.template.php errors
« Reply #1 on: March 30, 2006, 09:11:43 PM »
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.

yerg

  • Guest
Re: index.template.php errors
« Reply #2 on: March 30, 2006, 09:19:29 PM »
That is the tThemes/default/index.template.php I'm taking about.

Well the one I've got anyway which I've not modded  :-\

borgBOB

  • Guest
Re: index.template.php errors
« Reply #3 on: March 30, 2006, 09:26:02 PM »
can you attach a copy of your file here? I will mod it for you.

yerg

  • Guest
Re: index.template.php errors
« Reply #4 on: March 30, 2006, 09:27:12 PM »
Here tis

borgBOB

  • Guest
Re: index.template.php errors
« Reply #5 on: March 30, 2006, 10:04:38 PM »
try this.

yerg

  • Guest
Re: index.template.php errors
« Reply #6 on: March 30, 2006, 10:26:50 PM »
Thanks muchly  ;)

Enigma

  • Guest
Re: index.template.php errors
« Reply #7 on: March 31, 2006, 04:20:12 AM »
thanks. that's exactly what i needed. i just added the changes to my modded index.template.php