Move Component which are included in page? | Community
Skip to main content
jacob_m1
Level 2
October 16, 2015
Solved

Move Component which are included in page?

  • October 16, 2015
  • 3 replies
  • 1116 views

Hi Guys,

Need a quick help, is there any functionality in AEM 5.x which allows component which are included in page via code (cq:include) can be moved inside the page.

anybody implemented any workaround or customization, please share guys

Thanks, great day...

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 Lokesh_Shivalingaiah

Hi Jacob,

including components in a page is to make sure you have that component fixed within the template. You will not be able to move that component as such. However, you can include any other component before or after these included components.

3 replies

Yogesh_Upadhyay
Level 6
October 16, 2015

As Every one mentioned you can not remove component included though cq:include however you can hide them using JS Or JSP based on certain condition.

smacdonald2008
Level 10
October 16, 2015

The <cq:include> tag includes a resource into the current page. If you want to move that tag into anotgher page, the typical way is to open the JSP in CRXDE lite (or another IDE) and move it to another JSP. 

There is no out of the box way to move these around. . 

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi Jacob,

including components in a page is to make sure you have that component fixed within the template. You will not be able to move that component as such. However, you can include any other component before or after these included components.