Navigation Menu Not Displaying...

Topics: Administration, Core, Customizing Orchard, General
Dec 8, 2012 at 5:34 AM

Hi,

I created new theme in orchard1.6 using codegen, after i created the theme i just add the navigation part in the Layout.cshtml, like this

@if (Model.Navigation != null) {

    @Zone(Model.Navigation)
}

it the navigation menu could not displaying.. i am new in orchard please tell me what i missing to add more..

thanks 

Ashok

Developer
Dec 8, 2012 at 6:25 AM
Edited Dec 8, 2012 at 6:25 AM

You need to add a Menu widget to a zone in order for a menu to render. In your case, all you would have to do next is add a new Menu widget to the Navigation zone.

Dec 8, 2012 at 6:42 AM

ya thanks i forgot to add that in widget, it fixed now

Thank you sfmskywalker.