Managing Placeholders of a Page Template
The Content tab of the detail view allows for managing placeholders of a page template.
Adding Placeholders
-
Select the management context from the context selection box, then select Content | Page Templates.
This opens the Page Templates tree view.
-
Click the name or ID of the page template you intend to edit.
This opens the Content tab of the detail view.
-
In the Placeholders section, click the icon.
This opens the New Placeholder dialog.Tip: You can also create a placeholder using the Create Placeholder link in the intended target section. Doing so will already set the type and the placeholder assignment.
-
Edit the details as necessary.
Specify a name, edit the ID as required, and select a slot type.Tip: In a page template derived from another user-defined page template, you can assign the current placeholder to a placeholder of the same type passed from the parent template. To do so, select the intended "parent" placeholder in the Placeholder Assignment field.
-
Click Apply.
This creates the placeholder and displays the list of components allowed to be assigned. By default, all allowed components are selected. For details about restricting the allowed components, see Defining Placeholder Constraints.
Editing Placeholder Details
-
Navigate to the intended placeholder.
Select the management context from the context selection box, then select Content | Page Templates. Click the name or ID of the page template you want to edit to open the detail view, then scroll to the Placeholders section.
-
Click the icon next to the placeholder to be edited.
This opens the placeholder details.
-
Edit the details as necessary, and click Apply.
Clicking Back returns you to the page template detail view.
Defining Placeholder Constraints
-
Navigate to the intended placeholder.
Select the management context from the context selection box, then select Content | Page Templates. Click the name or ID of the page template you want to edit to open the detail view, then scroll to the Placeholders section.
-
Click the icon next to the placeholder to be edited.
This opens the placeholder details.
-
Open the Constraints tab.
This lists all available elements.
-
Use the checkboxes to define the components to be allowed for the current placeholder.
A selected checkbox makes the components based on the corresponding component template available for being assigned to the current placeholder. An unmarked checkbox, however, restricts components based on the corresponding component template from being available for assignments to the current placeholder.
-
Click Apply.
Clicking Back returns you to the page template detail view.
Deleting Placeholders
-
Navigate to the intended placeholder.
Select the management context from the context selection box, then select Content | Page Templates. Click the name or ID of the page template you want to edit to open the detail view, then scroll to the Placeholders section.
-
Click the icon next to the placeholder to be deleted.
This displays a confirmation dialog.
-
Click OK to confirm the operation.
The selected placeholder is removed from the current page template.
Viewing Placeholders
-
Navigate to the intended placeholder.
Select the management context from the context selection box, then select Content | Page Templates. Click the name or ID of the page template you want to edit to open the detail view, then scroll to the Placeholders section.
-
Click the icon next to the placeholder to be viewed.
This opens the placeholder details in read-only mode.
Sorting Outgoing Placeholders
-
Navigate to the Outgoing Placeholders section.
Select the management context from the context selection box, then select Content | Page Templates. Click the name or ID of the page template you want to edit to open the detail view, then scroll to the Outgoing Placeholders section.
-
Use the arrow buttons to rearrange the placeholders.
Your changes take effect immediately.