[symfony-users] {% trans test %} doesn't work on beta1

2011-05-02 Thread John Blobsmith
Hi, I used in PR12 this code in twig template {% trans test %} but in beta1 it doesn't work. The error message : Unexpected token. Twig was looking for the with or from keyword in BundleCreatorBundle::layout.html.twig. Do you know where is the problème ? -- If you want to report a

[symfony-users] Assetic and php template

2011-05-23 Thread John Blobsmith
I try to use assetic with php template like this : ?php foreach ($view['assetic']-stylesheets(array('public/css/*')) as $url): ? link rel=stylesheet type=text/css media=screen href=? php echo $view-escape($url) ? / ?php endforeach; ? But it doesn't work. I have the error : Route

[symfony-users] Re: Assetic and php template

2011-05-31 Thread John Blobsmith
/* ??On Sunday, May 22, 2011 at 5:23 AM, John Blobsmith wrote: I try to use assetic with php template like this : ?php foreach ($view['assetic']-stylesheets(array('public/css/*')) as $url): ? link rel=stylesheet type=text/css media=screen href=? php echo $view-escape($url) ? / ?php

[symfony-users] Re: Assetic and php template

2011-06-05 Thread John Blobsmith
Someone knows this problem ? On 30 mai, 07:48, John Blobsmith oliv.g...@gmail.com wrote: Hi, I work in dev mod and my css folder is in /scr/Blobsmith/MyBundle/ Resources/public/css/. Sorry for this very late response... On May 23, 5:03 pm, Kris Wallsmith kris.wallsm...@symfony

[symfony-users] Re: Assetic and php template

2011-06-08 Thread John Blobsmith
Blobsmith wrote: Someone knows this problem ? On 30 mai, 07:48, John Blobsmith oliv.g...@gmail.com (http://gmail.com) wrote: Hi, I work in dev mod and my css folder is in /scr/Blobsmith/MyBundle/ Resources/public/css/. Sorry for this very late response... On May 23, 5:03 pm, Kris

[symfony-users] Re: Assetic and php template

2011-06-08 Thread John Blobsmith
, John Blobsmith wrote: Someone knows this problem ? On 30 mai, 07:48, John Blobsmith oliv.g...@gmail.com (http://gmail.com) wrote: Hi, I work in dev mod and my css folder is in /scr/Blobsmith/MyBundle/ Resources/public/css/. Sorry for this very late response... On May 23, 5:03

[symfony-users] link to images in css file with assetic

2011-06-11 Thread John Blobsmith
Hi, I use assetic with twig to insert a css file like this : {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css' %} link rel=stylesheet href={{ asset_url }} type=text/css media=all / {% endstylesheets %} It works well but I want insert an image in my css file like this

[symfony-users] Re: link to images in css file with assetic

2011-06-15 Thread John Blobsmith
='cssrewrite' %} On Jun 11, 2011, at 9:57 AM, John Blobsmith oliv.g...@gmail.com wrote: Hi, I use assetic with twig  to insert a css file like this : {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css' %}        link rel=stylesheet href={{ asset_url }} type=text