This project is read-only.

Placement of a shaperesult

Topics: Customizing Orchard, Writing modules
May 20, 2013 at 3:38 PM
Hi all,
I have a controller with an index method. This method returns a ShapeResult which gets rendered out to the Content zone.
How do I change the zone that this gets rendered too?

Any ideas?
May 20, 2013 at 5:41 PM
Don't return a ShapeResult, return a standard View with the shape attached as the model, and call
May 21, 2013 at 2:03 PM
Works like a charm, thanks.

Is there any way of overriding this inside a theme?
May 30, 2013 at 5:23 PM
If you return a view, you can override that view in your theme.