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.

Add a menu item, How To Reverse order of Menu Items*

This discussion was created from comments split from: Add a menu item.

There was an error rendering this rich post.


  • Options

    Thank you very much for providing this thread! It was exactly what I was looking for.

    HOWEVER - I need the order to be reversed. In other words, I need the Home link to be first, not last.

    Any thoughts? THANKS!

    Link -

  • Options
    peregrineperegrine MVP
    edited January 2013

    you have the dark mist theme it appears.

    • Add this to your config.php

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

    with home in the first position, or put the sort order you want.

    • You may also need to do this below depending on how you added the link for home.

    In the darkmist theme views folder - default.master.php

        if ($this->Menu) {
                            $this->Menu->AddLink('Dashboard', T('Dashboard'), '/dashboard/settings', array('Garden.Settings.Manage'));
    // add the line below   ( /home - should point to the link you want for home)
    $this->Menu->AddLink('Home', T('Home'), '/home');

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.