New features
Version 3.x > New features > Each page should be able to accept child documents of certain type(s) only! View modes: 
User avatar
Member
Member
John - 1/31/2008 3:40:23 PM
   
Each page should be able to accept child documents of certain type(s) only!
It would be very useful and clear for CMS editors if they could only add certain type(s) of documents in every page.

thanks,

John


User avatar
Member
Member
kentico_vitaja - 2/7/2008 1:17:01 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi,

This is exact way how Kentico CMS works. You can create roles and assign them permissions to work only with certain document types. I would like to recommend you to read Tutorial and Developer's guide: http://kentico.com/docs/devguide/security_model.htm and rest of this section, too.

Best Regards,
Vita Janecek

User avatar
Member
Member
jsalichos@gmail.com - 2/7/2008 2:03:34 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi Vitaja,

Thanks for your recommendation, I did that already but I can't find anything similar to what I mean.

I know that you can use Roles to allow users to view/edit only certain Type of Pages.
But the scope is application wide. I think it would be better and easier if someone could specify which page (instance NOT type) can have wich type(s) of documents as children.

This way, cmseditors could only create permited child pages under a certain page instance.

As it is right now, a cmsEditor, must select one among all (role permited) types of pages, when he is about to create a page under a PageItem. This tends to be a little bit confusing for the non expirianced ones.

Imagine there is a site that has a menuitem page named "HOTELS" and another one named "NEWS".

There is a Role named "CMSEditor" that can only see pages of type "NEW" and "HOTEL".

If CMSEditor try to add a Page under "HOTELS" then the CMSesk will propose "NEW" and "HOTEL" pages. But if CMSEditor selects "NEW" then this has no meaning becouse "HOTELS" page is designed to shows only "HOTEL" items.

I, as en expirianced CMSEditor and CMSDesigner can easily understand that there is no meaning in putting a "NEW" under a "HOTELS" page but what about my clients?

And this is just a simple setup. What if the permitted page types for CMSEditor are more than a lot?

I can understand that I could create a new Document Type for every main page of my site and then define allowed children types but this would not be as efficient as the rest of your product is.

Regards,


John

User avatar
Member
Member
kentico_vitaja - 2/7/2008 2:52:51 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi,

Recommended and easiest way how to achieve this is (as you already suggested) by creating new Document type with allowed children types.

Best regards,
Vita Janecek

User avatar
Member
Member
jsalichos@gmail.com - 2/7/2008 3:53:56 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hello Vitaja,

thanks for the quick responce.
Is there any possibility that you will take in consideration my feature request?

Thanks,

John

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/12/2008 5:21:36 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi again,

I have posted the answer in your second thread also with a short code example.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
louislkm@gmail.com - 3/14/2008 9:40:40 AM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi Kentico Team,

I'm looking forward to same feature too. As I known, create a new document type for each node is a work around, but I don't think this way is a best practice. Please consider our suggestion.

Thanks & Regards,
Louis Lei

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/20/2008 1:05:21 PM
   
RE:Each page should be able to accept child documents of certain type(s) only!
Hi Louis,
Could you please try to take a look to this forum thread: http://www.kentico.com/DevNet/Forums.aspx?ForumID=22&Thread=00003963

The same topic is discussed with some other examples.

Best Regards,
Juraj Ondrus