Hide Help option under user-items
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2015 02:44 AM
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
regards
Raghav Bhardwaj
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2015 04:56 AM
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.
Just override javascript controller and remove that help item from given list of buttons generated by original webscript.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2015 02:34 AM
@mitpatoliya
Iam sorry but iam not able to understand. Can you detail your answer a bit more..
Iam sorry but iam not able to understand. Can you detail your answer a bit more..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2015 06:13 AM
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");
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");
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2015 08:13 AM
Thanks it worked
