Custom Layout for Popup dialog views

Dec 30, 2010 at 8:17 AM

Is there an easy way to override the orchard global layout in a view with a custom html document layout in order to display that view in a dialog without the other bits i.e. header, menu, footers etc. I see that 'Orchard.Mvc.ViewEngines.Razor.WebViewPage<dynamic>.Layout' is read only.

Coordinator
Dec 30, 2010 at 8:37 AM

http://weblogs.asp.net/bleroy/archive/2010/12/14/switching-the-layout-in-orchard-cms.aspx

Dec 30, 2010 at 12:45 PM

Bertrand, I saw the article but did not initially relate it to my problem. Implemented filtering on my theme with Layout views as described and it works like a charm. Thanks.