[Vtigercrm-developers] Modification of views in the related modules

Mariusz Krzaczkowski m.krzaczkowski at opensaas.pl
Fri Oct 4 08:58:53 UTC 2013


Hi

Why the modules load the template file related with the module
RelatedList.tpl where are we?

*Example: Module: Organisation*
*Module related: OSSPasswords*
Screenshot in attachment (relatedmodule.png), the file is loaded from the
location:
*layouts/vlayout/modules/Accounts/RelatedList.tpl *
and should be loaded with
*layouts/vlayout/modules/OSSPasswords/RelatedList.tpl*

This makes it possible expand the module does not modify files in other
modules, you can not modify system files are jesttakie simple solution
allows powering multiple user extension of this system.
The same problem is in vtiger_relatedlists functions are loaded from the
main module and not related:

*Example: Module: Organisation*
*Module related: SalesOrder*
Charged is a list of records from the function get_salesorder, the function
is in the file:
*modules/Accounts/Accounts.php *
and should be in the file
*modules/SalesOrder/SalesOrder.php *


*If you do not want to add such a solution please let us know how can
modify view of the module or functions related with vtiger_relatedlists
without modifying system files. ?*
Example, to add an extra button.


*Z poważaniem / Best regards*
*Mariusz Krzaczkowski* *
*
*m.krzaczkowski at opensaas.pl
www.OpenSaaS.pl <http://www.opensaas.pl/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131004/4f319f7b/attachment-0001.html>


More information about the vtigercrm-developers mailing list