Quote:
Originally Posted by cellarius
Sorry, I mixed you up with jacx. Anyway, I posted the solution for your problem on the previous page of this thread, #199
|
I got this error:
Quote:
Fatal error: Call to a member function getNodeId() on a non-object in /home/*username*/public_html/vb/includes/class_bootstrap.php(399) : eval()'d code on line 3
|
when I used this code.
this is my code:
PHP Code:
$tabselected = '';
$tablinks = '';
if (in_array($this->content->getNodeId(), 5))
{
$vbulletin->options['selectednavtab']='content.php?r=5';
$tabselected = ' class="selected"';
$tablinks = '';
}
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="content.php?r=5">News</a>'.$tablinks.'</li>' ;