Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Lock Children to one Parent


Reply


2 Posts   708 Views

Avatar
Double-A-Ron

Community Member, 604 Posts

14 October 2009 at 3:43pm

Hi all,

I have a holder called "HotDealHolder", which has children called "HotDeal".

I want to ensure that "HotDeal" cannot be added to any other page type, or moved under any other page type. They must only be found under "HotDealHolder" in the CMS.

I'm sure I've seen this one before, but can't find anything.

Cheers
Aaron

Avatar
socks

Community Member, 190 Posts

14 October 2009 at 8:59pm

See if this helps - http://doc.silverstripe.org/doku.php?id=recipes:customising-the-hierarchy

Post back if you get it to work.