6

我可以在不将其添加到页面的情况下发布组件演示文稿吗?答案似乎是肯定的。我有一个不在任何页面上的组件。我只发布了那个组件,组件演示最终到达了我的目的地,但是组件在哪里获取模板?它是通过模板中的 LinkedSchema 选项卡获取的吗?我确实将用于组件的架构链接到模板。

谢谢

4

2 回答 2

9

你猜对了。如果有一个或多个组件模板,则组件将作为动态组件演示文稿(因此没有页面)发布:

一个。链接到组件所基于的架构

湾。标记为“作为动态组件发布”

于 2012-11-16T22:05:44.647 回答
7

Yes, that's right. When you create a component template, you specify the linked schemas which can use this template. Publishing a component with out adding to a page is called dynamic component presentation. In component template general tab, you could specify this as "Published as dynamic component" for the field component presentations based on this template. If you have value as "Publish embedded on a page", your component presentation is static meaning you have to associate this component with page to get it published. Dynamic component presentations makes use of content broker database to query the data and to display it in website. However components embedded on a page would be static and would be served from file system (instead of database). Hope it helps!

于 2012-11-16T22:09:39.393 回答