Expand my Community achievements bar.

SOLVED

Touch Optimized UI - How to remove Help Circle Button from the cq:dialog?

Avatar

Level 2

Hi, 

I am trying to remove the Help Circle Button from the cq:dialog (Touch Optimized UI).

Is that possible via dialog configuration? 

 

Thanks,

AI

1 Accepted Solution

Avatar

Correct answer by
Level 7

Go to /libs/cq/gui/components/authoring/dialog/dialog.jsp and comment the below code  (151 line in AEM 6.1) -

<button <%= getHelpAttrs(slingRequest, cfg, xssAPI, i18n).build() %>> 

<i class="coral-Icon coral-Icon--helpCircle"></i>

 </button>

But if we comment this , it will remove "Full Screen" button as well.

View solution in original post

4 Replies

Avatar

Level 10

Assuming you are referring to this:

[img]helpme.png[/img]

Try building a Touch UI dialog - and do not set the helppath property.

See this community article:

https://helpx.adobe.com/experience-manager/using/creating-touchui-component.html

Avatar

Level 2

This was the first thing i tried, but it didn't help and the help button is still there.

 

Thanks,

AI

Avatar

Correct answer by
Level 7

Go to /libs/cq/gui/components/authoring/dialog/dialog.jsp and comment the below code  (151 line in AEM 6.1) -

<button <%= getHelpAttrs(slingRequest, cfg, xssAPI, i18n).build() %>> 

<i class="coral-Icon coral-Icon--helpCircle"></i>

 </button>

But if we comment this , it will remove "Full Screen" button as well.

Avatar

Level 2

Thanks.

I have figured the same thing out before i posted. 

But i do not want to remove the fullscreen button, only the help button.

I was also hoping that i can do it via configuration and not by modifying the JSPs in the lib folder.