Templates define the structure of the Page; without template
we cannot create any Page.
Template defines the Where the Iparsys and Parsys have to be
added and what components should be displayed on the layout container.
Prior AEM 6.2, there were only static templates, from aem
6.3 Adobe introduced Editable Templates/Dynamic Templates.
1) Static Templates
Static Templates are created by
the Developer, where content author just uses the templates and creates the Pages. If you want to enable any components to be shown on the page then on the page needs to go to design mode and add the specific components.
Editable
Templates
From 6.3, Adobe introduced new
feature of Editable templates. The
content author can create templates and can add structure, initial content,
Policies.
Editable Template contains mainly 3 features
1)
Structure
: This defines the structure of the page and components included on the
parsys/iparsys. Also you can add specific components on the Template, and you can restrict the author to edit the added components by lock/unlock feature on the component.
2)
Initial
Content: By default, when the page
is created then what ever you add in the initial content that will be
automatically added to the Page.
3) Layout/Emulator: This defines the view of Mobile, Desktop, Tablet.
Policies:
Policies are of 2 Types.
- Template level Policies
- Component Level Policies
If you want to add any new component, to be shown on the
author mode then the component should be added to the template level Policies.
If you want to add any Styles to the specific component then that should be on the component level Policies.
***All the Policies are stored under /conf/project-name/settings/wcm
For more information on AEM , go through the below syllabus.
Comments
Post a Comment