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.
link in header
argie01
New
Hi,
I need to put another tab in the menu, of the theme Blogger. When I go to blogger\menu.php, I find this code:
<div id="Nav">
<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>
So, how exactly should be this code to add a tab linking to, for example, www.ibm.com???
thank you!
0
Comments
In that case, change the code to:
<div id="Nav"> <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 '<li><a href="http://www.ibm.com/">IBM</a></li>'; echo '</ul>
The IBM tab will be the last tab.
If you want your own tab to be the first tab, insert the extra 'echo'-line before the while.