Sulu CMS: is it possible to restrict the creation of nodes of a certain type only under nodes of another particular type?

天涯浪子 提交于 2020-01-23 18:08:27

问题


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?


回答1:


Currently that's not possible. There is quite an old issue on github describing that, but it had never a high enough priority for us to implement it.



来源:https://stackoverflow.com/questions/44541996/sulu-cms-is-it-possible-to-restrict-the-creation-of-nodes-of-a-certain-type-onl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!