silverstripe-cms
silverstripe-cms copied to clipboard
After adding can_be_root -- Can not create again.
Hi I have added $can_be_root=false to my Article page. After that when I click to add page there is a message that "Note: Some page types are not allowed for this selection". I choose under another page option but the page type is disabled and I can not create a page wtih this tempalete anymore.
Now the interesting thing is = My page name is Article - I have a class named Article extends Page Class. If I create and copy Article to ArticlePage Class and after dev/build - I can create Article and ArticlePage template from admin panel. If I delete the ArticlePage class and after dev/build then Article is disabled again..
FYI This can be reproduced in lesson 5
Create a virgin Silver Stripe instance Some place clone [email protected]:silverstripe/silverstripe-lessons-v4.git and checkout lesson-04-end Use rsync to copy mysite and themes from cloned lesson 5 into SS4 install change ownership of assets (sigh) and change the groups as per usual load the database from __assets/database.sql dev/build admin/pages add a page that is a sub-page of 'Travel Guides' (a ArticleHolder object) then note that for the possible types the new page can be, the onl.y valid type (ArticlePage) is greyed.
@cansozeri are you using ss3? @worikgh confirms it's an issue in ss4 also.
@tractorcow Hi I am using ss4 :=)