In view.yml you specify which js files should be included when you call include_javascripts() in your layout. Put the call right before your </body> tag and it should work. sfCommonFilter did this for you, but it has been deprecated in 1.3/1.4. See http://www.symfony-project.org/tutorial/1_4/en/upgrade#chapter_161aacbf11b8cc24bbdc6951ba0fb57d_sub_removal_of_the_common_filter
On Fri, Jan 15, 2010 at 15:35, Francisc Nopcea <domnuprofe...@gmail.com> wrote: > I don't call any include_javascripts(). > I rely on the view.yml of each module I have defined. > > I tried clearing the cache but no success. > > Any ideas? > > On Fri, Jan 15, 2010 at 3:03 PM, Gábor Fási <maerl...@gmail.com> wrote: >> >> Do you call include_javascripts() in your layout? Did you clear your >> cache after the deployment? >> >> On Fri, Jan 15, 2010 at 08:47, domnuprofesor <domnuprofe...@gmail.com> >> wrote: >> > yes, of course I cheked the html code... >> > No <script> tag is generated. Firebug reports no JS files loaded nor >> > any js request that could have failed. >> > So, no requests for js files are performed whatsoever. >> > >> > Any ideas? >> > >> > On Jan 15, 9:29 am, Alvaro Videla <harryjek...@gmail.com> wrote: >> >> have you tried checking the HTML code of your page and see if there are >> >> some <script> tags including the Javascript? >> >> >> >> On Jan 15, 2010, at 3:24 PM, domnuprofesor wrote: >> >> >> >> > Hi there! >> >> >> >> > I just finished a project and I deployed on a server using symfony >> >> > built in deploy tool. >> >> > Everything is ok with the exception that NO JAVASCRIPT FILE IS >> >> > LOADED. >> >> >> >> > The js files are on the server in /web/js. I don't get a failed >> >> > request to the files, it just does not request the files. >> >> >> >> > On localhost both prod and dev environments are working as expected. >> >> > On the server dev environment is working as well, only the prod >> >> > environment has this issue with not loading js files. >> >> >> >> > Can you help me with this one? >> >> >> >> > Thank you! >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "symfony users" group. >> >> > To post to this group, send email to symfony-us...@googlegroups.com. >> >> > To unsubscribe from this group, send email to >> >> > symfony-users+unsubscr...@googlegroups.com. >> >> > For more options, visit this group >> >> > athttp://groups.google.com/group/symfony-users?hl=en. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "symfony users" group. >> > To post to this group, send email to symfony-us...@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. >> > >> > >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "symfony users" group. >> To post to this group, send email to symfony-us...@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. >> >> >> > > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > >
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.