Re: JQuery autocomplete on Cakephp 3.0

2015-10-13 Thread Raul Magdalena Catala
hola, Solucionado, para que jquery autocomplete, los campos devueltos deben llamarse "value" y "label" El dilluns, 12 octubre de 2015 22:48:52 UTC+2, Christian Quispe va escriure: > > Revisa si tienes los css incluidos. > > > > Enviado con MailTrack

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
gt;> >> >> >> El divendres, 9 octubre de 2015 7:06:21 UTC+2, Christian Quispe va >> escriure: >> >> Ahiy esta el error. Hay un problema con la función. >> >> Este tema del jquey, ajax y json es bien fácil. Fresh. Compartenos el >> código del controlador

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Raul Magdalena Catala
s bien fácil. Fresh. Compartenos el > código del controlador para ver en que has metido la pata > > Enviado desde Gmail para Moto G > > www.oxicode.io > El oct. 8, 2015 2:08 AM, "Raul Magdalena Catala" > escribió: > > Hola Christian, > > tengo un archivo c

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
es'); >> } >> } >> } >> >> >> >> El divendres, 9 octubre de 2015 7:06:21 UTC+2, Christian Quispe va >> escriure: >> >> Ahiy esta el error. Hay un problema con la función. >> >> Este tema del jquey, ajax y js

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Raul Magdalena Catala
código del controlador para ver en que has metido la pata > > Enviado desde Gmail para Moto G > > www.oxicode.io > El oct. 8, 2015 2:08 AM, "Raul Magdalena Catala" > escribió: > > Hola Christian, > > tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. >

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
;> >> www.oxicode.io >> El oct. 8, 2015 2:08 AM, "Raul Magdalena Catala" >> escribió: >> >>> Hola Christian, >>> >>> tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. >>> >>> la ruta en el script es correcta: &g

Re: JQuery autocomplete on Cakephp 3.0

2015-10-09 Thread Raul Magdalena Catala
Catala" > escribió: > >> Hola Christian, >> >> tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. >> >> la ruta en el script es correcta: >> >> $(document).ready(function(){ >> $('#autocomplete').autocomplete(

Re: JQuery autocomplete on Cakephp 3.0

2015-10-08 Thread Christian Quispe
ó: > Hola Christian, > > tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. > > la ruta en el script es correcta: > > $(document).ready(function(){ > $('#autocomplete').autocomplete({ > source: "/cars/index.json", > }); > }

Re: JQuery autocomplete on Cakephp 3.0

2015-10-08 Thread Raul Magdalena Catala
Hola Christian, tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. la ruta en el script es correcta: $(document).ready(function(){ $('#autocomplete').autocomplete({ source: "/cars/index.json", }); }); finalmente te paso la pertaña n

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Christian Quispe
t; Christian Quispe >> >> *Geek and Developer* >> *Miembro: * *GDG Lima (Google Developer Group Lima)* >> >> *Portafolio: www.oxicode.io >> <https://mailtrack.io/trace/link/f90a24cbce9603049712749436540c6015285ce9?url=http%3A%2F%2Foxicode.io&signature=b56e0

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Raul Magdalena Catala
e9603049712749436540c6015285ce9?url=http%3A%2F%2Foxicode.io&signature=b56e083071470d63>* > > *¿A quién le enseñan sus aciertos?, si yo aprendo de mis errores > constantemente...* > > > 2015-10-07 16:42 GMT-05:00 Raul Magdalena Catala >: > >> Hello, >>

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Christian Quispe
constantemente...* 2015-10-07 16:42 GMT-05:00 Raul Magdalena Catala : > Hello, > i'm trying to use the following example of JQuery autocomplete with Cakephp > > > http://zenofcoding.com/2013/08/27/cakephp-and-jquery-auto-complete-revisited/ > > The important change betw

JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Raul Magdalena Catala
Hello, i'm trying to use the following example of JQuery autocomplete with Cakephp http://zenofcoding.com/2013/08/27/cakephp-and-jquery-auto-complete-revisited/ The important change between versions (if i'm not wrong) is how to enable the parsing of extensions in both cases it is d

Re: Cakephp Autocomplete Tutorial ajax error

2015-03-25 Thread Dario Espina
Check this: http://stackoverflow.com/questions/19911685/cakephp-trying-to-send-a-ajax-request/19938762#19938762 On Saturday, January 31, 2015 at 8:13:54 PM UTC-4, ajt wrote: > > > > In CakePHP, I am trying to create a autocomplete function from a textbox, > using this

Re: Cakephp Autocomplete Tutorial ajax error

2015-02-01 Thread euromark
to create a autocomplete function from a textbox, > using this tutorial: http: > //bakery.cakephp.org/articles/matt_1/2011/08/07/yet_another_jquery_autocomplete_helper_2 > > > I keep getting a > > Undefined index: autoCompleteText > > > I solved the helper issue as

Cakephp Autocomplete Tutorial ajax error

2015-01-31 Thread ajt
In CakePHP, I am trying to create a autocomplete function from a textbox, using this tutorial: http: //bakery.cakephp.org/articles/matt_1/2011/08/07/yet_another_jquery_autocomplete_helper_2 I keep getting a Undefined index: autoCompleteText I solved the helper issue as it finds the

CakePHP autocomplete tutorial ajax error

2015-01-31 Thread ajt
Hi, In CakePHP, I am trying to create a autocomplete function from a textbox, using this tutorial: http://bakery.cakephp.org/articles/matt_1/2011/08/07/yet_another_jquery_autocomplete_helper_2 I keep getting a Error: AutoCompleteHelper could not be found. Undefined index: autoCompleteText

Re: cant get autocomplete function to find helper class

2015-01-31 Thread ajt
I checked the docs and the autocomplete tutorial is for cakephp 1.X To use it for cakephp 2.X I couldnt get it to work so I am stuck -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed

cant get autocomplete function to find helper class

2015-01-30 Thread ajt
In CakePHP, I am trying to create a autocomplete function from a textbox, using this tutorial: http://bakery.cakephp.org/articles/matt_1/2011/08/07/yet_another_jquery_autocomplete_helper_2 I keep getting a Error: AutoCompleteHelper could not be found. Undefined index: autoCompleteText I am

Re: CakePHP 3.0 autocomplete

2014-10-02 Thread Radharadhya Dasa
Thank you. I have an other approach to this. I will make a plugin based on that. rrd 2014-10-02 7:44 GMT+02:00 heavyKevy : > I got the Autocomplete widget to work with the following: > > Same autocomplete widget file as you but different code in controller and > view file:

Re: CakePHP 3.0 autocomplete

2014-10-01 Thread heavyKevy
I got the Autocomplete widget to work with the following: Same autocomplete widget file as you but different code in controller and view file: Controller: public $helpers = [ 'Form' => [ 'widgets' => [ 'autocomplete

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread Dr. Tarique Sani
Yes, you should have a form template called autocomplete which your widget is using. See http://book.cakephp.org/3.0/en/core-libraries/helpers/form.html#customizing-the-templates-formhelper-uses and http://www.sanisoft.com/blog/2014/08/11/twitter-bootstrap-forms-cakephp-3/ Specifically Step 2

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread Radharadhya Dasa
> Show us the from template for autocomplete I do not have anything else. Should I? Rrd > > T > > On Tue, Sep 30, 2014 at 7:59 PM, Radharadhya Dasa wrote: >> >> 1. /src/View/Widget/Autocomplete.php >> >> > namespace App\View\Widget; >> >>

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread Dr. Tarique Sani
Show us the from template for autocomplete T On Tue, Sep 30, 2014 at 7:59 PM, Radharadhya Dasa wrote: > 1. /src/View/Widget/Autocomplete.php > > namespace App\View\Widget; > > use Cake\View\Widget\WidgetInterface; > use Cake\View\Form\ContextInterface; > > class

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread Radharadhya Dasa
1. /src/View/Widget/Autocomplete.php _templates = $templates; } public function render(array $data, ContextInterface $context) { $data += [ 'name' => '', ]; return $this->_templates->format('autocomplete

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread José Lorenzo
I would have to see your code to understand what your are doing On Tuesday, September 30, 2014 3:17:26 PM UTC+2, Radharadhya Dasa wrote: > > Thank you. Silly things sometimes hard to find... > > echo $this->Form->autocomplete('name'); > > Now I do not hav

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread Radharadhya Dasa
Thank you. Silly things sometimes hard to find... echo $this->Form->autocomplete('name'); Now I do not have any error message but no code is generated the above code do not echoes anyting. I am pretty sure that I missed something simple. 1. I created /src/View/Widget/Autocompl

Re: CakePHP 3.0 autocomplete

2014-09-30 Thread José Lorenzo
You are probably missing a "use *Cake\View\Form\ContextInterface*" at the top of your file On Tuesday, September 30, 2014 2:33:24 PM UTC+2, Radharadhya Dasa wrote: > > Hi, > > I am trying to make an autocomplete input work on Cake 3.0 > > The current 3.0 cookbo

CakePHP 3.0 autocomplete

2014-09-30 Thread Radharadhya Dasa
Hi, I am trying to make an autocomplete input work on Cake 3.0 The current 3.0 cookbook gives a code example here : http://book.cakephp.org/3.0/en/core-libraries/helpers/form.html If I try it I get an error message: *Fatal error*: Declaration of App\View\Widget\Autocomplete::render() must

Autocomplete version 2.5

2014-07-31 Thread Carleandro Noleto
Hi, Would you like autocomplete in cakephp version 2.5, I've tried several tutorials and could not, can someone help me? a hint which that thing. I thank -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this me

Re: autoComplete with jquery in cake 1.3

2013-05-30 Thread Arif Rahman
lper http://www.cakephp.4uk.pl/ajax/autoComplete ,... > I can see the "fistnames" in autocomplete form field, but I can't select > them,... > > how can I fix this...? > > this is my form: > > Form->create('User'); ?> > >

filter multiple fields problem in autoComplete cake 1.3

2013-03-28 Thread Chris
hi guys,... can anyone help please,... I'm using cake 1.3 I have a autoComplete form where I want to search and filter/results members by 'firstname', 'lastname', and 'city',... It only works with 'firstname' : e.g. here is the form: Form-

Re: autocomplete issue in cake 1.3

2013-02-25 Thread Chris
sorry guys,... I misstyped form,... this is the right one: Form->create('User', array('url' => '/users/search')); ?> Ajax->autoComplete('User.name', '/users/autoComplete', array('label' => false)); ?> Form->e

autocomplete issue in cake 1.3

2013-02-22 Thread Chris
hi guys,... can someone help please,... I have a autocomplete issue in cake 1.3 I'm using jquery helper from http://www.cakephp.4uk.pl/ajax/autoComplete I manage to see the results in form field, this is my search.ctp file: Form->create('User', array('action'

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Shahruk Khan
query.autocomplete.min.js from Ajax Javascript > helper http://www.cakephp.4uk.pl/ajax/autoComplete ,... > I can see the "fistnames" in autocomplete form field, but I can't select > them,... > > how can I fix this...? > > this is my form: > > For

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Chris
> > > > I got all setup, including jquery.autocomplete.min.js from Ajax > Javascript > > helper http://www.cakephp.4uk.pl/ajax/autoComplete ,... > > I can see the "fistnames" in autocomplete form field, but I can't select > > them,... > >

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread lowpass
> I got all setup, including jquery.autocomplete.min.js from Ajax Javascript > helper http://www.cakephp.4uk.pl/ajax/autoComplete ,... > I can see the "fistnames" in autocomplete form field, but I can't select > them,... > > how can I fix this...? > &g

autoComplete with jquery in cake 1.3

2013-01-29 Thread Chris
hi guys,.. can you help me please,... I'm in cake 1.3 and using jquery libraries I got all setup, including jquery.autocomplete.min.js from Ajax Javascript helper http://www.cakephp.4uk.pl/ajax/autoComplete ,... I can see the "fistnames" in autocomplete form field, but I can

Re: CakePHP 2.2 and Autocomplete Jquery

2012-11-21 Thread Rob M
This code snippet needs refactoring in order to use JsHelper, but it works: controller code (Controllers/PeopleController.php): function autoComplete() { $this->autoRender = false; $search_string = trim($this->request->query['term']); if (!is_null($search_string

Re: CakePHP 2.2 and Autocomplete Jquery

2012-11-20 Thread gimmebucks
Attach jquery ui autocomplete to your page. Then change the 'source' to your controller's action(output in json). make sure the json output have id and label field. sample json output for autocomplete http://gimmebucks.asia/tafsir/keywords/getlist.json?term=sahabat On Tuesday, 2

Re: CakePHP 2.2 and Autocomplete Jquery

2012-11-20 Thread franscelstain
if anyone can give an example? Pada Senin, 12 November 2012 11:01:40 UTC+7, franscelstain menulis: > > Is there someone who can help me make jquery autocomplete using CakePHP 2.2 > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: CakePHP 2.2 and Autocomplete Jquery

2012-11-12 Thread Scofield
I think it's only JavaScript problem, not PHP. Понеділок, 12 листопада 2012 р. 06:01:40 UTC+2 користувач franscelstain написав: > > Is there someone who can help me make jquery autocomplete using CakePHP 2.2 > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us o

CakePHP 2.2 and Autocomplete Jquery

2012-11-11 Thread franscelstain
Is there someone who can help me make jquery autocomplete using CakePHP 2.2 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

Re: Autocomplete field to populate a select input example?

2012-11-01 Thread franscelstain
>> I am assuming that you've got he autocomplete working. So what you >> basically need to do is to make an ajax call to retrieve all cities in that >> state once it is entered. >> The ajax call should call some controller method that searches for and >> retu

Re: Autocomplete example for cakephp 2.2

2012-07-25 Thread gonzela2006
Hi Greg, I want an example for cakephp 2.1.x or 2.2.x. Thanks On Wednesday, July 25, 2012 6:16:06 PM UTC+2, Greg wrote: > > I use a jQuery autocomplete control > and write a method in the desired controller which returns JSON and must > be requested as XHR ($this->re

Re: Autocomplete example for cakephp 2.2

2012-07-25 Thread Greg Skerman
I use a jQuery autocomplete control and write a method in the desired controller which returns JSON and must be requested as XHR ($this->request->is('ajax');) pretty straight forward to implement this way. Json views make it ridiculously straight forward (just a bit of config rea

Re: Autocomplete example for cakephp 2.2

2012-07-25 Thread euromark
Although the description might be german, the example itself should be understandable: http://www.cakephp-forum.de/tutorials-und-snippets/autocomplete-mit-jquery-t1211.html Am Mittwoch, 25. Juli 2012 14:48:37 UTC+2 schrieb Dr. Tarique Sani: > > Keep your js separate from the php a

Re: Autocomplete example for cakephp 2.2

2012-07-25 Thread Dr. Tarique Sani
Keep your js separate from the php and any solution will work. Tell us what specifically is not working Cheers Tarique On Wed, Jul 25, 2012 at 6:40 AM, Christopher von Hessert wrote: > Hi, I'm looking all over google for a way to implement a Autocomplete input > field with n

Autocomplete example for cakephp 2.2

2012-07-25 Thread Christopher von Hessert
Hi, I'm looking all over google for a way to implement a Autocomplete input field with no luck. All examples I have found are for cakephp < 1.3 Does anyone have a working example for cakephp 2.2? Thanks. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cak

Re: Autocomplete field to populate a select input example?

2012-07-03 Thread Michael Gaiser
I got it working. Thanks. On Tue, Jul 3, 2012 at 12:37 AM, Борислав Събев wrote: > Hi there. > > I am assuming that you've got he autocomplete working. So what you > basically need to do is to make an ajax call to retrieve all cities in that > state once it is entered. &g

Re: Autocomplete field to populate a select input example?

2012-07-02 Thread Борислав Събев
Hi there. I am assuming that you've got he autocomplete working. So what you basically need to do is to make an ajax call to retrieve all cities in that state once it is entered. The ajax call should call some controller method that searches for and returns the cities (in the selected

Autocomplete field to populate a select input example?

2012-07-02 Thread Michael Gaiser
So I have an auto-complete field where you can type in the name of a state, and once it fills in the field, I want it to show another select input which is populated by all the cities in that state. Does anyone have a link to a tutorial or example of this? It will save me having to hack it together

Cakephp1.3 autocomplete problem

2012-05-14 Thread Mangesh Sathe
Hello all , I need some help on autocomplete, I want to fetch merchant names from database. Here is my code. controller set('title_for_layout', 'Select Merchant: Loyalty card'); $this->set('merchant&#x

autocomplete

2012-02-28 Thread heohni
Hi, I having problem with an autocomplete function. I have a form with a search input. Via jquery I catch the submit function and do a $.post(); to my search controller/action which returns the found data to a view via $this->set(compact('data')); I used this->layout = 'a

Re: jquery autoComplete in cakephp 1.3

2011-10-13 Thread WebbedIT
Go follow the extremely good tutorials over at jQuery UI, if you have tried and failed then by all means tell us what went wrong or you do not understand. For a CakePHP slant on how to do this try using Google: http://www.google.co.uk/search?q=cakephp+jquery+ui+autocomplete HTH, Paul On Oct 11

Re: jquery autoComplete in cakephp 1.3

2011-10-11 Thread Eric Blanpied
I've found it quite easy with jquery UI. Something like this ought to work in your .ctp file. Where #UserName is your field's id, and $usernames is the list of choices. If you want your autocomplete to do server-side lookup, check the jquery UI docs. $(document).read

Re: jquery autoComplete in cakephp 1.3

2011-10-11 Thread hoss7
please :) -- 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+unsubscr...@googlegroups.

Re: jquery autoComplete in cakephp 1.3

2011-10-11 Thread flo.kl...@googlemail.com
7 schrieb: tell me best way for create autoComplete with jquery in cakephp 1.3 -- 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 unsubs

jquery autoComplete in cakephp 1.3

2011-10-11 Thread hoss7
tell me best way for create autoComplete with jquery in cakephp 1.3 -- 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

Re: Doubt in autocomplete jquery

2011-09-29 Thread Sathia S
Hi, Thank you for your reply. > > [{"id":1,"value":"villivakkam","label":"villivakkam", }] > I tried this too . even now i cannot view list. Regards sathia http://www.sathia27.wordpress.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the n

Re: Doubt in autocomplete jquery

2011-09-29 Thread luca capra
I think you should add a "label" value to the results [{"id":1,"value":"villivakkam","label":"villivakkam",}] On 29/09/2011 19:03, Sathia S wrote: Hi, I am working in basic of autocomplete in cakephp. When i enter th text in

Doubt in autocomplete jquery

2011-09-29 Thread Sathia S
Hi, I am working in basic of autocomplete in cakephp. When i enter th text in input, i request for server and return json output (i.e) it shows result in firebug. I am not getting list in view. In view file [code] $songs_array = array(); foreach($songs as $key => $value){ array_p

AutoComplete

2011-07-26 Thread Chris DB
Hi there, AutoComplete of AjaxHelper is it working? I followed the procedure at http://book.cakephp.org/view/1370/autoComplete and never seen any effect with my web apps textfield. Prototype JavaScript and other components are properly loaded. So what is the proper steps to use to work with

Re: how can I get a label back on my autocomplete field

2011-05-26 Thread thom
> echo $ajax->autoComplete('Charity.charity_name', '/charities/ > autoComplete', array('label' => 'Search for')); It works. Indeed, labeling autocomplete field is like that. :) Try to see your source code in your browser. Might be you'

how can I get a label back on my autocomplete field

2011-05-26 Thread burrencarr...@hotmail.com
Hey there, I have a search box on my cakephp 1.3 site which I've just converted into being an autocomplete field using the ajax helper. All works fine but I used to be able to label the field, ie by using this: echo $form->create("Charity",array('action' =>

Re: Autocomplete using javascript - newb question

2011-05-20 Thread dreamingmind
could write: $("#GalleryLabel").autocomplete("autocomplete_ajax.cfm"); Regards Don On May 20, 7:59 am, MeatSandwich wrote: > I'm new to javascript and I'm trying to > usehttp://www.pengoworks.com/workshop/jquery/autocomplete.htmbut I don't > understa

Autocomplete using javascript - newb question

2011-05-20 Thread MeatSandwich
I'm new to javascript and I'm trying to use http://www.pengoworks.com/workshop/jquery/autocomplete.htm but I don't understand the documentation. I want to use http://code.google.com/p/searchable-behaviour-for-cakephp/ and the box I want the autocomplete to work its magic on is

Re: Implement AJAX Autocomplete

2011-05-17 Thread pedrosas
I'm trying with this code and can not find the error Js->buffer( $('city.nombre').autocomplete({ source: "/cities/autocomplete", }); ?> On 11 abr, 09:35, Jens Dittrich wrote: > Actually it is really simple. You need to have the > jQueryUIautocompletel

Re: Another AJAX Autocomplete question

2011-04-23 Thread turbo2ltr
Thanks, I suppose I was thinking it was harder, or more integrated than it was. Using the info you gave me, I was able to get the example here modified and working with my data. http://blogfreakz.com/cakephp/cakephp-jquery-autocomplete-tutorial/ On Apr 23, 7:11 pm, cricket wrote: > On

Re: Another AJAX Autocomplete question

2011-04-23 Thread cricket
On Sat, Apr 23, 2011 at 3:25 PM, turbo2ltr wrote: > I see there are a lot of questions about implementing AJAX > autocomplete, but I'll be dammed if every single thing on the subject > is woefully confusing or from the mid 2000s. > > I go to the 1.3 cookbook under Ajax and

Another AJAX Autocomplete question

2011-04-23 Thread turbo2ltr
I see there are a lot of questions about implementing AJAX autocomplete, but I'll be dammed if every single thing on the subject is woefully confusing or from the mid 2000s. I go to the 1.3 cookbook under Ajax and right at the top is says AjaxHelper is depreciated, then it goes on to talk

Re: Implement AJAX Autocomplete

2011-04-11 Thread Jens Dittrich
Actually it is really simple. You need to have the jQueryUI autocomplete library in your applications js folder (webroot/js), without that, it won't work. In the view you only need a few lines of code like: $this->Js->buffer( '$("ID_OF_THE_AUTOCOMPLETE_INPUT"

Implement AJAX Autocomplete

2011-04-10 Thread tubiz
Please I have been trying to implement the AJAX autocomplete found in the Cakephp 1.3 cookbook but I havent gotten it to work. There is a artist table in my database and I would like to implement autocomplete for a field in the Submit action in the Lyrics controller The autocomplete will be

extends autoComplete - Need ID of chosen element and set it inside hidden field

2011-03-26 Thread Mariano C.
I followed http://book.cakephp.org/view/632/autoComplete, and this work. Now the problem is: I choose an element from suggested items, but actually I haven't ID so this isn't so usefull. It could be better if as soon I choose an element, it's id will be stored immediatly inside an h

[Ask] ModalBox vs AutoComplete. Conflict or something?

2011-03-11 Thread thom
Hello,, I'm having problem using modalBox. I have a work autocomplete in add user script. But when i combined it using modalbox, it doesn't work. If I access it normally, it worked. Can someone help? ## autocomplete() ##

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2011-03-06 Thread Michael T
So Nic, you got it to work? I didn't have to change the $_callbackArguments field; I just modified the callback arguments within my implementation of autocomplete(). -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2011-02-21 Thread Nic
Sent from my iPhone On Feb 21, 2011, at 1:42 AM, "Nic [via CakePHP]" < ml-node+3393716-227172156-150...@n5.nabble.com> wrote: You will also need to add this as part of the $_callbackArguments : 'autocomplete' => array(

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2011-02-21 Thread Nic
You will also need to add this as part of the $_callbackArguments : 'autocomplete' => array( 'search' => 'event, ui', 'open' => 'event, ui', 'f

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2011-02-21 Thread nic
How did you get autocomplete to work with jQuery? I can only find it separate with jQuery UI and nothing as to how they work together ... or am I missing something and way off from the start here? -- View this message in context: http://cakephp.1045679.n5.nabble.com/CakePHP-1-3-JSHelper-and

$ajax->autoComplete

2011-01-25 Thread Rocco Luca Tallarita
Hello everyone, this issue ... I have an autocomplete text field that displays the field "codice" but i would assign the value "cod_mezzi". I state that the table does not use conventional names. These lines that I wrote. model mean.php array(                     'c

Re: official way to create autoComplete field

2011-01-07 Thread ojonam
: > Unfortunately autoComplete doesn't come out of the box for the jsHelper in > 1.3 > > This old thread may help > you:http://cakephp.1045679.n5.nabble.com/CakePHP-1-3-JSHelper-and-Autocom... > > On 6 January 2011 18:03, rethab wrote: > > > > > Hey guys > > >

Re: official way to create autoComplete field

2011-01-07 Thread Stephen
Unfortunately autoComplete doesn't come out of the box for the jsHelper in 1.3 This old thread may help you: http://cakephp.1045679.n5.nabble.com/CakePHP-1-3-JSHelper-and-Autocomplete-Missing-method-td3270384.html On 6 January 2011 18:03, rethab wrote: > Hey guys > > With version

official way to create autoComplete field

2011-01-06 Thread rethab
Hey guys With version 1.3, the AJAX and JavaScript Helper have become deprecated. Since there is no autoComplete method in Js nor in HTML Helper, what is the official way to make such a field? Do I have to make it on my own? Any advice is appreciated! - RetHab Check out the new CakePHP

ajax autocomplete method

2010-11-26 Thread marvelade
Hi All, I'm making a search form for our document library at work. Document HABTM keyword. In the search form I'd like an autocomplete AJAX input field to find a registered keyword. I followed this tutorial: http://mrphp.com.au/code/search-forms-cakephp but it doesn't seem

Ajax Helper autoComplete

2010-11-23 Thread macpclinux
I have been using CakePHP for a short while but, recently tried to use autoComplete for one of my displays. During my testing I felt it necessary to include an option array for 'after' to call a javascript of mine. While the code does not break the page display or any of t

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2010-11-23 Thread Michael T
I ran into this issue a while ago. I decided to add the autocomplete method to the JsHelper / jQuery engine myself. Here's what you need to do. In jquery_engine.php, you need to create an autocomplete method. You can copy/paste from a similar method e.g. the 'sortable' method. Yo

Re: CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2010-11-18 Thread nurvzy
That cookbook link you reference is for the Ajax Helper, not the JsHelper. To my knowledge autocomplete is not supported out of the box using the JsHelper. But it's simple enough to do on your own. http://docs.jquery.com/UI/Autocomplete Nick On Nov 18, 1:09 am, Louie Miranda wrote: &

CakePHP 1.3, JSHelper and Autocomplete, Missing method?

2010-11-18 Thread Louie Miranda
I am trying to migrate my autocomplete to JSHelper using JQuery (As the default). And I think there are no documentation or examples yet that has been publicized as of this writing. Anyway, I did what the manual has told... *Controller:* var $helpers = array('Html', 'Form', &

Re: Autocomplete with Ajax doesn't work in Chrome/Chromium

2010-09-07 Thread DerBjörn
I have to say something additional: It is right that it doesn't work in Chromium at all, but i have a strange problem in Firefox and Opera too: When i start a browser it is necessary that i first of all use an ajax autocomplete of another view (ViewB) to make it work in my current view (ViewA

Autocomplete with Ajax doesn't work in Chrome/Chromium

2010-09-05 Thread DerBjörn
Hi, I want to use an autocomplete of states and cities with Ajax in a form. It works perfectly in Firefox and Opera, but not in Chromium. Which can be the reasons or how/what i have to check to get an idea of its malfunction?!? What i already checked is the fact that JavaScript is activated

Re: Autocomplete

2010-08-24 Thread Philip Thompson
what? Any > thoughts would be appreciated! > > http://clientcide.com/docs/3rdParty/Autocompleter.Remote > http://www.clientcide.com/wiki/cnet-libraries/11-3rdparty/03-autocompleter.remote > > Thanks in advance, > ~Philip > > http://lonestarlightandsound.com/ Figu

Autocomplete

2010-08-23 Thread Philip Thompson
Hi all. I'm using MooTools 1.2.4 and CakePHP 1.3. I'm attempting to get Autocompleter.Ajax.Json() working, but I'm not seeing the result list. Firebug is letting me know that the query is returning the correct results, but still not seeing anything. From the Cake side of things, am I approachin

Re: Autocomplete result not shown

2010-08-17 Thread Kasimir
5:51, Kasimir wrote: > Hi group! > > After reading many pages and this group I'm not able to find my bug, > why my result of the autocomplete-request is not shown on my page. > > Here's what I have so far: > > controller: > -- > class RadacctsControl

Autocomplete result not shown

2010-08-16 Thread Kasimir
Hi group! After reading many pages and this group I'm not able to find my bug, why my result of the autocomplete-request is not shown on my page. Here's what I have so far: controller: -- class RadacctsController extends AppController { var $name = 'Radacct

Re: Autocomplete, can't find $this->data?

2010-08-04 Thread Dan Heberden
e solution. > > $this->params['form']['q']; > > Instead of > > $this->data['q'] > > Which is not working. > > Regards, > -- > Louie Miranda >  - Email: lmira...@gmail.com >  - Web:http://www.louiemiranda.com &

Re: Autocomplete, can't find $this->data?

2010-08-03 Thread Louie Miranda
p://www.louiemiranda.com On Wed, Aug 4, 2010 at 11:04 AM, Louie Miranda wrote: > I tried the ajax autocomplete manual. > http://book.cakephp.org/it/view/1370/autoComplete > > *PROBLEM:* > >1. I can't seem to query $this->data['q']; >2. Theref

Autocomplete, can't find $this->data?

2010-08-03 Thread Louie Miranda
I tried the ajax autocomplete manual. http://book.cakephp.org/it/view/1370/autoComplete *PROBLEM:* 1. I can't seem to query $this->data['q']; 2. Therefore, the auto complete list shows, everything. And not the specific keyword or "q" value. How will I quer

Autocomplete Help

2010-07-05 Thread siju joseph
I need a help in Autocomplete in cakephp. My controller: class AmaladdsController extends AppController { var $name = 'Amaladds'; var $helpers = array('Html', 'Form', 'Javascript', 'Ajax', 'Layout'); .. ... . functi

Re: Autocomplete is not working

2010-06-10 Thread cricket
On Jun 10, 3:20 am, Vijay wrote: > Hello All, > > I am using the cakephp ajax autocomplete, but it is not giving me any > response back. > > I tried with the other ajax methods like observerfield it is working > fine. But when i try with the autocomplete it calls the functi

Re: Autocomplete is not working

2010-06-10 Thread John Andersen
Please provide more information! 1) Provide the code for the controller method that will deliver the data. 2) Provide the code for the view that will return the delivered data. 3) Provide the code for the view in which the autocomplete is required. Enjoy, John On Jun 10, 10:20 am, Vijay

  1   2   3   4   >