I have one question : how can I change a css or javascript declaration if the value is hard coded inside the template file ?
On Mon, Oct 4, 2010 at 2:21 PM, Fabien Potencier < fabien.potenc...@symfony-project.com> wrote: > On 10/4/10 2:14 PM, Thomas Rabaix wrote: > >> Hello, >> >> Ok, there is no view.yml file in Symfony2. The current document states >> that css, js and layout declaration can be defined inside the template >> [1]. But for now there is no way to do so in a general way (like the old >> view.yml). The drawback is that dependencies are set inside templates, >> which is not good for easy customization and maintenance. (If the user >> want to set another css files or layout from the one provided in a >> bundle.) >> > > I'm not sure I understand the problem. In Symfony2, you can have a deeply > nested set of layouts. In each of these layouts, you can add CSS, JS, ... > So, I think this is much more powerful than the view.yml, as you are not > restricted to project/module/action. Or am I missing something? > > Fabien > > Symfony2 introduces DIC as its main feature, but not for templating. >> >> [1] http://docs.symfony-reloaded.org/quick_tour/the_view.html >> -- >> Thomas Rabaix >> http://rabaix.net >> >> -- >> 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 developers" group. >> To post to this group, send email to symfony-devs@googlegroups.com >> To unsubscribe from this group, send email to >> symfony-devs+unsubscr...@googlegroups.com<symfony-devs%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/symfony-devs?hl=en >> > > -- > 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 developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > To unsubscribe from this group, send email to > symfony-devs+unsubscr...@googlegroups.com<symfony-devs%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- Thomas Rabaix http://rabaix.net -- 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 developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en