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.

Adding links to Navbar

edited November 2007 in Vanilla 1.0 Help
I am trying to add a link to the navbar. I added [CODE] $Menu->AddTab($Context->GetDefinition('Home Page'), 'Home Page', GetUrl($Configuration, ''), '', $Configuration['TAB_POSITION_HOME_PAGE']); [/CODE] To the init.vanilla file and defined "TAB_POSITION_HOME_PAGE" in the settings file. This added the link however my problem is my install is in a subfolder ie. so the link is not going to it is going to How can I make this work correctly. Thank you


  • Options
    Mate, why not simply use the Page Manager add-on?

    Posted: Monday, 26 November 2007 at 8:15PM

  • Options
    1) You cannot use BB code on this forum, only html. So for pasting code, please use <code> tags.
    2) If you want an easy update process for your Vanilla installation, don't change the core files. You'd better create a little extension for that.
    It's quite easy, just paste your line in it (try to search the docs for creating an extension).
    3) Why not hard coding the url: http: // instead of GetUrl($Configuration, '') ?
This discussion has been closed.