This project is read-only.

How to render content out of the document layout

Topics: Customizing Orchard, Writing modules, Writing themes
Jul 2, 2014 at 9:35 AM

Say I have a content item that I display in the standard way: within the content zone in the document layout.

Is there a way to serve only the raw html ? That is, the html generated by @Display(BuildDisplay(contentItem,"Detail"))

I guess I can override the document.cshtml, but what if I want this render only for a specific url ?

Hope I'm explicit

PS: keep going guys, Orchard is incredibly awesome ...
Jul 3, 2014 at 2:16 PM