View more context


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

I have tried both of these

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

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

suppose I can just define everything but that? no?

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