Adding Components/Component Templates to Page Templates
The Content tab of the detail view allows for explicitly assigning components or component templates to a page template.
Adding Existing Components/Component Templates
-
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 Content section, click Assign.
This displays the Assign Component/Component Template dialog. Below the visibility section, this dialog lists the available components and component templates.
- Set the visibility period and priority as required.
- Select the components or component templates to be assigned to the page template.
-
Click Assign.
The components or component templates are added to the current page template.
Adding New Components/Component Templates
-
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 Content section, click New.
This displays the New Component/Component Template dialog.
-
Edit the component/component template details as necessary.
Specify a name, edit the ID as required, select a component template, and set the visibility period and priority. For a new component template, set the Active flag as required. For a new component, define the publishing period.Note: Make sure to select whether the new asset is a component template or a component.
-
Click Apply.
This creates the new component or component template and opens it in the corresponding detail view, ready for further editing (see Editing Components or Editing Page Templates). To return to the page template detail view, click Back to List.
Setting Component/Component Template Priority
-
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 component/component template list in the Content section, use the arrow buttons in the Priority column to change the component/component template priority.
Clicking an arrow button moves the corresponding component/component template up or down, immediately changing the visibility priority.
Setting Components/Component Templates Visibility
Visibility refers to the availability of the component/component template in a certain context, i.e., within a page template. In fact, the visibility defines the validity period of a component/component template-page template association. In case multiple components/component templates are assigned to one page template with overlapping visibility periods, the priority determines the order in which the components or component templates scheduled to be online should be displayed. For components/component templates to be visible in the storefront, the publishing period and the visibility period and priority must match.
To set the visibility of assigned components/component templates:
-
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 Content section, click the visibility date of the intended component/component template.
This opens the Priority and Visibility dialog.
- Edit the component/component template visibility period and priority as necessary.
-
Click OK to save the changes.
Otherwise, click Cancel to discard the changes.
Unassigning Components/Component Templates From Page Templates
-
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 Content section, select the assignment you intend to remove.
Select the checkbox of the intended component/component template assignment.
-
Click Unassign, and confirm the operation.
The selected component/component template is unassigned from the current page template.