Just to clarify - it won't appear in layout.php - it will appear in  
the head section of your <method>Success.php template once it's  
rendered.

You don't need to use any helper for this either. You just have to be  
sure that layout is on, the rest should take care of itself. As I said  
before, it's not rocket science, there's no need for dirty hacks -  
this is something Symfony is very good at :)

The only problem you may encounter is when the javascript filename has  
a . in it - in which case you need to specify the WHOLE filename,  
instead of dropping the .js extension like many examples you see.  
Alternatively, you can rename your jquery filename to something like  
jquery.js

On 9 Mar 2009, at 01:07, Lawrence Krubner wrote:

> Hmm. Okay. I copy and pasted what you have here to /apps/frontend/
> config/view.yml.  I still get nothing in layout.php. And I mean, I get
> a blank line, no HTML.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to