cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Help option under user-items

raghav_bhardwaj
Champ on-the-rise
Champ on-the-rise
Hi i want to hide help option under user-items. In alfresco-5.0.d share-config.xml there is no entry for this . Please help me to accomplish this task.



regards

Raghav Bhardwaj
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
You need to extend component which creates that drop down using extension module.
Just override javascript controller and remove that help item from given list of buttons generated by original webscript.

@mitpatoliya

Iam sorry but iam not able to understand. Can you detail your answer a bit more..

hardik1512
Star Contributor
Star Contributor
Hello Raghav,

You can create an extension module using link http://blogs.alfresco.com/wp/developer/2013/09/04/customizing-the-share-header-menu-part-1/.

Then write below line in your extended share-header.get.js file. This will remove the help menu item.

widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_USER_MENU_HELP");

Thanks it worked