|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hello! I added a new tab to the navbar by this article: http://www.vbulletin.org/forum/showthread.php?t=226914 But, I can't add a link to section(I can link just to static pages) - Because the select tab doesn't work here(I mean, when you press on section tab the Forum tab still selected because there is no condition for the section area). as you can see in my post: http://www.vbulletin.org/forum/showp...&postcount=222 I tried to change the condition to: 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'] .= 'News'.$tablinks.'' ; but 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 Anyone can help me with this condition? Thanks a lot! Yonatan __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
أدوات الموضوع | |
انواع عرض الموضوع | |
| |