View more context


LiamC

For some reason my allowed children isnt working and the CMS is allowing the client to add Event pages under pages that they shouldnt

LiamC

I have tried both of these

  1. private static $allowed_children = array(
  2. EventPage::class,
  3. "EventPage",
  4. );

kinglozzer

@LiamC That won’t prevent people adding EventPage’s elsewhere

LiamC

suppose I can just define everything but that? no?

dorsetdigital

That just specifies which pages can be children of the current one