Templatepages module


About

You can use the Templatepages module to create multiple pages containing different components suitable for each page. Once a template page has been configured, use the CustomPages module to set it with its own unique URL and permissions.

To learn more, visit Create and use a template page

Applies exclusively to Content Hubs. The Theming module must be enabled.

Configure

1. Go to your Management Console, and select the Templatepages module. You can also navigate directly using a link: https://{your_site_url}/admin/config/tab/templatepages.

The 'Templatepages' page displays.

2. Configure the following:

enabled - Set to 'Yes' to enable the module.

previewPlayerId - This is the player ID that will be used for hero and single player components across all pages. The player will be automatically created upon enabling the module.

heroPlayerAnalytics - By default, player analytics for the hero banner on template pages are disabled because the player operates in a "gif" mode. To activate analytics for the hero carousel player, simply set to 'Yes' to enable this option.

Create a template page

1. Click the +Add TemplatePage button.

2. Configure the following page fields:

pageName - Defines the internal page name displayed in other modules when selecting a template page, for example, in the Custompages module.

pageTitle - Defines the browser tab title.

pageHeader - Defines the page header displayed when using a hero section.

Configure page elements

Template pages support three main page elements:

  • Navigation Bar
  • Hero section
  • Components

 Below you will find the information on each type.

Configure the navigation bar

Each landing page includes a navigation bar. Available navigation types include:

  • Site Navigation
  • Clean NavBar

Site navigation

Displays the standard site navigation configured in the Navigation module, and will be the same on all the site's pages.

Clean navbar

Displays a simplified navigation bar with:

  • Custom logo
  • CTA button
  • Optional language selector

If you choose a clean navbar, additional fields display: 

Configure the following fields:

logoImageUpload - Upload your own or use the site's logo.

logoAltText - Enter alternate text for the logo.

logoLink - Select the click behavior of the logo.

If you'd like to have a call-to-action button, fill in the callToAction section.

If you'd like to present the language selector (assuming it is available on the site), set the showLanguageSelector field to 'Yes'.

Configure hero sections

Hero sections control the top area of a landing page and provide the main entry experience for users.

Available hero section types include:

  • Player Carousel
  • Text & Counter

For detailed configuration instructions, see Configure hero sections for landing pages.

Configure landing page components

Landing page components populate the body of the page with media, text, playlists, banners, registration flows, and interactive content.

For detailed component configuration instructions, see Configure components for landing pages.

Save the template page

After configuring the template page, click Save at the bottom of the page.

Saving the page also clears the site and module cache.

Configure page URLs and permissions

After creating a template page, use the CustomPages module to:

  • Assign a page URL
  • Configure permissions
  • Control page visibility
  • Configure page access behavior

To configure a homepage using a template page, see Set up a homepage in Content Hubs.

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In this article
Related articles