SimplePortal

Support => English Support => Topic started by: Pixels on August 03, 2010, 09:38:43 AM

Title: Tabs Help
Post by: Pixels on August 03, 2010, 09:38:43 AM
Is it possible to edit, add, or remove tabs on the navigation bar at the top of the forum?

e.g. Home | Forum | Help | Search..
Title: Re: Tabs Help
Post by: AngelinaBelle on August 03, 2010, 10:04:55 AM
Yes.
 
How you do this depends on the theme you are using.
You don't need any SimplePortal knowledge to do this -- you can read about adding theme buttons at simplemachines.org, or you can have a look at SimplePortal's add-a-button tutorial at
http://simpleportal.net/index.php?topic=52.0 (http://simpleportal.net/index.php?topic=52.0)
 
This is for non-curve themes.  For curve themes, you don't edit a theme file at all  :nervous-happy:
Title: Re: Tabs Help
Post by: Pixels on August 03, 2010, 10:29:41 AM
I don't quite understand what the tutorial is saying. I'm not using one of the given SMF themes. I'm using the Inferno theme.
Title: Re: Tabs Help
Post by: deansmar on August 04, 2010, 03:00:31 AM
it does not really matter which theme your using, adding Tabs is done in the Subs.php

Adding tabs to SMF 2.0  (http://www.simplemachines.org/community/index.php?topic=261880.0) try this tutorial, this will give you Tabs in SMF and SP

if you need more help then there are a few more pointers on the SMF website, that i have worked on.

Yet another Add tabs question ;)  (http://www.simplemachines.org/community/index.php?topic=357796)
another TAB highlight question  (http://www.simplemachines.org/community/index.php?topic=390713)
Title: Re: Tabs Help
Post by: Pixels on August 04, 2010, 12:38:24 PM
I did that and now my site got this error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/a3388275/public_html/Sources/Subs.php on line 414
Title: Re: Tabs Help
Post by: ccbtimewiz on August 04, 2010, 01:22:20 PM
Attach your Subs.php
Title: Re: Tabs Help
Post by: Nick on August 04, 2010, 03:22:19 PM
Johnccccccc did make a great mod to add up to 6 custom tabs if you want to use that;

http://custom.simplemachines.org/mods/index.php?mod=2657
Title: Re: Tabs Help
Post by: Pixels on August 04, 2010, 08:45:46 PM
Nick, it doesn't work for me. When I try to add a tab, it doesn't appear. Any other way to add a tab?
Title: Re: Tabs Help
Post by: ccbtimewiz on August 04, 2010, 11:57:27 PM
Attach your Subs.php
Title: Re: Tabs Help
Post by: Pixels on August 05, 2010, 10:03:30 AM
There you go.
Title: Re: Tabs Help
Post by: Pixels on August 06, 2010, 09:23:52 PM
Bumpbumpbumpbumpbump.
Title: Re: Tabs Help
Post by: ccbtimewiz on August 07, 2010, 11:32:42 AM
Attach the Subs.php that gave you the error...
Title: Re: Tabs Help
Post by: Pixels on August 07, 2010, 09:52:54 PM
I fixed that error, but I can't figure out how to add a button.
Title: Re: Tabs Help
Post by: deansmar on August 08, 2010, 04:53:50 AM
did you follow these steps shown in this tutorial ?

Adding tabs to SMF 2.0  (http://www.simplemachines.org/community/index.php?topic=261880.0)

it is quite straight forward if you just follow the steps mentioned in the above link.
Title: Re: Tabs Help
Post by: Pixels on August 08, 2010, 09:23:53 PM
Oh, thanks Dean! I didn't replace the whole $txt and $scripturl line, that's why it didn't work. Thanks so much.
SimplePortal 2.3.8 © 2008-2024, SimplePortal