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
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
/* ??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
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
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
, 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
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
='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