Hi,
I created a custom module to be used on the back end only. I didn’t want it available for menus or panels so I hide it. To achieve that I
modify, custom/Extension/application/Ext/Include/MyCustomModule.php and modify from:
<?php
$beanList['MyCustomModule'] = 'MyCustomModule';
$beanFiles['htgi3_MultipleActivities'] = 'modules/MyCustomModule/MyCustomModule.php';
$moduleList[] = 'MyCustomModule';
?>
To this:
<?php
$beanList['MyCustomModule'] = 'MyCustomModule';
$beanFiles['MyCustomModule'] = 'modules/MyCustomModule/MyCustomModule.php';
$modules_exempt_from_availability_check['MyCustomModule'] = 'MyCustomModule';
$report_include_modules['MyCustomModule'] = 'MyCustomModule';
$modInvisList[] = 'MyCustomModule';
?>
If you need to hide unused core modules you can create this file custom/application/Ext/Include/modules.ext.php and include code similar to the above. If you need a reference check file /include/modules.php (DO NOT MODIFY THIS FILE)
Thanks,
AlxGr