Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

Version compatibility

This Twig helper is available as of eZ Publish 5.3 / 2014.05

Description

ez_legacy_render_js() is a Twig helper which adds javascript (code and files) configured in ezjscore to legacy callback modules.

It returns a HTML code to insert in the <head> of your page.

Prototype and Arguments

ez_legacy_render_js()

Usage

Just insert the function where the HTML code needs to be inserted.

Customization

You can customize the display of the function by overriding the template used in the following parameter: ezpublish_legacy.twig.extension.template.js