News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

2 FORUM TABS?

Started by randommaker, March 13, 2009, 04:56:39 PM

Previous topic - Next topic

randommaker

Look!
How can get rid if THIS!!!!



shadow82x

Mind attaching ../Themes/default/index.template.php ?

You should be able to spot two "Forum" tab codes there.
Colin B
Former Spammer, Customize, & Support Team Member

randommaker

How do you attach a file?



shadow82x

Quote from: randommaker on March 13, 2009, 05:32:24 PM
How do you attach a file?
How do I use FTP? / What is FTP?

1) Go to ../Themes/default/
2) Than you should be able to locate the template file index.template.php file.
3) Find it and extract it to a location such as your desktop
4) Than you will be able to upload it using the SMF attachment system when posting. (Reply > Additional Options)
Colin B
Former Spammer, Customize, & Support Team Member

randommaker

Here :)

BTW I just needed to know how to atach!



shadow82x

#5
Yes, the "Forum" tab was being declared twice.

In index.template.php
You can remove the duplicate code
    // 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>' : '';
if($settings['TPortal_front_type']!='boardindex')


Alternately you can download the attached index.template.php and replace it over your current index.template.php

Tell us how things go :)

Colin B
Former Spammer, Customize, & Support Team Member

randommaker

Thank YOU IT WORKS NOW!



shadow82x

No problem. :) Marked as solved.

Goodluck with your forum.
Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: