Generic component in CQ5 page

2019-09-07 18:02发布

问题:

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



标签: aem