Hello I am trying to remove Create Note or Attachment button as shown in the screenshot. I made changes in the Menu.php file which worked for me earlier in version 6.5.24 but it does not make any difference in version 7.8.
How can i do that??
Hi Ravi Kumar Nalamati,
I have not tried to do this in the custom directory for best practices yet.
I did the following in an experiment that might get you started in the right direction:
In modules/Notes/clients/base/menus/header/header.php, I commented out the first array, so it looked like this:
$module_name = 'Notes';$viewdefs[$module_name]['base']['menu']['header'] = array(/* array( 'route'=>'#'.$module_name.'/create', 'label' =>'LNK_NEW_NOTE', 'acl_action'=>'create', 'acl_module'=>$module_name, 'icon' => 'fa-plus', ), */ array( 'route'=>'#'.$module_name, 'label' =>'LNK_NOTE_LIST', 'acl_action'=>'list', 'acl_module'=>$module_name, 'icon' => 'fa-bars', ), array( 'route'=>'#bwc/index.php?module=Import&action=Step1&import_module=Notes&return_module=Notes&return_action=index', 'label' =>'LNK_IMPORT_NOTES', 'acl_action'=>'import', 'acl_module'=>$module_name, 'icon' => 'fa-arrow-circle-o-up', ),);
After running a Quick Repair and Rebuild, the 'Create Note or Attachment' option was no longer visible in that menu.
I hope this helps!
It worked for me too.
Thanks for your help!
Retrieving data ...