Mudanças entre as edições de "Creating an Empty Page Template Type"

De Basef
Ir para: navegação, pesquisa
 
Linha 6: Linha 6:
  
  
1) Structure - defines components that are a part of the template. These will not be editable by content authors
+
1) '''Structure''' - defines components that are a part of the template. These will not be editable by content authors
  
2) Initial Content - defines components that the template will start with, these can be edited and/or deleted by content authors
+
2) '''Initial Content''' - defines components that the template will start with, these can be edited and/or deleted by content authors
  
3) Policies - defines configurations on how components will behave and what options authors will have available.
+
3) '''Policies''' - defines configurations on how components will behave and what options authors will have available.
  
  
Linha 18: Linha 18:
  
  
1) Download the following zip file: [[Arquivo:conf_wknd_settings_wcm.zip]]
+
1) '''Download the following zip file''': [[Arquivo:conf_wknd_settings_wcm.zip]]
  
2) On your local file system unzip the conf-wknd-settings-wcm.zip file. In ui.apps replace the /conf/wknd/settings/wcm folder with the contents of the zip file.
+
2) '''On your local file system unzip the conf-wknd-settings-wcm.zip file'''. In ui.apps replace the /conf/wknd/settings/wcm folder with the contents of the zip file.
  
 
[[Category: Adobe AEM]]
 
[[Category: Adobe AEM]]

Edição atual tal como às 22h18min de 5 de abril de 2018

Template Types are effectively a template for a template. They are necessary in order to take advantage of AEM's Editable Template feature. Templates and Template Types are stored beneath /conf. The Lazybones project created the base directories for us.

Editable Templates by design are edited in AEM directly. The exception is Template Types, these are intended to be created by developers and so we will create the empty template type on the file system.

There are 3 main areas of Editable Templates:


1) Structure - defines components that are a part of the template. These will not be editable by content authors

2) Initial Content - defines components that the template will start with, these can be edited and/or deleted by content authors

3) Policies - defines configurations on how components will behave and what options authors will have available.


Since Template Types can be thought of as a template of a template you will find the same structure for the template type. There are examples of template type structures that can be found beneath: /libs/settings/wcm/template-types/

There are quite a few nodes to configure. Instead we have provided a zip file with the updates needed for the empty template type.


1) Download the following zip file: Arquivo:Conf wknd settings wcm.zip

2) On your local file system unzip the conf-wknd-settings-wcm.zip file. In ui.apps replace the /conf/wknd/settings/wcm folder with the contents of the zip file.