TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 109
  • Total: 109

Not sure if this is a bug or theme problem

Started by bigguy, September 13, 2006, 05:05:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bigguy

When you are on my Tp homepage, like the front page I guess it is for Tp on my site my tabs at teh top are supposed to look depressed when you go from place to place. I mean when you go from the Home button to the forum button the one you are in looks depressed.

For some reason when I go from home to forum the home button stays depressed until you go into a board then the forum button looks depressed. Is this  aproblem with the theme modern_default or TP. Modern_default theme uses all the default template files so I can't see it being that.

SMF1.1 RC3 and Tp 0.9.5

IchBin

Well, you can always test if its the theme by trying the default theme. This doens't happen on my test site.

yj98

I thought that the issues must caught by your  "TP_Modern_default" theme.

But I haven't that theme , where did you download the "Modern_default theme" ? I liking this theme and want to try .

bigguy

I downloaded it from simplemachines.org It's not a Tiny Portal theme just a regular SMF theme but it doesn't have any of it's own files at all except a index.template.php and the styles.css files and such. That's why I figured it might be a bug cause I renamed the index.template.php file that comes with it so the whole theme is calling on the default theme for all it's template files.

G6Cad

I tried that one time to, Didint work at all until i had made the TP changes to the index.template.php for the theme.
Cant remember what theme i used then though  :-\

bigguy

All the changes have been made to the default index.template.php file and if SMF is getting all the info from there then there shouldn't be a problem should there ??? Everything works great except that one little thing.

yj98

I noticed that your site show me below :

<td class="maintab_active_last"></td>
<td class="maintab_back" valign="top">
   <a href="http://www.smfhelper.com/index.php?action=forum">Forum</a>
</td>


but the correct one will show us :

<td class="maintab_active_first"></td>
<td class="maintab_back" valign="top">
   <a href="http://www.smfhelper.com/index.php?action=forum">Forum</a>
</td>
<td class="maintab_active_last"></td>


bigguy

Ok, I see it now. I will have to change that tomorrow. Thanks for your help everyone. Hope that takes care of it. :)

bigguy

this is my forum tab code. It looks fine to me:

// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">'.$txt['tp-forum'].'</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_last">&nbsp;</td>' : '';

This website is proudly hosted on Crocweb Cloud Website Hosting.