PDA

View Full Version : New tab not staying selected...


JMEWLS`
07-14-2013, 02:47 PM
nbadimensions.net/forums/

For example, when I click "nba news and rumors" the tab isn't highlighted, the home tab is... Same goes with the "NBA blogs" tab...

The appropriate tab ID's are...

NBA NEWS AND RUMORS: tab_mzgx_454
NBA BLOGS: tab_mzgx_649

These are both section pages on my website so I'm not sure how this is done..

Lynne
07-14-2013, 04:13 PM
Those are both CMS sections? You'd use something like this:

hook location - set_navigation_tab_vbview

if (intval($_GET['r']) == yy) $root = 'tab_mzgx_xxx';

yy will be the sectionid.

I have no idea what you would do since you have vbseo. That may or may not work on your site.

Paul M
07-14-2013, 04:37 PM
Btw, in the above, the "73" refers to the sections nodeid, which you will see in in its url (in your case it looks like 447 & 448).

JMEWLS`
07-14-2013, 11:08 PM
Worked a treat, cheers guys..