Create documents in docx, xlsx (MS Office Word and Excel), odt, ods (LibreOffice and OpenOffice) and pdf format without MS Office or others plugins installed from any module and subpanel using templates.
#2278 - Activated modules not in module list
I have a huge issue with MailMergeReport Premium 2.5.14 and SuiteCRM 7.8.11. After I activated a custom module it will not show in the module selection list. I did a deepdive and I think it's an issue with the way you generate dha_plantillasdocumentos_module_dom through the getUserActions method in ACLAction. getUserActions reads the $_SESSION['ACL'] and my custom module is missing in $_SESSION['ACL']. How could I get it work?
5 years ago
Additional infos: I already rebuild and repair with 'Repair Roles' and Quick Repair.
5 years ago
After session_destroy() and login the module is in the list
5 years ago
Hello,
After the logout-login has already worked well, right?
5 years ago
Nope, I need to build a test.php with session_destroy(). Dunno if suitecrm destroy my session
5 years ago
Hello,
We have been testing MMR 2.5.14 with Suitecrm 7.8.23 regarding this case. We have created a new module and it has been verified that the module always has value in the acl_actions table, which translates into having value in $_SESSION['ACL']. This happens even if ACL support for the module is disabled. That is, in the module bean:
You should check if the acl_actions table contains records for the module that is causing problems (replace 'MODULE-NAME' with the real name of the module in this SQL): :
If no record is found, insert the necessary records with this SQL for Mysql (again, replace 'MODULE-NAME' with the real module name):
Then logout and login from Suitecrm.
Remember also that the module must be activated for MMR from the Admin module. The module must appear in the list of enabled modules within the configuration section "Mail Merge Reports Config".
If the problem persists, check if the files_ "custom/modules/{$module_name}/DHA_DocumentTemplatesHooks.php"_ and "custom/modules/{$module_name}/logic_hooks.php" exists. In the logic_hooks.php file there must be at least two lines of type $hook_array['after_ui_frame'].
Regards