Custompages module


About

The Custompages module allows you to create additional site pages using template pages from the TemplatePages module. With the Custompages module, you can select a template, set its URL and permissions, and publish the page.

For detailed instructions on using templates and custom pages, see our article Create and use a template page

Applies exclusively to the Video Portal and depends on the Theming module.

Prerequisite

Before working with the Custompages module, you need to create at least one page in the Templatepages module. In our example below, we have created a template page called 'Example'. After you create a template page, it will be available in the pageTemplate drop-down menu in this module (see below).

Template page

Configure 

1. Go to your Configuration Management console, and click on the Custompages module. You can also navigate directly using a link: https://{your_KMS_URL}/admin/config/tab/custompages.

The module page displays.

2. Configure the following:

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

Click the + Add "CustomPage" button to add your templatepage to the site. 

A new section displays.

Set the following fields to enable your new custom page and determine its availability:

published - When your page is ready to be used, set the published field to 'Yes'. Once published, users with permission can view the page. As long as it is set to 'No', the page won't be available to any user.

pageTemplate - This field provides a drop-down menu of the templates you created in the templatepages module. Select the desired template page. Below you can see that the example template page we created is now in the menu:

pageSlug  - Enter a unique semantic slug for your page. This will create a new URL in the format https://{your_site_url}/{slug}, for example, entering the slug 'help' will create the URL https://videoportal.kaltura.com/help.

Users with permission can access the page using the slug (see example below). You can also add the page to the navigation menu. For more details, see our article Navigation module.

Use only alphanumeric characters without spaces. While underscores ("_") are allowed, avoid using capital letters and spaces.

permission - Select the minimum role needed to access this page. 

Use anonymousRole to allow guests to view the page if your site is set to support anonymous users (set in the Auth module). If not, choose guest override to make the page public.

3. Scroll to the bottom of the page and click Save.

Below is the final configuration:

User experience

Page access via slug:

Page access via header menu:

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

Thank you! Your comment has been submitted.

In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter