2

I know there is a way to hide module menu from Admin -> Display Modules and Subpanels. Is there any way to do the same from the code.

Particularly I need to hide my custom module: cm_items. This way customers could access this module items from the other referenced custom module.

I'm using the PRO edition of SugarCRM Versión 6.5.11 (Build 8754)

4

3 回答 3

3

在您的 modules/cm_items/ 目录中,您应该能够放入一个空的 Menu.php 文件。如果这不起作用,请尝试重置该文件中的 $module_menu 数组:

$module_menu = array();
于 2013-05-14T02:27:52.317 回答
2

确保该模块未在全局数组 $moduleList 中列出,并且不应添加。

于 2013-05-14T13:28:46.880 回答
1

只需在 custom/Extension/application/Ext/Language/en_us.lang.ext.php 文件中注释该行

$app_list_strings['moduleList']['cm_items'] = 'items';
于 2013-05-15T12:18:37.487 回答