Quote:
Originally Posted by AndrewSpearin
Oh actually they are not all set up just yet. It works as it should for 'Contests' - however I want Contests to remain highlighted when on the pages within that section.
From: http://npac.ca/2010/contests.php
Contests -> NPOY 2009 -> Information & Rules
Takes you to: http://npac.ca/2010/poy2009.php
Above is where I am working on first, and trying to figure out how to get it working for that page before moving on to the rest (which still need to be created).
This is my first time working with vBulletin, so am still getting used to conditions. I'm more of a designer than developer, but do have a firm understanding when it comes to the code.
|
Then is sounds more like you should have a longer condition: if on Contests page or on poy2009 page or on xxxxx page. So, you could define THIS_SCRIPT at the top of each of those pages so you can use them in the condition:
PHP Code:
if (in_array(THIS_SCRIPT, array('contests', 'poy2009', 'xxxxx')))
You will NEED to define THIS_SCRIPT at the top of all those pages!!!!
PHP Code:
define('THIS_SCRIPT', 'xxxxx');
Quote:
Originally Posted by I.am
This is not a custom page, but it is a section of my community that i wat to show on navbar_tab.
|
Then you need to have a condition written to make that tab show for that section. I cannot help you with that as I am not that familiar with the CMS yet.