TinyPortal
Development => Support => Topic started by: AxS Voldsom on May 14, 2010, 03:52:40 AM
SMF: 2.0 RC2
Tinyportal: v1.0 beta5
Im simply trying to get my menu, which has buttons that are highlighted when in that certain section, to keep "Forum" highlighted while people are using the forum, on all boards, topics, etc... In other words, look at the top of this page where "CForum" is highlighted. Currently my menu bar will highlight when in the main forum view and all of the other links stay highlighted when in their respective section, but as soon as you enter a board the menu highlights "Home" instead of "Forum".
Thanks for any help
Open Sources/Subs.php and find this line:
elseif ($context['current_action'] == 'groups' && $context['allow_moderation_center'])
$current_action = 'moderate';
Add after it, this line:
elseif (isset($_GET['board']) || isset($_GET['topic']))
$current_action = 'forum';
That line doesn't seem to exist in my sub.php file, attached it if you want to have a look.
That's probably because you're using RC2, and I checked it on RC3. :)
Fixed the file for you.
Works perfectly! Thanks!