Very easy to get working, thanks Allan! Working great in vB4 gold.
Quote:
Originally Posted by betty02
I created a new nav link to my custom page, how do i make that link selected/highlighted as if its on that page? Currently keeps my Forum tab highlighted/selected?
|
Quote:
Originally Posted by Lynne
For the condition used for the tab, did you try this?
PHP Code:
if (THIS_SCRIPT == 'misc')
or, you may have to do:
PHP Code:
if (THIS_SCRIPT == 'misc' AND $_REQUEST['template'] == 'whatever')
Something like that should work. Play with it.
|
So if I have this setup to go to my custom temple (custom_cotm) and it goes to this page here
http://www.elantraxd.com/forums/misc...&template=cotm
That's great, but how and where exactly should the code you put up go Lynne? I want the top tab in the Navbar called "COTM" to be the one that is highlighted (and obviously I need to make the COTM tab/button go to the correct URL, when it's ready). There is no .php file associated with the template. And the variables I'd need to replace are only THIS_SCRIPT right? Or do I have to do something with the 'misc' as well?