Override shape of other module in my module

Nov 15, 2010 at 1:06 PM

Hello.

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?

Coordinator
Nov 16, 2010 at 12:52 AM

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.

Coordinator
Nov 16, 2010 at 12:54 AM

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.

Coordinator
Nov 16, 2010 at 1:00 AM

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