How do I set or change the layout of a sitecore template or item?
-
25-09-2019 - |
Question
I'm trying to change the layout of the home item, but the whole layout section seems like it doesn't do anything. How do I change the layout of something?
Solution
Layouts are stored in the /layouts/
directory, XSL transformations in the /xsl/
directory.
You can create sublayouts (.ascx) and layouts (.aspx), which can be added to an item by selecting the item in the content tree -> click on the 'Presentation' tab -> click the 'Details' button.
You can get further details on this page and in the Sitecore Developer Network.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow