How can i make this code work to select my recruitment tab when I am on the content.php page viewing specific article/section (r=179-Recruitment)? It seems to only work for the pages that are not articles. I can't find anything by googling on THIS_SCRIPT.
Code:
$tabselected = ''; $tablinks = ''; if (THIS_SCRIPT == 'content.php?r=179-Recruitment') { $vbulletin->options['selectednavtab']='Recruitment'; $tabselected = ' class="selected"'; } $template_hook['navtab_start'] .= '<li'.$tabselected.'><a class="navtab" href="content.php?r=179-Recruitment">RECRUITMENT</a>'.$tablinks.'</li>' ;
Comment