Expand my Community achievements bar.

SOLVED

Change unpublish page title in dialog box

Avatar

Level 2

I am trying to edit the title here from 'Unpublish Page' to 'Activate Page.' How do I create an overlay that can edit this dialog box?

micoh_0-1668455404015.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @micoh,

To change the dialog box you have to overlay following path:

  • /libs/cq/gui/components/authoring/pageinfo/confirmunpublish/confirmunpublish.jsp,

This can be done, e.g. by using Overlay Node option from context menu in crx:

overlay.jpg

as a result under /apps you will get

  • /apps/cq/gui/components/authoring/pageinfo/confirmunpublish/confirmunpublish.jsp

final step will be to modify coral-dialog-header section in confirmunpublish.jsp (the one located under apps - which is result of overlay)

crx-jsp.jpg

And sample result, looks like this:

result.png

Overlay documentation:

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @micoh,

To change the dialog box you have to overlay following path:

  • /libs/cq/gui/components/authoring/pageinfo/confirmunpublish/confirmunpublish.jsp,

This can be done, e.g. by using Overlay Node option from context menu in crx:

overlay.jpg

as a result under /apps you will get

  • /apps/cq/gui/components/authoring/pageinfo/confirmunpublish/confirmunpublish.jsp

final step will be to modify coral-dialog-header section in confirmunpublish.jsp (the one located under apps - which is result of overlay)

crx-jsp.jpg

And sample result, looks like this:

result.png

Overlay documentation: