Wunderlust
02-09-2011, 10:26 PM
Hi,
If I use the $template_hook['navtab_start'] hook, the sub tabs for the forum are not shown. Is there anyway to make this happen for the these pages?
For instance, I have used this hook location to add a Home Tab to the main tab - how do I get the default vbulletin sub tabs to sho up under this tab.
My plugin toi show this link is currently:-
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'adv_index')
{
$vbulletin->options['selectednavtab']='TBX'; //MUST BE UNIQUE! Otherwise you'll have the bottom bar and highlights getting mixed up
$tabselected = ' class="selected"';
$tablinks = ' ';
}
$template_hook['navtab_start'] .= '<li'.$tabselected.'><a class="navtab" href="http://www.tacklebox.com.au/">TBX</a>'.$tablinks.'</li>' ;
The home page link is here:_ http://www.tacklebox.com.au/
Thanks
If I use the $template_hook['navtab_start'] hook, the sub tabs for the forum are not shown. Is there anyway to make this happen for the these pages?
For instance, I have used this hook location to add a Home Tab to the main tab - how do I get the default vbulletin sub tabs to sho up under this tab.
My plugin toi show this link is currently:-
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'adv_index')
{
$vbulletin->options['selectednavtab']='TBX'; //MUST BE UNIQUE! Otherwise you'll have the bottom bar and highlights getting mixed up
$tabselected = ' class="selected"';
$tablinks = ' ';
}
$template_hook['navtab_start'] .= '<li'.$tabselected.'><a class="navtab" href="http://www.tacklebox.com.au/">TBX</a>'.$tablinks.'</li>' ;
The home page link is here:_ http://www.tacklebox.com.au/
Thanks