Managing Placeholders of a Page Template

The Content tab of the detail view allows for managing placeholders of a page template.

Adding Placeholders

To add a placeholder to a page template:
  1. Select the management context from the context selection box, then select Content | Page Templates.
    This opens the Page Templates tree view.
  2. Click the name or ID of the page template you intend to edit.
    This opens the Content tab of the detail view.
  3. 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.
  4. 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.
  5. 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

To modify the details of a placeholder:
  1. 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.
  2. Click the icon next to the placeholder to be edited.
    This opens the placeholder details.
  3. Edit the details as necessary, and click Apply.
    Clicking Back returns you to the page template detail view.

Defining Placeholder Constraints

To restrict the allowed components for a placeholder:
  1. 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.
  2. Click the icon next to the placeholder to be edited.
    This opens the placeholder details.
  3. Open the Constraints tab.
    This lists all available elements.
  4. 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.
  5. Click Apply.
    Clicking Back returns you to the page template detail view.

Deleting Placeholders

To delete a placeholder from a page template:
  1. 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.
  2. Click the icon next to the placeholder to be deleted.
    This displays a confirmation dialog.
  3. Click OK to confirm the operation.
    The selected placeholder is removed from the current page template.
Note: Deleting a placeholder also deletes all content that is specifically assigned to the placeholder within page variants and page templates that are based on the current template.

Viewing Placeholders

If you are using shared page templates, you cannot edit outgoing placeholders. To view the placeholders of a shared template:
  1. 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.
  2. Click the icon next to the placeholder to be viewed.
    This opens the placeholder details in read-only mode.

Sorting Outgoing Placeholders

You can define the sort order of placeholders exposed by a page template ("outgoing placeholders"). This sorting defines in which order the placeholders are displayed in page variants derived from this template. To sort outgoing placeholders:
  1. 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.
  2. Use the arrow buttons to rearrange the placeholders.
    Your changes take effect immediately.