Fork me on GitHub
Current releases are 2.1 (gold) and 2.0.18.11 (security patch for 2.0)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

Set Main Menu Sort Order?

edited April 2012 in Vanilla 2.0 Help

I'm working on a custom menu for the 'default.master.php' view and I can't seem to figure out what makes '$this->Menu->AddLink' sort order by? Like I can't get the right custom order that I want using the classes AddLink? How do I do this?

Best Answer

  • YohnYohn New
    edited April 2012 Answer ✓

    In your config.php add the following in whatever order you like

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

    you can take some of them out as well if you dont use them..

Answers

Sign In or Register to comment.