[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

Re: [symfony-users] Assetic and php template

2011-05-23 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 is this in dev or production mode? if in production, did you generate the assets with app/console assetic:dump ? cheers,david Am 22.05.2011 14:23, schrieb John Blobsmith: I try to use assetic with php template like this : ?php foreach

Re: [symfony-users] Assetic and php template

2011-05-23 Thread Kris Wallsmith
Where are your stylesheets located in your project directory — web/public/css/* ?? 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