about layout

Topics: Customizing Orchard
Oct 25, 2013 at 5:41 PM
In a module, and a large number of pages that need to switch between different layouts, how to specify different layouts for different pages?Thanks.
Coordinator
Oct 26, 2013 at 7:17 AM
Use url alternates, or one of the modules that let you pick a layout from the admin.
Dec 9, 2013 at 1:10 AM
Edited Dec 9, 2013 at 1:10 AM
Having installed URL Alternates module already, what can I expect to see on the Admin page regarding it? Still waiting for that aha moment when I get how Layout-Homepage.cshtml in my own Theme based on Terra works. Also, someone stated that Switching the layout in Orchard CMS is obsolete and to use URL alternates.... is there another guide?
Dec 9, 2013 at 4:57 PM
You won't see anything in the admin. Just create an alternate for the url or whatever you need to customize.
For example:
Layout.cshtml
Layout-url-search.cshtml

etc.

Maybe ShapeTracing will help you a bit.
Coordinator
Dec 10, 2013 at 2:31 AM
Or layout-url-homepage.cshtml.