Generic component in CQ5 page

寵の児 提交于 2019-12-13 07:05:16

问题


My question is very basic . I am creating a new template and in that template, I will have a concrete structure using DIV elements. But in almost 7-8 if the DIV's, I need the data to be entered by the user.

What component/line of code I can use to have all those 7-8 DIV's editable and customizable by the page creator ?

I tried multiple paragraphs with :

<cq:include path="par" resourceType="foundation/components/parsys"/>

But only the top one appears on the page. !!


回答1:


For having multiple paragraph just rename the path value in the cq:include tag. also check here



来源:https://stackoverflow.com/questions/14995644/generic-component-in-cq5-page

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