CQ pages creation
Can any one answer How to create CQ pages programatically which includes paragraph systems?
Can any one answer How to create CQ pages programatically which includes paragraph systems?
Hi Madhava,
Thank you for your question.
To include paragraph system component while creating a CQ page, you can follow as below:
Add the parsys component (one of the foundation components) to your content page component.
i) In CRXDE Lite, browse to /apps/mywebsite/components/contentpage, open the file center.jsp and locate the following line of code: <div>parsys</div>
ii) Replace that line of code with the following code, then save the changes: <cq:include path="par" resourceType="foundation/components/parsys" />
iii) In your browser, refresh the Products page. It now has the parsys component.
To know more about creating a fully featured page, please visit our How to Create a Fully Featured Internet Website page.
If this answers your query on including paragraph systems, please mark this thread as SOLVED. This would help us in quicker resolution of similar queries.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.