This project is read-only.

Use differing Content.cshtml pages for content.

Topics: Customizing Orchard
May 29, 2014 at 9:16 AM
I have a standard Content.cshtml which is the default content type for my pages, I also have a custom Content-url-homepage.cshtml which is just for the homepage. This setup has worked well for me so far.

I now want to introduce a Two Column Layout (TwoColumnContent.cshtml) which is used as a Content.cshtml page for some of my pages, which I can include a Zone in.

The idea is to include Html Menu Widget in the Zone which I can use rules to create sub menus for the different areas.

The main question would be: How can I create a Content.cshtml page which will apply to multiple urls or Content pieces?

Many thanks,