[CQ Designs]: Not able to apply the designs on the existing CQ page | Community
Skip to main content
ankit_technocra
Level 2
October 16, 2015
Solved

[CQ Designs]: Not able to apply the designs on the existing CQ page

  • October 16, 2015
  • 7 replies
  • 2371 views

Hi,

I have created the web page on CQ5.6.1 and applying design on my webpage from the Page Properties tab in Sidekick. I have created a new design in /etc/designs. And in that design folder I have images folder and a static.css.

But the design is not getting reflected on the corresponding page. I have also verified the cq:designPath property on the jcr:content node of the web page and it is set correctly

Could anyone help me out?

Thanks in Advance.

-Ankit

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ZeDor

If you are extending from foundation/components/page - add <cq:include script="headlibs.jsp/> a better way would be to use <cq:include script="head.jsp"/>

7 replies

smacdonald2008
Level 10
October 16, 2015

Have you followed the AEM Design docs here:

http://dev.day.com/docs/en/cq/current/howto/website.html#Setting up the Design

Did you get this working -- if so - what is the difference between what was laid out in this AEM topic and what you are doing? 

ankit_technocra
Level 2
October 16, 2015

Hi Scott, 

Thanks for the response. Yes I have followed all the steps mentioned in the document. It is not working. In the document it has been asked to set the property on the jcr:content node of webpage as mentioned below:

Name: cq:designPath

Type: String

Value: /etc/designs/mywebsite

But I am choosing the design path from "Page Properties" tab in Sidekick. It also sets the same property on jcr:content node of webpage. 

ZeDor
ZeDorAccepted solution
Level 2
October 16, 2015

If you are extending from foundation/components/page - add <cq:include script="headlibs.jsp/> a better way would be to use <cq:include script="head.jsp"/>

ankit_technocra
Level 2
October 16, 2015

ZeDor wrote...

If you are extending from foundation/components/page - add <cq:include script="headlibs.jsp/> a better way would be to use <cq:include script="head.jsp"/>

 

Thanks a lot ZeDor. It solved my issue. :)

yogeswaran_jank
October 16, 2015

Thank You!

July 20, 2016

ZeDor wrote...

If you are extending from foundation/components/page - add <cq:include script="headlibs.jsp/> a better way would be to use <cq:include script="head.jsp"/>

 

In AEM 6.1 Version I got the same Problem with designs not applying for the Page when Page Component extended from "foundation/components/page". In sightly I resolved by including "<div data-sly-include = "head.html"></div>" in body.html.

Thanks,

Swaroop

akashs51893872
Level 3
August 1, 2017

I finally got this working by creating a "Page" instead of a folder inside of Tools >> Designs >> New >> New Page >> mywebsite.

It was not working because i had created a "New Folder" instead of "New Page".