This tip comes from a forums post from prolific poster Rafael Queiroz Gonçalves ( known by his handle of email@example.com ). In the post he details how to take a module that doesn’t have a tab become available to the Reports module. Here’s the steps he outlines to do this.
1. Open the file into custom/Extension/application/Ext/include/custom_name.php (the file were there is the module defs)
2. Edit the module content to:
<?php $beanList['module_name'] = 'module_name'; $beanFiles['module_name'] = 'modules/module_name/module_name.php'; //$modules_exempt_from_availability_check['module_name'] = 'module_name'; => Can be deleted //$modInvisList = 'module_name'; => Can be deleted // this two unset are important unset($modules_exempt_from_availability_check['module_name']); unset($modInvisList['module_name']); $moduleList = 'module_name'; // this line has to be included.
3. Run repair and rebuild.
4. Go to the Admin > Display Module Tabs and Subpanels screen, and hide the tab from the display
Now the module is available on Reports module and the tab for it is hidden. Thanks Rafael for this great tip!