If someone is using this and has the problem that the Homepage is selected, i modiefied the first line of vbcms_navbar_link to
PHP Code:
<vb:if condition="$vboptions['selectednavtab'] == 'vbcms' AND !in_array($_GET['r'], array(60))">
Where 60 is the section id (e.g. content.php?60)
Hope this works for you
--------------- Added [DATE]1281531651[/DATE] at [TIME]1281531651[/TIME] ---------------
Only one more question:
I have new NavTabs to Content Sections (e.g. content?=60) called News.
Below that i have sub-nav links to content?=61 "Sports", content?=62 "Travel",...
Now all this works fine, all are displayed and you can follow the link.
Only problem is:
If i hit one of the subNavs, "News" loses the Highligthing (Selection) and none of the Navbar is selected.
Is there a way to have News Selected when using one of its sublinks ?
OK
Got it myself
PHP Code:
$tabselected = '';
$tablinks = '';
if ((($_GET['r'] == 67) || ($_GET['r'] == 68) || ($_GET['r'] == 70))&& (THIS_SCRIPT == 'vbcms'))
{
$vbulletin->options['selectednavtab']='content.php?r=67';
$tabselected = ' class="selected"';
$tablinks = ' <ul class="floatcontainer">
<li><a href="content.php?r=68">Fotos</a></li>
<li><a href="content.php?r=70">Videos</a></li>
</ul> ';
This works well, just add the sub navs into your If. v 4.0.5
Thanks in advance