Touch Optimized UI - How to remove Help Circle Button from the cq:dialog? | Community
Skip to main content
ai70086923
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 4 replies
  • 2705 views

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

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 Dinu_Arya

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.

4 replies

smacdonald2008
Level 10
October 16, 2015

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

ai70086923
Level 2
October 16, 2015

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

 

Thanks,

AI

Dinu_Arya
Dinu_AryaAccepted solution
Level 6
October 16, 2015

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.

ai70086923
Level 2
October 16, 2015

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.