Menu & Placement.info

Topics: Customizing Orchard, General
May 15, 2012 at 2:16 AM

How can I hide the "main" Menu?

I've tried the following without success in the themes Placement.info

  <Place Menu_main="-"/>
  <Place Parts_Menu="-"/>
  <Place Menu="-"/>

I can successfully change the template with the following: ~/Themes/TheThemeMachine/Views/Menu.cshtml

What I actually want to do is create a new menu by implementing INavigationProvider and I assumed if I set the Placement correctly in the Placement.info then I would be able to put my new menu in a specific zone. The first step would be to make sure I have placement of menus working.

Coordinator
May 15, 2012 at 4:21 PM

as I am working on Navigation right now, I think you have to remove the Navigation zone from your layout.