Quote:
Originally Posted by salvador21
Sorry to appear thick, but can someone explain in simple language how to get a tab selected.
The tab is working nicely but I can't figure out the THIS_SCRIPT business.
e.g. if I am linking to a CMS article, e.g.
http://cafesaxophone.com/content.php?198-Music-Store
what do I put in the VBH tab control panel, and do I edit any files?
|
I'm repeating this becouse I can't find the answer, and I'm also stuck here. I linked new tab to an article, but I have no clue what to do with THIS_SCRIPT. Any example, please? Do I need to insert some code to an article that would make tab selected?
EDIT: I did it like it was described here. Works fine for me.
I wanted a tab that would display my section 21, and also to be active when I click it. The link to this section is .../content.php?21.
So, I made a copy of content.php and named it novosti.php. I opened it and modify line with THIS_SCRIPT, replaced "vbcms" with "novosti". I made new tab with this tool and point it to novosti.php?21, and set the THIS_SCRIPT value to "novosti". Everithing is great, only I don't have sublinks, like I have them when I go to article 21 on regular way, but that is a minor issue.