Re: Adding Javascript Files into a Module's detailviewdef.php with Module Loader
When you install a module is possible to move your own files to a especific sugar folder, you can do that on manifest.php of your instalation package.
Maybe you can overwrite the file [custom]/modules/contacts/metadata/detailviewdefs.php with your own code.
As Angel said, you can try to get the current content of this file and just include your code, this way the user do not lose his current layout.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
Bookmarks