Global navigation

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

 
Exponential (5.x)

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

Skip to end of metadata
Go to start of metadata

Version compatibility

This Twig helper is available as of Exponential 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: exponential_legacy.twig.extension.template.js