We are in a situation where we have pages of the news
template type, that can carry any number of nodes of the news_item
template type. In effect they should only ever carry nodes of that type and that type alone, and nodes of the news_item
type should only be created under nodes of the news
type. Thus, the "available templates" for a user when he/she tries to create new content under a news
node should only be a news_item
.
Is it possible to enforce this somewhere? For instance as some kind of attribute in the news_item
and news
xml files?