Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

changing the top-menu sorting

edited September 2010 in Vanilla 2.0 - 2.8
Hello,

Is it possible to move around the topmenu sorting? Ive made my own application where i have it add a menulink but it ends up at the end of the menu (right before "Sign Out").

Is it possible to have it list it at the very start of the menu?

Thank you

Comments

  • Options
    using the newest version of vanilla btw.
  • Options
    you can see what i mean here:

    http://www.gotgame.dk/

    the "Home" and "Games" apps are listed at the very ending of the menu.
  • Options
    MarkMark Vanilla Staff
    It is done with a configuration. If you take a look inside conf/config-defaults.php, you'll see this line:

    $Configuration['Garden']['Menu']['Sort'] = array('Dashboard', 'Discussions', 'Questions', 'Activity', 'Conversations', 'User');

    Just copy that line into your conf/config.php file, and you can add new items to the array in the order you like, for example:

    $Configuration['Garden']['Menu']['Sort'] = array('Home', 'Games', 'Dashboard', 'Discussions', 'Questions', 'Activity', 'Conversations', 'User');
  • Options
    Thank you very much, That worked perfectly!
Sign In or Register to comment.