Limiting the pages users can create

This topic explains how you can make creating new pages more intuitive for editors on your site. You can also use the same functionality to control which pages are created in certain sections of the site and under certain page types in general. There are two complementary ways how you can achieve this:

  • Allowed page types - define which page types users can place under the current page type. This is a general setting that doesn’t take into account the path that users place the page types under.
  • Page type scopes - define which page types users can use when creating new pages under specified paths. You can use scopes to distinguish certain sections of the website and restrict the pages that users can create in them.

Allowing users to place certain pages under a page type

You can control which page types users can create under a specific page type. Do that by adding allowed types to a page type. For example, you may want to allow users to only create File (CMS.File) page types under Folder (CMS.Folder) page types. This rule then applies everywhere on the site.

Defining allowed child page types

  1. Open the Page types application.
  2. Edit () the page type under which you want to specify allowed page types.
  3. Switch to the Allowed types tab.
  4. Under Allowed child page types, click Add page types. A Select page types dialog opens.
  5. Turn the check-box on next to the page types that you want to add to the allowed child page types.
  6. Confirm by clicking OK.

You have added allowed child page types.

When you add an allowed child page type, the system also automatically adds an allowed parent page type to the child page that you are allowing.

Allowed parent and child page types

Specifying which pages users can create under certain paths

You can use page type scopes to narrow the number of page types that users can use when they create new pages under specified paths. This makes creating new pages more intuitive, especially if you have many page types in the system. For example, on the sample Corporate site, you may want users to only create E-Book (CMS.Ebook) page types under the /Products/Books/ path.

In this section, you can learn about:

Creating a new page under a page type scope

Creating a new page under a page type scope

Creating page type scopes

  1. Open the Page types application.

  2. Switch to Scopes.

  3. In the Site drop-down list, select the site under which you want to create a new page type scope.

  4. Click on New scope.

  5. Specify the path the scope applies to in the This scope covers field. You can type the path in or use the Select button.

  6. Specify the rest of the parameters.

    Available options:

    General – specify the scope coverage:

    1. This scope covers – use the Select button to specify the path to which you want the page type scope to apply. You can also type the path in the field directly.
    2. Apply to the whole section – enable if you want the scope to apply to all child pages under the specified path as well.

    Page types – specify the page types the scope allows users to create:

    1. Allow all page types – turn the check-box on if you want the scope to allow users to create all page types under the specified path.
    2. Allow only the following page types – enable the check-box and Add page types to specify which page types users can create under the specified path.

    Advanced – specify additional options. These options are also limited to the page types you select in the Page types section.

    1. Allow creating a linked page – turn the check-box on to allow users to create a linked page when creating a new page.
    2. Allow creating A/B test variant – turn the check-box on to allow users to create an  A/B testing variant when creating a new page.
    3. Condition – fill in a condition that further specifies when the scope is applied. For example, you can have two scopes cover the same path, and the more restrictive of the scopes then apply to users who do not have the Global administrator privilege level. Scopes with a condition are evaluated before scopes without a condition.
  7. Save the page type scope.

You have now created a new page type scope.

Page type scope allowing users to create a single page type under a specified path

Managing page type scopes

In this section, you can learn about:

Limiting multiple page types to a specific scope

Use this method if you want to assign multiple page types to a single page type scope. To assign a page type to multiple different page types scopes, use this method.

  1. Open the Page types application.
  2. Switch to Scopes.
  3. In the Site drop-down list, select the site under which you want to add page types to an existing page type scope.
  4. Edit () the page type scope.
  5. Enable the Allow only the following page types check-box.
  6. Click on Add page types. The Select page types dialog opens.
  7. Turn the check-box on next to the page types that you want to add.
  8. Confirm by clicking OK.
  9. Save the page type scope.

You have assigned page types to a page type scope.

Limiting a page type to multiple scopes

Use this method if you want to assign a page type to multiple different page types scopes. To assign multiple page types to a single page type scope, use this method.

  1. Open the Page types application.
  2. Edit () the page type to which you want to assign page type scopes.
  3. Switch to the Scopes tab.
  4. Click on Add to scopes. The Select scopes dialog opens.
  5. Turn the check-box on next to the page type scopes that you want to assign to the page type.
  6. Confirm by clicking OK.

You have assigned page type scopes to a page type.

Removing multiple page types from a scope

Use this method if you want to remove multiple page types from a single page type scope. To remove multiple page type scopes from a page type, use this method.

  1. Open the Page types application.

  2. Switch to Scopes.

  3. In the Site drop-down list, select the site under which you want to remove page types from an existing page type scope.

  4. Edit () the page type scope.

  5. Turn the check-box on next to the page types that you want to remove.

    If you want to remove all page types from the page type scope at once, click on () and choose Remove all.

  6. Click on Remove selected.

  7. Confirm by clicking OK.

  8. Save the page type scope.

You have removed page types from a page type scope.

Removing a page type from multiple scopes

Use this method if you want to remove a page type from multiple page type scopes at once. To remove multiple page types from a single page type scope, use this method.

  1. Open the Page types application.
  2. Edit () the page type from which you want to remove page type scopes.
  3. Switch to the Scopes tab.
  4. Turn the check-box on next to the page type scopes that you want to remove from the page type.
  5. Click on Remove selected.
  6. Confirm by clicking OK.

You have removed page type scopes from a page type.

Viewing which pages are users allowed to create under a specific page type

To list the pages users are allowed to create under a page type:

  1. Open the Page types application.
  2. Edit () the page type under which you want to view which pages are users allowed to create.
  3. Switch to the Allowed types tab.

You have listed the page types users can create under a specific page type.

Allowed parent and child page types

Viewing which pages are users allowed to create under a specific path

To list the pages that users are allowed to create under a page type scope:

  1. Open the Pages types application.
  2. Switch to Scopes.
  3. In the Site drop-down list, select the site under which you want to view which pages are users allowed to create under a specific path.
  4. Edit () the page type scope(s) covering the path.

You have viewed the pages that users are allowed to create under a specific path.

Note that some page type scopes can cover not only their specified paths, but all their child pages as well. This is indicated by an enabled Apply to the whole section option.

Document type scope covering a whole section

Viewing under which paths are users allowed to create a page

You can view under which paths users are allowed to create a certain page type. To do that, list the page type scopes the page type is assigned to:

  1. Open the Page types application.
  2. Edit () the page type for which you want to list the page type scopes.
  3. Switch to the Scopes tab.
  4. In the Site drop-down list, select the site under which you want to list the page type scopes.

You have listed the page type scopes to which a page type is assigned.
Document type included in scopes