Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: tpet96 on May 08, 2008, 07:59:14 PM

Title: Adding Tabs to Main Forum Header
Post by: tpet96 on May 08, 2008, 07:59:14 PM
Figured I would post this here since it is a question for 2.0 B3.1.

In the below link:

http://www.simplemachines.org/community/index.php?topic=63203.0 (http://www.simplemachines.org/community/index.php?topic=63203.0)

There are instructions for 1.1.4 for adding tabs to the main forum header.  This does not seem to work the same for 2.0.  Any suggestions?  I would like to add a button for our flash chat program.  Thanks in advance!
Title: Re: Adding Tabs to Main Forum Header
Post by: metallica48423 on May 08, 2008, 08:02:35 PM
Search turns up:

http://www.simplemachines.org/community/index.php?topic=237239.msg1529065#msg1529065
Title: Re: Adding Tabs to Main Forum Header
Post by: tpet96 on May 08, 2008, 08:40:32 PM
THANK YOU!  I have searched, and must have overlooked that thread.  This is all new to me...and I'm learning, so bear with me. 

I'm wanting to link the tab to the address of our flash chat php.  How would I do this in that code, and where would I put it?
Title: Re: Adding Tabs to Main Forum Header
Post by: metallica48423 on May 08, 2008, 10:26:18 PM
its the href key

to use a variable:
'href' => $scripturl,

to use a url:
'href' => 'URL',
Title: Re: Adding Tabs to Main Forum Header
Post by: tpet96 on May 09, 2008, 05:27:10 AM
So then where does the actual linking url go? 
Title: Re: Adding Tabs to Main Forum Header
Post by: metallica48423 on May 09, 2008, 02:43:23 PM
actually check this post, it might be slightly more informative

http://www.simplemachines.org/community/index.php?topic=229686.msg1476576#msg1476576

all of it is in subs.php -- search for 'home' => $scripturl,

And that should take you to the first one, the home button