Grouping Umbraco document types in the content page

时间:2015-09-30 23:14:18

标签: umbraco

I have document type called Page.

If i go to the Content part and create a new Page, I expected there to be a node called "Page" and then under it, all Page i created.

This is not the case.

Do i instead have to make another document type called Pages and then allow child nodes of Page?

enter image description here

1 个答案:

答案 0 :(得分:1)

将内容树视为您网站的网站地图 - 通常您会在树顶部有一个主页节点,然后内容页面会直接位于其下方。

因此,您可能有一个名为“Home”的DocumentType和一个名为“Page”的文档 - Home DocumentType将被配置为允许在其下创建页面节点。根据页面类型对页面进行分组是没有多大意义的。

例如,这里是Home Content节点与我们网站上的文章列表之类的内容之间的关系(在Home上的Structure选项卡下找到):

Allowed child node type - Home DocumentType

这是我的内容树结构:

Content Tree Structure

“Journal”和“Code”节点基于文章列表文档类型,而“Digitalsmith - ...”节点基于主文档类型,上面配置了允许子节点类型。

这样,我的内容树反映了我的网站结构;我还利用其他视觉提示来确定每个节点的图标形式是什么类型的文档,因此我很容易确定我期望编辑的内容类型等。

相关问题