Defining Container Locations

The location of containers on your page are defined by the page display template. Refer to the Managing Templates chapter.

The {container} template plug-in is used to create containers. There are two arguments that can be passed to this plug-in: name (required) and global (optional).

For example, the template code used to add the global container for navigation was as follows.

Example 13.1. Adding a global container to a template

{container name='primary navigation' global=true}

If you want to create a local container, you can omit the global parameter (or set its value to false.

Example 13.2. Adding a local container to a template

{container name='page top'}