Different templates on different pages

Topics: General, Русский (Russian)
May 17, 2013 at 1:39 PM
Can I use different templates on different pages?
Developer
May 17, 2013 at 2:05 PM
Yes. If you're referring to different layouts, you could create different layouts using the available alternates. This post talks about how you could do it: http://weblogs.asp.net/bleroy/archive/2010/12/14/switching-the-layout-in-orchard-cms.aspx

Note: you probably don't have to add alternates yourself, as Orchard provides many alternates out of the box these days. You can use the Shape Tracing feature to find out what alternates are available (the URL alternate is enabled by default if I recall correctly).

There's also a module on the gallery called LayoutSelector. That way you can select a layout per content type or item (not exactly sure).
May 17, 2013 at 2:10 PM
Thank you!