Quote:
Originally Posted by kether1
Guess I am not understanding this mod.
Here is what I want to do:
I have the vBadvanced CMS as a portal page for my site. It is located in the root of the site on the same level as the forum.
I created a tab that is called portal and pointed it to index.php. It works great except for the fact that it highlights the forum.php tab that come with vbulletin4.
If I click on the forum.php tab (native to vb4) it goes to forum.php, but now, after installing this modification, it highlights the Portal tab (index.php) created by this mod.
To be clear my two links are:
http://www.mysite.com/forum/index.php (vbadvanced portal)
and
http://www.mysite.com/forum/forum.php (regular forum page)
vBadvanced comes with the ability to create a custom tab for each page created with it, but no way to easily add submenu links (or as this product calls them - 'links') to the navbar. So, I came here looking for help and found this mod.
I installed this on my test site which is vb4.1.0pl2.
It doesn't seem to matter what file I link to. Every tab I create always highlights the forum tab.
some links I tried include:
index.php
downloads.php
php_test.php
No matter the link, if it is on the site, the tab links correctly, but highlights the forum tab. The other native tab, "whats new", seems to work just like it should and is not affected by this modification.
Can you offer any advice? I cannot seem to get it to work correctly on my own.
Thank you.
|
As the vBadvanced index file has the
THIS_SCRIPT line of:
Code:
define('THIS_SCRIPT', 'adv_index');
You need to edit the file and change it this to:
Code:
define('THIS_SCRIPT', 'index');
Then the vBadvanced tab should highlight correctly.