Message-ID: <1557843977.3474.1485853334041.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3473_575607822.1485853334041" ------=_Part_3473_575607822.1485853334041 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Version compatibility
This Twig helper is available as of eZ Publish 5.3 / 2014.05
ez_legacy_render_js()
is a Twig helper which adds javascrip=
t (code and files) configured in ezjscore to legacy callback modules.
It returns a HTML code to insert in the <head> of your page.
ez_legacy_render_js()
Just insert the function where the HTML code needs to be inserted.
<head> =09<!-- code of your head --> =09{# Adds javascript code and files from ezjscore #} =09{{ ez_legacy_render_js() }} =09<!-- code of your head --> </head>=20
You can customize the display of the function by overriding the template= used in the following parameter: ezpublish_legacy.twig.extension.template.= js