Showing widget on edit view as well as create view.

Topics: Administration, Customizing Orchard
May 16, 2013 at 10:14 PM
Edited May 16, 2013 at 10:41 PM
I have a calendar widget that shows calendar items, much like google calendar does. We have a content type that we want that widget to be a part of. However, we want to show the calendar on the edit view (when creating and editing the item) of this content type, and not just on the view of the published content item. In other words, we are trying to display the calendar in the editor template view of a content item.

I've contemplated returning multiple shapes via the driver's Editor method with a return Combined method. I've also thought of making a wrapper that inserts the calendar into the editor template.

Any ideas on where to begin? Let me know if this doesn't make sense.
May 17, 2013 at 11:29 PM
Begin with creating an editor for the part (http://docs.orchardproject.net/Documentation/Writing-a-content-part).
Once you have an edit view, you can render your calendar there.