The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
I've created a new menu link called "Channels" which appears as a tab on the main menu. However, when you select that tab the content is displayed but the highlighted tab is now the "Home" tab. Wondering what I need to do to ensure the selected tab remains highlighted.
e.g. goto http://porntutor.com/ then click the Channels tab
Notice how the highlighted tab is now the "Home" tab.
Offline
The link you've created is a static page, which means that it will be loaded by the static module (which highlights the home button). At this point what you want to do
is not possible directly from the administration panel, however i will add this function in next version (basically static pages will also have a field where you can specify
the current highlighted button).
Until then you can edit /modules/static/static.php and replace the following line:
$tpl->menu = 'home';
with:
$tpl->menu = ($name == 'channels') ? 'channels' : 'home';
Please let me know if this helps.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline