Manage page variants

  • Updated

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

  1. Click Content Editor (CMS) in the Admin Console.

    If this option is not available, check administration rights.

  2. Select the site for the page variant.
  3. Click the Edit icon.
  4. Select the page to create a variant from the page tree.
  5. Click More Options (...).
  6. Select Create Variant.

    CreateVariant.png

  7. Enter a Variant Name.
  8. (Optional) Select Copy Content from Default to replicate the content and layout from the current default page.
  9. (Optional) Select a Layout.
  10. Click Save.
  11. 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

  1. Select More Options next to the parent page.
  2. 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.

ParentPageOptions.png

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

  1. Select More Options next to the variant page.
  2. 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.

VariantOptions.png

Only the Edit Variant and Copy Variant options display when marked as the Default page.

DefaultPageOptions.png

Add Rules

  1. Click More Options (...) next to the page.
  2. Click Edit Rules.
  3. Use the drop-down list to select whether to match Any or All of the following rules.
  4. Select a Rule Type. Additional fields display based on the selected type.
  5. Fill in the additional fields as necessary.
  6. Decide whether to add additional rules or rule groups.
  7. 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.