[Vtigercrm-developers] HEADERSCRIPTS in vt61

Conrado Maggi comaggi at gmail.com
Tue Oct 14 10:42:26 GMT 2014


Hello Alan,

HEADERSCRIPT is working fine for me on 6.1. Although I have to change the
vtlib script a bit. The following is working for me

         require_once('vtlib/Vtiger/Link.php');

            $tabid = getTabId("MODULE_NAME");
            Vtiger_Link::addLink($tabid, 'HEADERSCRIPT', 'LABEL', 'PATH',
'', 0, '');


Regards,

On Tue, Oct 14, 2014 at 11:53 AM, Alan Lord (News) <alanslists at gmail.com>
wrote:

> In vtiger 5.4.0 if I add a HEADERSCRIPTS link to a javascript file using
> the vtlib API for my *extension* module. the file gets loaded on all page
> views.
>
> If I use the same API in vtiger 6.1 the file is not being loaded
> anywhere...
>
> Is there a mechanism I can use to load a javascript file on all pages? Or
> do I have to create a HEADERSCRIPT entry for all modules where I want the
> file to be loaded?
>
> Thanks
>
> Al
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141014/992e091c/attachment.html>


More information about the vtigercrm-developers mailing list