New layout in Orchard CMS

Topics: Customizing Orchard
Oct 3, 2013 at 3:55 PM
I am following tutorial below for creating additional layout in orchard theme:

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

The thing I don't get is how do you set up your content page to use the new layout, "Layout-HomePage" for instance? I thought it would be enough to name your page HomePage?
Coordinator
Oct 4, 2013 at 3:22 AM
This article is obsolete. Please use url alternates instead. But to answer your question, and in both cases, you don't have to do anything, not even name your page Homepage, just make it the home page.
Oct 7, 2013 at 2:55 PM
Thanks very much
Dec 9, 2013 at 3:20 AM
Did you resolve using the Layout-HomePage? If so, could you provide some additional instructions?
Coordinator
Dec 10, 2013 at 3:47 AM
It's layout-url-homepage.cshtml, not layout-homepage.cshtml.
Dec 10, 2013 at 3:59 AM
Thank you! I think the confusion comes from the Terra theme which Layout-Homepage.cshtml is copied from.