[Vtigercrm-developers] How to add javascript file to header

Stencel, Maciej m.stencel at opensaas.pl
Tue Oct 22 11:43:51 GMT 2013


Please download ZeroClipboard.js, add it to your module and tell me if it's
working for You...

In my vtiger when I add js script this way and call:

var ble = new ZeroClipboard( ... );


I get error: Uncaught ReferenceError: ZeroClipboard is not defined

There are no errors only when the script file is added in <head>. Just
below jquery script. Probably there is other script added by vt that
collides with ZeroClipboard... Thats why I want to add it higher than other
scripts not below them.

2013/10/22 Alan Lord <alanslists at gmail.com>

> On 22/10/13 12:33, Pabiszczak, Błażej wrote:
>
>> Good joke ;)
>>
>
> It works just fine.
>
> Use linktype: HEADERSCRIPT
>
> Al
>
>
> ______________________________**_________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131022/3094bd1d/attachment.html>


More information about the vtigercrm-developers mailing list