Since a given module installation is defined by the manifest.php included in the zip it is basically up to each developer to decide how to package their module. This flexibility is great but can cause both confusion for new developers and for folks trying to understand what a module zip contains. For the latter, this could be end users who like to know every detail or it could be a developer who is taking on or contributing to someone else's module.
For this article we won't be recommending a full SugarCRM Module Standardization like has been done here: A Proposal for SugarCRM Module Standardization. Instead we are going to suggest one way of organizing and look to get your own suggestions on how to better organize modules.
In a manifest there basically 3 types of options that require files to be defined; copy, relationships, and the many different extensions (language, vardefs, layoutdefs, menu, etc). Due to the way they are used to install into SugarCRM it may make the most sense to separate them out into their own folders in a zip such as:
The copy and extensions directories would be broken down to mimic the module file structure in Sugar. For example:
Relationships would just contain the files that will eventually be copied over to the custom/metadata directory:
Here is how the manifest would then look like for these option definitions:
We'll continue to build on this idea of better organizing modules to include the other parts of a manifest definition. Have something you found that works well? Share it below!
SugarCRM - Authorize.net Integration
Securely process credit card payments right from within SugarCRM while being in complete compliance of all credit card laws. Reduce errors and manpower required to process transactions with the Authorize. NET integration. Charge directly from any Account, Contact, Lead, or Quote.
SugarCRM Enterprise-Class Outlook Plugin
Implicit FrontEnd is an Enterprise-Class Outlook integration solution which enables users to do all their CRM work from within Outlook. By offering a truly exceptional depth and breadth of integration with Outlook, Implicit FrontEnd increases productivity and CRM utilization by facilitating data ent...
OneClick Sudo Login for SugarCRM 8 / 9
Sudo Login (or Masquerade) allows Administrators to log in as any regular user without asking for their password and without disconnecting them. Specially useful for configuring their workspace (filters, reports, dashboard) or to support users (reproduce issues, help them step by step, etc).
- Show more addons