Monday, January 23, 2012

Re: Including JQuery

There isn't a helper called jquery. You would use the JS helper and
specify the javascript engine you want to use:

public $helpers = array('Js' => array('Jquery'));

http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html?highlight=jquery

On Jan 23, 3:31 pm, Thiago Silva <thisi...@gmail.com> wrote:
> Hello,
>
> I'm using CakePHP 2.0.4 and I tried to use JQuery with it.
> But when I write in the controller $helpers = array('jquery')
> everything stops working.
> And I get a messagem saing that the function create isn't recognized.
> Can I find any tutorial about that?
>
> Thanks,
> Thiago

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate