Skip to content Skip to sidebar Skip to footer
Showing posts with the label Twig

How To Make The Counter Twig Ignore The Drupal Cache?

This question is related to my previous question : How to create a counter with TWIG? I have a site… Read more How To Make The Counter Twig Ignore The Drupal Cache?

How To Pass A Javascript Variable To Twig In This Particular Example

The following code is in my Twig template and it's for load a CSS file or another depending on … Read more How To Pass A Javascript Variable To Twig In This Particular Example

Include Assets In Twig Extension With Symfony2

I want to include asset with some script file in Twig extension. E.g. I want to declare twig functi… Read more Include Assets In Twig Extension With Symfony2