News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Adding Tabs to Main Forum Header

Started by tpet96, May 08, 2008, 07:59:14 PM

Previous topic - Next topic

tpet96

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

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!

metallica48423

Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

tpet96

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?

metallica48423

its the href key

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

to use a url:
'href' => 'URL',
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

tpet96

So then where does the actual linking url go? 

metallica48423

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
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Advertisement: