Message-ID: <109504489.3476.1485853338615.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3475_1781818554.1485853338615" ------=_Part_3475_1781818554.1485853338615 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html ez_legacy_render_css

ez_legacy_render_css

=20 =20

Version compatibility

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

Description

ez_legacy_render_css() is a Twig helper which adds css (cod= e and files) configured in ezjscore to legacy callback modules.

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

Prototype and Argumen= ts

ez_legacy_render_cs()

Usage

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

=20
<head>
=09<!-- code of your head -->

=09{# Adds css code and files from ezjscore #}
=09{{ ez_legacy_render_css() }}

=09<!-- code of your head -->
</head>
=20

Customization

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

 

 

 

------=_Part_3475_1781818554.1485853338615--