When I first started working with Sitecore. I had to work pretty hard to understand some smaller things. I decided at that time. When I write, I will try to keep thing very specific and precise.
This one is about just how to create a template. I used this to memorize my steps when I was learning. It was on a notebook. I am using Helix framework, Sitecore Rocks and Visual Studio 2019.
To create a look and feel like template.
ON Visual Studio
- Create a Default MVC view under Project.
- You can paste your default HTML here. Make sure you have your “main” placeholder.
On Sitecore Rocks
- Put the File under sitecore/layout/layouts/Project/[Site folder]/[view name]
On Sitecore
- Create the template under sitecore/templates/Project/[Types folder]/Page template
- Create standard value and on Presentation detail select the layout we created.
- Â Now you go to Site\Home\[Folder Name] \Insert from Template –> Browse to Template\Project\[Template]ORIf you have insert option set already, just use that.
Category: Information Technology