Author Topic

Damien Pobel

Thursday 17 March 2011 12:03:54 pm

Comment66695

Hi Thomas,

As far as I can tell, ezscript_* template operators can not handle remote JavaScript files. I guess you call ezscript_require in some special view templates to call Google Maps JavaScript only when it's needed ? In this case it would make sense, I think you should open a enhancement request in the issue tracker.

As a workaround, you can define a persistent variable in your view template and then include remote JavaScript file(s) based on it. It's just a matter of some lines of template... sorry for the without having to code anything ;-)

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish