orchardcms-1.8

Orchard - removing administrative items from main menu


I am trying to work my way around orchard. I am writinga theme but I need to remove the administative items (sign in, current user) from the main menu.

I already implement a navigation provider, but I now realize that the logged in user is part of the menu. Any easy way to remove it? I find it astonishing that items jsut get added to the menu without any way to turn that off.

What I want is a main menu ONLY with the items defined in the menu (which are blog, some content) and no username etc.


Solution

  • Usually, you can just create a new menu in the Navigation section of the Admin dashboard. After creating the menu you can go to Widgets -> add a Menu Widget, select your newly made menu and add it to a Zone.

    Some themes already take the User actions out of the main menu, you could check out the corresponding template views which are used.