Adobe CQ5的sidekick是空的(没有显示组件) [英] Adobe CQ5's sidekick is empty (no components shown)

查看:123
本文介绍了Adobe CQ5的sidekick是空的(没有显示组件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的模板中添加了一个段落系统组件,试图模仿Geometrixx的contentPage。一切都很好,但我不能将任何组件拖入系统,因为没有添加。

I've added a paragraph system component in my template, trying to emulate the Geometrixx's contentPage. Everything is fine but I can't drag any components into the system because there are none to add. What can I be missing?

更多信息:


  • 我的组件页继承从基金会的页面。 (主要类型:cqComponent)

  • 我的模板页面将该组件作为资源类型。 (主类型:cqTemplate)

  • 页面(主类型:cqPage)在其jcr:content节点中具有组件作为资源类型,模板作为cq:Template属性,

  • 在jsp模板中有以下行:

  • My component page inherits from foundation's page. (primary type: cqComponent)
  • My template page has that component as resource type. (primary type: cqTemplate)
  • The page (primary type: cqPage), in its jcr:content node has the component as resource type, the template as cq:Template property, and has par as a child (whose type is foundation/components/parsys)
  • Inside the jsp template there is this line:

< cq:include path =parresourceType =foundation / components / parsys/>

推荐答案

每个CQ5模板都有一组不同的组件,可以定义为可供使用。这允许你控制作者将被允许使用什么,它使它们更容易,因为他们只会看到相关的组件,而不是吨的组件CQ5提供。

Each CQ5 template has a different set of components that can be defined to be available for use. This allows you to control what the authors will be allowed to use, and it makes it easier for them, because they will only see the relevant components, instead of the tons of components CQ5 offers.

在查看页面时,您可以切换到设计模式(而不是编辑或预览模式,而您花费大部分时间来创作页面)。此设计模式允许定义每个模板的特定设置。

When looking at a page, you can switch to something called the "design" mode (as opposed to the "edit" or "preview" modes where you spend most of your time authoring the page). This design mode allows to define the per-template specific settings. It is accessed through the yellow ruler icon on the very bottom of the sidekick.

在设计模式下,点击蓝色工具栏上的编辑按钮, par of par,你将能够启用你想要使用的组件。

When in design mode, click on the "Edit" button that is on the blue toolbar called "Design of par", there you'll be able to enable the components you want to be able to use.

当你要构建组件时,记住组件的设计模式和相应的设计对话框是定义全局每模板设置的方便方法,您不希望对每个组件实例特别设置它们。

When you'll be building components, keep in mind that the design mode and the corresponding design dialogs of the components is a convenient way to define global per-template settings that you don't want to be required to be set specifically on each component instance.

这篇关于Adobe CQ5的sidekick是空的(没有显示组件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆