This project is read-only.

Projector View Override Not Working

Topics: Customizing Orchard
Apr 12, 2012 at 8:53 PM

Now I'm running into another strange issue with the Projection module. I've used Shape Tracing to find the module that has the projector. I've used the create button to create the View. I added a simple div under the @Display(Model.List) when using the Parts.ProjectionPart-widget-name view and under the @Display(Model.Content) when using the Widget-Name.widget-name view. Neither work. Am I missing something with this?

Jun 11, 2012 at 2:26 PM

I'm having the same problem..

When using the shape tracer, it even tells me that my new view is being used, but it doesn't show anything.

Jun 11, 2012 at 2:52 PM

I gave my projection-widget a suffix of "calendar-small". This resulted in a view with the name: "Parts.ProjectionPart-calendar-small.cshtml"

This did not work.The shape tracer told me I was using that view, but nothing that I added to the view, showed up..

I changed the suffix to "agenda" and changed the view name to "Parts.ProjectionPart-agenda.cshtml" and then it worked.