Twig is a modern, fast, flexible, and secure templating engine for PHP.
I have Symfony 2.0.9 standard edition installed with JMSSecurityBundle. Just wondering what functions are available to me in a Twig template …
symfony twigI'm looking to find out if there's a clean way to add JS and CSS from included templates. So, for …
symfony twig asseticI have a application which is developed in PHP using the Symfony 2 framework. I have changed a HTML file, but …
php symfony twigLet's say I have a for loop like this: {% for elem in arrMenu %} <div class="topmenu-button"> <a …
php symfony twigIs it possible to directly access an array index from within a Twig template? Here's my setup, using Silex: return $…
twig silexI need to get the first item from the field in the twig template. Is there some kind of function?
arrays twigIs there a way to get the name of the current environment in a Twig template? I'd like to set …
symfony twigA view element on my page depends on a route parameter and will render something if a route parameter is …
symfony twigQuite odd problem, sorry for asking, i'm quite new to Symfony/Twig. My route requires a mandatory region_id paramenter: …
javascript symfony routes twig