[Vtigercrm-developers] Still can't add remote javascript or CSS in Views - VT61

Alan Lord alanslists at gmail.com
Mon Jul 7 07:21:24 GMT 2014


On 07/07/14 07:05, Stencel, Maciej wrote:
> Hi Alan,
>
> This is working for me.

The problem is when trying to use a "proper" URL, not a reference to a 
local file (which works fine for me):

>    $cssFileNames = array(
>             '~/layouts/vlayout/modules/GeoTools/resources/GeoTools.css',
>             'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css',

The url to the leaflet css file gets "?&v=6.0.0" appended to it on the 
page. So the CDN doesn't recognise and will not serve the file.

Al




More information about the vtigercrm-developers mailing list