SimplePortal
Support => English Support => Topic started 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..
-
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:
-
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.
-
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)
-
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
-
Attach your Subs.php
-
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
-
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?
-
Attach your Subs.php
-
There you go.
-
Bumpbumpbumpbumpbump.
-
Attach the Subs.php that gave you the error...
-
I fixed that error, but I can't figure out how to add a button.
-
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.
-
Oh, thanks Dean! I didn't replace the whole $txt and $scripturl line, that's why it didn't work. Thanks so much.