Override shape of other module in my module

Nov 15, 2010 at 12:06 PM


I want to override(change) Parts/Comments.Count.cshtml shape which is part of Comments module in my module.

Is this posssible and how is the best way to achieve this?

Nov 15, 2010 at 11:52 PM

Mmmh... I guess there are several ways you could do that, one of them being to grab the shape table through IShapeTableManager and then get the shape binding from it and change it.

Nov 15, 2010 at 11:54 PM

There is an event for that. Like OnDisplayShape. We should ask Louis for this specific example. He also demonstrated it during the screencast two weeks ago.

Nov 16, 2010 at 12:00 AM

Ah yes, watch the screencast: http://orchardproject.net/LiveMeetings/Latest/Orchard.0.8.Screencast.mp4 It's near the end.