Quote:
Originally Posted by gm139
I am using vbulletin suite 418. I would like to add 3 tabs on the navbar, so I have copied your code 3 times in the plugin.
Each tab points to to the page content.php, followed by different parameters for each page. Links work, so when I click on a tab the correct page is shown, but the tab is not highligheted. Any suggestion?
|
You need to create a unique condition for each page. Replace this:
PHP Code:
if (THIS_SCRIPT == 'yourpage')
With a unique condition for the page. It does not have to be a condition based on the variable THIS_SCRIPT. It may be any unique condition.