Skip to content
Advertisement

Tag: symfony

Twig: Selecting certain blocks and rendering them

I am intergrating the twig templating engine into a PHP application. In particular, I would like to use the twig engine to render forms. Having had a look at how symfony2 uses twig to render form widgets, they have a huge template file which contains all the widgets like so: The question I have is how can I “grab” blocks

Ajax and Jquery in Symfony

I’m a beginner in Symfony (version 2), I have a project achieved with plain basic PHP, and now I’m redoing my pages in dealing with Symfony framework, and arrived to my jquery ajax functions, surely, …

Advertisement