how to create custom parsys or extend parsys? | Community
Skip to main content
Level 4
August 1, 2021
Solved

how to create custom parsys or extend parsys?

  • August 1, 2021
  • 2 replies
  • 2566 views

i have requirement to create a custom component where i need to change default text of parsys. 

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 arunpatidar

Hi,

If you want to change the defualt 'drop component here' text. Then you can set the jcr:title property e.g. jcr:title="Parsys Title" to extended parsys component and add below css rule to change the text. you can use cq.authoring.dialog category for clientlibs.

e.g.

 

div.cq-Overlay--container.cq-draggable.cq-droptarget[title="Parsys Title"] .cq-Overlay--placeholder::before { content: 'custom comonnet drop text' }

 

 

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 1, 2021

Hi,

If you want to change the defualt 'drop component here' text. Then you can set the jcr:title property e.g. jcr:title="Parsys Title" to extended parsys component and add below css rule to change the text. you can use cq.authoring.dialog category for clientlibs.

e.g.

 

div.cq-Overlay--container.cq-draggable.cq-droptarget[title="Parsys Title"] .cq-Overlay--placeholder::before { content: 'custom comonnet drop text' }

 

 

Arun Patidar
Level 4
August 1, 2021
@1464355, thanks for prompt answer, could please guid me that where to change and what to change?