Hi, i have worked before with older version of silverstripe there was option default child e.g
static $default_child = “BlogEntry”;
I am going through examples on official site, there is allowed_children but no mention about default child.
any ideas?
thanks,
Bartosz
JonoM
8 April 2019 23:32
2
There is still a default_child
property in SS4, but it doesn’t work
opened 12:10AM - 19 Apr 18 UTC
complexity/low
impact/low
affects/v4
type/bug
If I set a default child on a page type, I expect that page to be selected when … I click the 'Add new page' button in the CMS, but it's not happening for me. Also it would be nice if the default child showed at the top of the list when right clicking a page in the tree and choosing 'Add new page here'.
Hi,
i have checked again, flushed few times and done dev build, now when i check default child is selected automatically, so problem is solved, I was just following lessons from site.