This project is read-only.

Enumerate projection items in a template?

Topics: Customizing Orchard
Mar 19, 2012 at 12:32 PM

I have a widget in a zone (AsideSecond), which displays a projection of Testimonials.  I want to completely re-template the entire widget, so only the wrapping zone div tag remains, and the rest is my custom content.  I've created a new template for my widget, but can't figure out how to access my projection collection model data to enumerate over and display as I need.

I read Bertrand's post on List rendering, but Model.ContentItems.ContentItems doesn't exist in this case.  Any clue how I can access the projection enumerable of Testimonials?