SimplePortal
Support => English Support => Topic started by: raffo on February 19, 2011, 02:47:44 AM
-
I added a page with SP.
Then i create a tab in SMF to be able to call this page from the horizontal menu, just near homepage and forum.
But i noticed a thing:
- after i click one of the tab (one of the default ones: i mean, search, profile, forum), it becomes highlighted when my browser loads it;
- if i click the tab i created for the "page", it doesn't become highlighted, and the only tab highlighted remains the "homepage" one.
Do you know how to solve my problem?
Thanks!
-
Hey dude
Did you use any of the "custom button" mods to create a new tab in the main menu ?
If so then the problem is with the mod.
It has nothing to do with Simpleportal.
I also have installed 6 Custom buttons / tabs and menu's (http://custom.simplemachines.org/mods/index.php?mod=2657) and I also have that problem. Its a bug that the mod author have to update it.
-
Hi.
No, i just added a tab following this (http://www.simplemachines.org/community/index.php?topic=261880.0).
-
Then you should start a topic in SMF community. :)
I believe arantor will be able to help you.
-
Please let us know how things work out with that mod.
Thanks!
-
thanks :O
-
Did you fix your problem?
-
Nope.
I just wrote a message in SMF forum and i'm waiting for the help of someone who can "play" with the code... :)
http://www.simplemachines.org/community/index.php?topic=423216.0
-
The advice from Miss All Sunday is the correct one.
She is good.
-
This was the solution: http://www.simplemachines.org/community/index.php?topic=423216.msg2962992#msg2962992
to highlight that particular page on your Subs.php ifle find:
$current_action = 'login';
elseif ($context['current_action'] == 'groups' && $context['allow_moderation_center'])
$current_action = 'moderate';
below add:
elseif ($_REQUEST['page'] == 'chisiamo')
$current_action = 'chisiamo';