[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-09 Thread Lee Bolding
and - ofcourse - cleared your cache? ;) On 9 Mar 2009, at 01:59, prodigital...@vectrbas-d.com 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. Again, I'm trying to

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-09 Thread Lee Bolding
Just to clarify - it won't appear in layout.php - it will appear in the head section of your methodSuccess.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,

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-09 Thread sachin jain
Hi I need simple symfony project ..? apart from that provided by symfony site .. can any body help on me on this ? On Mon, Mar 9, 2009 at 1:43 PM, Lee Bolding l...@leesbian.net wrote: and - ofcourse - cleared your cache? ;) On 9 Mar 2009, at 01:59, prodigital...@vectrbas-d.com wrote:

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-08 Thread Lee Bolding
On 8 Mar 2009, at 04:52, Lawrence Krubner wrote: I didn't want to hard code the path, so I moved it to view.yml: all: javascripts: - /bocahoops/web/js/jquery/jquery-1.3.1.js This really isn't rocket science. in /apps/app/config/view.yml all: javascripts: [jquery/jquery-1.3.1.js]

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 6:46 am, Lee Bolding l...@leesbian.net wrote: On 8 Mar 2009, at 04:52, Lawrence Krubner wrote: I didn't want to hard code the path, so I moved it to view.yml: all:  javascripts:    - /bocahoops/web/js/jquery/jquery-1.3.1.js This really isn't rocket science. in

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-08 Thread prodigitalson
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. Again, I'm trying to avoid setting a value in any action. Then youve done something wrong because that is the way its done. Did

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-07 Thread Lawrence Krubner
On Mar 7, 1:16 am, Ant Cunningham prodigital...@vectrbas-d.com wrote: layout.php is just a wrapper for the the template and contains the head section of the html, so all things that are added to the head are actually added to layout.php by the include_metas() call. so if in

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi paolomaina...@gmail.com wrote: RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... Does the standard Javascript helper work in these circumstances? Like this: ?php use_helper('Javascript') ? On Wed, Mar 4, 2009 at 12:45

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi paolomaina...@gmail.com wrote: RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... Just to be clear, I'm asking about the layout, not the template. The page you point me to shows me how to get my Javascript files into my template.

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi paolomaina...@gmail.com wrote: RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... So, perhaps this is impossible? On Wed, Mar 4, 2009 at 12:45 PM, Lawrence Krubner lkrub...@geocities.comwrote: On Mar 4, 5:50

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Ant Cunningham
layout.php is just a wrapper for the the template and contains the head section of the html, so all things that are added to the head are actually added to layout.php by the include_metas() call. so if in apps/applicationname/config/view.yml you do: all: javascript: - file1 -

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-04 Thread Thomas Rabaix
view.yml all: javascript: - file1 - file2 On Wed, Mar 4, 2009 at 5:08 AM, Lawrence Krubner lkrub...@geocities.comwrote: On Mar 3, 10:35 pm, Damien Lepage damienlep...@gmail.com wrote: You can use sfJqueryReloadedPlugin which allows to specify a path to jquery.js in your

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-04 Thread Lawrence Krubner
On Mar 4, 5:50 am, Thomas Rabaix thomas.rab...@gmail.com wrote: view.yml all:   javascript:     - file1     - file2 Thomas, pardon my ignorance, but how does this work? I put the full path in view.yml? Like this: all: javascript: - /bocahoops/js/jquery/jquery-1.3.1.js -

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-04 Thread Paolo Mainardi
RTFM: http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_view_configuration On Wed, Mar 4, 2009 at 12:45 PM, Lawrence Krubner lkrub...@geocities.comwrote: On Mar 4, 5:50 am, Thomas Rabaix thomas.rab...@gmail.com wrote: view.yml all: javascript: -

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-03 Thread Damien Lepage
You can use sfJqueryReloadedPlugin which allows to specify a path to jquery.js in your app.yml The plugin does not handle the UI extension yet. I guess you can set the path to your UI js in a custom property of app.yml. 2009/3/3 Lawrence Krubner lkrub...@geocities.com I'm looking at this

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-03 Thread Lawrence Krubner
On Mar 3, 10:35 pm, Damien Lepage damienlep...@gmail.com wrote: You can use sfJqueryReloadedPlugin which allows to specify a path to jquery.js in your app.yml The plugin does not handle the UI extension yet. I guess you can set the path to your UI js in a custom property of app.yml.