How can I render container list in view?

Topics: General, Writing themes
Mar 14, 2012 at 6:03 PM

I'm using an alternate view for a content type detail page, and as such am not rendering fields by using @Model.Content.  My content type has the container part and has child items, how can I render the list shape in my view (similar to how the Taxonomy module just calls @Model.List rather than having it called within @Model.Content)?

Thanks

Coordinator
Mar 15, 2012 at 7:32 AM

Did you try something like @Display(Model.ContentItems)? Attaching a debugger and breaking in the template should help you see what to use.

Mar 15, 2012 at 10:26 AM

Hi, I've tried looking through but I can't for the life of me find what I need to reference.

Coordinator
Mar 17, 2012 at 9:02 PM

Well, I'm sorry, but I don't have enough information here to make a guess.