This article explains how to create a page within FORGE Page Builder.
Creating a new page
1. Select the Globe Icon in the side menu to display the site structure:
2. To create a new page, follow these steps:
- Select the folder to which you want to add a new page, then select the three dots icon near the folder:
- Select Add page from the dropdown:
3. Specify the page name. When doing this, you must:
-
- Use dashes to split words, e.g., 'deltatre-folder'
- Use syntax {param} to parametrizing the page name, e.g., {slug}
- Not use spaces
- Not use symbols or underscores
Note: Multiple parameterized page names into the same folder can lead to unexpected behaviors.
4. Select the Page Type — which determines what templates, layouts, and modules you'll have available when designing your new page:
5. Select the Create button.
- Optionally, add variables to the created page (see Create a variable for instructions about how to manage variables).
- Optionally, define an alias for the basic URL and for each language: (see Edit and translate page URLs for more information).
Depending on the type of page being static or dynamic, aliases must comply with the following rules:
Definition: Static page URLs do not contain parameters (e.g., /index)
Rules:
- The alias of a static page cannot contain parameters.
- Within a culture (e.g., fr-FR), the alias of a static page must be unique across the Page Builder instance. In case you assign the same alias to a second static page, an error message prevents you from saving the alias configuration.
Definition: Dynamic page URLs contain parameters (e.g., /news/{page})
Rules:
- Aliases of dynamic pages must contain the same parameters as the basic URL of the page, regardless of the order.
-
When adding an alias to a dynamic page, you must explicitly declare the comma-separated list of values that are allowed for each parameter.
Allowed values are valid if they contain latin lower-case letters, digits, underscores, and dashes.
In the example below, the parameter {page} allows the following values: daily, monthly, or summary.
- Within a culture (e.g. fr-FR), the alias of a dynamic page must be unique across the Page Builder instance.
Note: Beware that no validation prevents you from assigning the same alias to many dynamic pages. If many pages have the same alias for a specific culture, that alias URL will unpredictably correspond to one page of them.
E.g., when the browser requests the page /en-US/news/today (where {page}=today), if pages /news-centre/stories/pages/{page} and /news-centre/stories/news/{page} have the same alias /news/{page} for en-US, it's unpredictable whether it gets either the page /news-centre/stories/pages/today or /news-centre/stories/news/today.
Searching pages
Select the magnified glass icon on the top-left:
The search bar displays:
Enter words to search pages through titles and aliases:
-
Title: The search result is the list of pages whose title matches the search criteria:
-
Alias: The search result is the list of pages with aliases matching the search criteria:
Select the page in the search result list to display its detail: