This project is read-only.

Issue with rendering menu items

Topics: General
Dec 12, 2012 at 11:16 PM

Orchard version 1.4 [can't update]

In my theme -> Menu.cshtml I am I am detecting a menu by it's model id and rendering it accordingly in a Ceontent.Summary (listof articles) page and same menu in the Content-Detail page when you click on the specific articles. 

My Menu widget is set to Sibling expanded and it contains multiple levels.

Problem is, when I am on the summary page, sibling child elements are available BUT when I am on the detail page, the same menu items do not have any child elements (same id). What am I doing wrong?

I am new to orchard working on a legacy system and learning on the fly. A pointer or two to the right direction would be great.

Thanks in advance

Dec 14, 2012 at 1:52 AM

It will be hard to say without knowing more about what you're doing, seeing some code, etc.