From 1ac46b60b0226e35b2a5e734424a383695489aac Mon Sep 17 00:00:00 2001 From: Elliot Sawyer Date: Wed, 23 Jul 2014 10:54:30 +1200 Subject: [PATCH] PLAT-63 update documentation for disallowed page types --- docs/en/set_up.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/en/set_up.md b/docs/en/set_up.md index 2971253..0fc8355 100644 --- a/docs/en/set_up.md +++ b/docs/en/set_up.md @@ -63,8 +63,20 @@ When you create a new subsite, you can now choose to Copy structure from your te ## Disable particular page types from a subsite Sometimes, you will have two or more websites that are very similar, but have some small differences. For example, a head office and its 3 satellite offices may have 4 subsites, but only the head office site will have a "Company News" section on the site. In this instance, you can still use the subsites module, and use the 'Disallow page types' ability to remove certain page types from being created on subsites. -To do this, you create a subsite as you normally would, and when editing the subsite, click on the 'Disallow page types?' link. Then, select the page types you wish to remove from this subsite. Note that this process is exactly the same when editing an existing subsite, you just select the subsite you want to remove page types from instead of creating a new subsite. +1. Create a new subsite as you normally would via the Subsites section in the CMS +2. Edit your new subsite. +3. At the bottom of the section, click on the link named "Disallow page types?" This will reveal a series of checkboxes containing all of the presently defined pagetypes in the CMS. +4. Select the page types that you wish to forbid from this subsite. +5. Click the Save button at the bottom of the section. + +Note that this process is exactly the same when editing an existing subsite, you just select the subsite you want to remove page types from instead of creating a new subsite. + ![Disallow page types screenshot](_images/disallow-page-types.png) -Now, whenever someone wants to create a new page on the subsite (the 'London Branch' subsite in this case), they will not be able to select the page types you've selected, as you can see below. Note that this restriction doesn't affect full administrators, and admins needs to login to the subsite domain directly (e.g. http://london.site.com/admin/, not http://site.com/admin). -![Disallow page types result screenshot](_images/disallow-page-types-result.png) \ No newline at end of file +Now, whenever someone wants to create a new page on the subsite (the 'London Branch' subsite in this case), they will not be able to select the page types you've selected, as you can see below. Note that this restriction doesn't affect users or groups with "full administrative rights", and the blacklist will only apply to members of specified groups and users without this permission. Admins needs to login to the subsite domain directly (e.g. http://london.site.com/admin/, not http://site.com/admin). + +![Disallow page types result screenshot](_images/disallow-page-types-result.png) + +The page type blacklist applies only to future pages, not existing ones. If an administrator blacklists a defined page type on a subsite, existing pages of that type will remain on the subsite. The administrator (or another user) can later change it to a type that is not blacklisted after the page is published; however, once a user does that, that "grandfathered" pagetype will no longer be available to the published page. + +For example, say a subsite user publishes a new Company Page before it was forbidden by an administrator. Later, a user with full administrative rights decides to disallow Company Pages from being created on the subsite. This restriction will only apply to all future pages that are published, but not to existing Company Pages. The full administrator (or any user with sufficient publishing rights) will have to manually convert any published Company Pages on the subsite to that of another allowed type. \ No newline at end of file