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 <make.webp...@gmail.com> 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en