[Vtigercrm-developers] HEADERSCRIPTS in vt61

Prasad prasad at vtiger.com
Tue Oct 14 13:36:31 GMT 2014


Please review addLink example -
http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/city-lookup-v1.html
- should work without tweaks.

Let me know if the issue persists.

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/vtiger6/index.php/Main_Page> *I* Website
<https://www.vtiger.com/>

On Tue, Oct 14, 2014 at 4:12 PM, Conrado Maggi <comaggi at gmail.com> wrote:

> 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/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141014/cc7e7241/attachment.html>


More information about the vtigercrm-developers mailing list