为什么我无法在 Umbraco 4 中创建特定文档类型的节点?

发布于 2024-07-16 09:39:37 字数 169 浏览 7 评论 0原文

如何让现有的文档类型显示在 Umbraco 4 的创建对话框中。

我安装了 BlogForUmbraco4_1.0.0 软件包,我意识到它尝试将其安装为主要软件包站点,但它还安装所有必需的文档类型,包括博客和博客帖子。 为什么在我的网站中创建新项目时它们不是一个选项。

How do I get an existing Document Type to show up in the Create dialogue of Umbraco 4.

I installed the BlogForUmbraco4_1.0.0 package, which I realize tries to install as the primary site, but it also installs all of the necessary Document Types, including Blog, and BlogPost. Why are they not an option when creating a new item within my site.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぃ弥猫深巷。 2024-07-23 09:39:37

Umbraco 使用基于权限的文档类型层次结构,以确保编辑者不会在错误的位置创建奇怪的页面类型(例如博客下方的“主页”或图库内的“新闻项目”)。

因此,您需要允许您希望在创建对话框中显示的文档类型为您用作父级的页面的文档类型(这可能听起来毫无意义;-))。

  • 因此,假设您已导入 Blog4Umbraco 包并希望在主页下方允许博客,您应该找出该主页的文档类型(查看文档上的属性选项卡并查看“文档类型”) )。
  • 转到设置部分并打开文档类型,然后单击该文档类型(假设它称为“主页”)
  • 单击“结构”选项卡,您将看到安装中所有文档类型的列表。 其中一些已经经过检查,并且这些是该类型下允许的。 要允许博客,只需检查“博客”文档类型:-)

Umbraco uses a permission based Document Type Hierarchy, to ensure that editors doesn't create weird page types in wrong places (like a 'Homepage' beneath a blog or a 'News Item' inside a Gallery).

So you'll need to allow the Document Type that you wish to appear in your create dialog to the Document Type of the page you're using as the parent (this might sound like non sense ;-)).

  • So, say that you've imported the Blog4Umbraco package and wants to allow a blog below a Home page, you should find out which Document Type that home page is (look at the properties tab on the document and look at the 'Document Type').
  • Go to settings section and open Document types and click on that doc type (let's just say it's called 'Homepage')
  • Click on the 'Structure' tab and you'll see a list of all Document Types in your install. Some of them are already checked and those are the ones that are allowed beneath that type. To allow blogs, simply check the 'Blog' document type as well :-)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文