Hi,
I hope that I'm right here in this category of this forum, my "search words" didnt find anything about my questsions:
Can I remove the "ArticlePage" from the backend "create site drop down menu", if I only create a child from "Page"???
If I create a child from "ArticleHolder" I have only "ArticlePage" as the PageType, because I coding this:
public static $allowed_children = array('ArticlePage');
That you can understand what I mean i took this example from the tutorial:
http://doc.silverstripe.org/sapphire/en/tutorials/2-extending-a-basic-site
I found no static propertie like:
static $allowed_parents = array();
So I think that I need to setup all allowed PageTypes (children) in Page.php, BUT if I allow "Page" as a child from "Page", I have all sup Types again (heredity).
Here a screenshoot to understand:
http://imageshack.us/f/850/navigation.png/
I tryed:
static $can_be_root = false;
this works great BUT only in the root, not as a child from "Page" >.<
Thx for your help.
Greetings
Benjamin