Quote:
Originally Posted by NashChristian
Yeah, I tried adding it through the NavTab mod instead, problem is the "active" state will only work in conjunction with one PHP file, and since your product uses three different PHP files, the album.php, albumall.php, and picall.php, the "active" state will only show for one of those, and the other two revert back to showing the "Forum" tab as "active", which kinda sucks.
Maybe I need to figure out how to hard code my tabs myself.
But just to clarify, with your mod (and no other navtab mods), the "active" state for your tab button works on all THREE of those page types listed above?
|
No - this product only has two PHP files - album.php is part of vB. Albums and pictures are part of the forum therefore the forum tab remains lit (as it does when you use the navbar menu).
The template conditional you need to activate the tab will be something like:
Code:
<vb:if condition="in_array(THIS_SCRIPT,array('picall','albumall'))">
... display gallery navbar items ....
</vb:if>
Take a look at
https://vborg.vbsupport.ru/showthread.php?t=226914 for background.