You can create variations of a website page with rules for displaying it. Page variants can be used with personas and contextual content to deliver a tailored user experience to visitors.
All Content Management System (CMS) pages, including the header and footer, can have page variants.
Add a page variant
- Click Content Editor (CMS) in the Admin Console.
If this option is not available, check administration rights.
- Select the site for the page variant.
- Click the Edit icon.
- Select the page to create a variant from the page tree.
- Click More Options (...).
- Select Create Variant.
- Enter a Variant Name.
- (Optional) Select Copy Content from Default to replicate the content and layout from the current default page.
- (Optional) Select a Layout.
- Click Save.
- Assign Variant Rules (see Add rules) or click Skip for Now.
The page displays below its parent in the page tree. When you add the first variant, the original page becomes the default. Default pages have a blue icon, while variants have orange.
Edit a page variant at the parent level
- Select More Options next to the parent page.
- Click one of the following options:
-
Edit Shared Fields – Edit page information. Change the SEO Title or URL Segment, or select whether to Hide from Search Engines or Hide from Site Search. Once finished, select Save.
The above options cannot be controlled at the variant level.
- Add Page – Add a new page. This page stands on its own and does not exist as a parent or variant of any existing pages.
- Create Variant – Add a variant page.
-
Delete Variants – Delete all of the parent's variant pages. When deleted, these pages are removed from the system and cannot be restored with the CMS Restore this Page option.
Select Delete Variant at the variant level to delete only one variant page.
-
Edit Shared Fields – Edit page information. Change the SEO Title or URL Segment, or select whether to Hide from Search Engines or Hide from Site Search. Once finished, select Save.
Publish a parent
Click Publish while in Edit mode. Publishing a variant parent pushes any changes to Shared Fields to the live site but does not publish page content. To publish variant page content, publish each page individually.
Edit a page variant at the variant level
- Select More Options next to the variant page.
- Click one of the following options:
- Edit Variant – Edit page information. Add, remove, or change page tags in the Tags field. If you want to suppress the breadcrumbs display for the variant page, select the Hide Breadcrumbs checkbox. Select Save when finished.
- Edit Rules – Modify the rules determining when the variant displays on the website. The Rules Engine is similar to the rules engine in the Admin Console. See below to add a rule.
- Make Default – Mark the page as the Default page. Because the live site updates the default page immediately, an unpublished page cannot be the Default if another variant page is published. Variant page sets can have only one default variant page. Default pages may contain rules; however, those rules are not evaluated. If you change the default page to a different variant, the original default variant's rules are evaluated again.
- Copy Variant – Create a duplicate page. Enter a Variant Name for the copy.
- Delete – Delete the page. Page variants are removed from the system and cannot be restored when deleted. A variant page cannot be deleted while designated as the default page.
Only the Edit Variant and Copy Variant options display when marked as the Default page.
Add Rules
- Click More Options (...) next to the page.
- Click Edit Rules.
- Use the drop-down list to select whether to match Any or All of the following rules.
- Select a Rule Type. Additional fields display based on the selected type.
- Fill in the additional fields as necessary.
- Decide whether to add additional rules or rule groups.
- Click Save.
Publish a variant page
Click Publish in Edit mode. Publishing a variant page pushes any page content and rules changes to the live site. To publish Shared Fields that apply to all variant pages under a parent, access and publish the variant parent separately.
Please sign in to leave a comment.