Hey Vikos,

yes, that is relatively easy, but obviously you can't just use the
view.yml for that. However, from within the layout you can just call:

use_stylesheet('whatever');
use_javascript('blah');

That way you can customize the layouts to use different assets.

Daniel


On Sep 23, 5:25 am, Vikos <[email protected]> wrote:
> Hello
>
> I have multiple layout width own arrangement.
>
> My simple question:
> Can I configure symfony to automatically load different css/js for
> layouts?
>
> Set the same javascript and css files in every view.yml width
> different layout is time-consuming.
>
> I want something like this:
> layout1-> css1.1, css1.2...
> layout2-> css2.1, css.2.2... etc..
>
> Thanks the answers!
>
> Vikos

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to