SaaS CMS has officially launched! Learn more now.

Limiting PageTypes Per Site


We have an episerver install that has multiple sites under one episerver install.  Is there a way to limit pages types on a per site bases.  Thanks in advance.

Jul 24, 2014 2:32

Page Types and their settings are per project.

Do you have different editors for each site? If so you can say that editors for SITE A are the only ones to have access to create pages of type A while editors for SITE B are the only ones for pages of type B.

Another solution would be to have all your Page Type specifications as abstract classes, create implementations per site and have limitations using the Include attribute. Can be a bit messy to manage though.

A third spontaneous solution is to build the structure per site using T4 Templates.

Jul 24, 2014 10:58

You can use the [Access] attribute to lock the availability of page types down to certain groups/users. This affects the access level which can be seen in admin mode > content type > [your page type] > settings > access level.

Also if you didn't want to manually add people into groups you could create a virtual role and control membership of the group in code.

Edited, Jul 24, 2014 14:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.