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.

I need to know where to edit the source to add a link to the headers.

edited January 2009 in Vanilla 1.0 Help
Hi, all! I'm a n00b Vanilla user, and though I've been pleasantly stunned at the ease of installation on my server, I have something I need to know about. I'm using the "Europe After The Rain" theme. Where can I go in the source to edit the header? I need to add some kind of graphic or link back to my main site that is present in the whole forum. It doesn't really matter if it's PHP, HTML, CSS or whatever, I'm just not experienced enough to know which file to look at to embed some kind of "Go Back To The Main Site" link or icon in the header. Thanks!


  • Go to /themes/head.php and add to the bottom of the code, or you can also use /themes/menu.php and add to the top of the code.
  • Ok, I'll give that a shot. Thanks!
  • I'm having trouble finding a way to put a graphic in the header that will link back to my main site. What would you all think about putting a link right below "Start a new discussion" in the sidebar? If I was going to do that, what would I do? It looks to me like what I'd need to do is edit panel.php to add a link right below the new discussion link, and then edit vanilla.css to put the link where I want it in a nice box? Is there a better way to do it? All I really want is a convenient option in any page of my forum that can take a person back to my main site, and I don't care if it's in the header or in the sidebar/panel.

    It should really be moved to the FAQ...

    Extensions are the key to vanilla. Everything you want done can be done without hacking the core... mostly...
  • Hi, I need to put another tab in the menu, of the theme organic. When I go to organic\menu.php, I find this code: echo '<div id="nav"><div class="width"><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></div></div></div>'; So, how exactly should be this code to add a tab linking to thank you!
Sign In or Register to comment.