Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to edit menu links
Simple: How to edit the menu links???
I know to add a tab but i need make a new menu and custom links, where is the class and file, please?
Thanks a lot
I know to add a tab but i need make a new menu and custom links, where is the class and file, please?
Thanks a lot
0
This discussion has been closed.
Comments
I have integrated Vanilla with Wordpress and I want to manage profiles from Wordpress profiles, exp:
<a href="../wordpress/wp-admin/profile.php">Account</a> not <a href="forum/account.php">Account</a>
Only need the file with class "Tabs" to edit the links.
A posible solution is:
In the /themes/menu.php
Replace this
<ul>'; while (list($Key, $Tab) = each($this->Tabs)) { echo '<li'.$this->TabClass($this->CurrentTab, $Tab['Value']).'><a href="'.$Tab['Url'].'" '.$Tab['Attributes'].'>'.$Tab['Text'].'</a></li>'; } echo '</ul>
by
<ul>'; <li>Link1</li> <li>Link2</li> echo '</ul>
but it's not professional... ^^Thx in advance
Thx anyway.
Edit 1:
Ok, very thx, think have used another extension, this works fine
Nice work! ^^
Working over $Menu and $this->Tabs ...