This project is read-only.

Anybody have a good article on how to customize the menu based on role?

Topics: Administration, Customizing Orchard, Writing themes
Nov 28, 2011 at 5:42 PM

I have a custom menu with breadcrumbs, however I need 1 additional option based on the user logged in. What I am trying to accomplish is for the public site users to have a menu of 5 items, and the logged in users will get a menu of 6 items. The additional menu will contain additional page links that public users should not see or have access to.

Thanks in advance!

Jan 2, 2012 at 4:45 PM

Hi. You'll need to create 2 menus. One will be for Anonymous (public) and one will be for Authenticated (logged in) users.

  1. Add your new public menu to the navigation zone of the Anonymous layer.
  2. Add your new logged in menu to the navigation zone of the Authenticated layer.