Re: autoComplete with jquery in cake 1.3

2013-05-30 Thread Arif Rahman
i got same problem, pls help

thanks

Pada Selasa, 29 Januari 2013 17:31:02 UTC+7, Chris menulis:
>
> 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't select 
> them,... 
>
> how can I fix this...? 
>
> this is my form: 
>
> Form->create('User'); ?>
>
> 
> autoComplete('User.firstname', '/users/autoComplete', 
> array('label' => false)); ?>
> 
>
> 
> Form->end(__('Search', true)); ?>
>  
>
>
> this is my function: 
>
> function autoComplete() {
>
> $this->set('members', $this->User->find('all', array(
> 'conditions' => array(
> 'User.firstname LIKE' => $this->params['url']['q'].'%'
> ),
> 'fields' => array('firstname')
> )));
> $this->layout = 'ajax';
> }
>
> and this is auto_complete.ctp file: 
>
> 
> 
>  
>
> 
> 
> 
>
> thanks in advance 
> chris 
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Shahruk Khan
This is not a CakePHP issue. Most likely a javascript / CSS issue, I'd bet 
javascript.

On Tuesday, January 29, 2013 5:31:02 AM UTC-5, Chris wrote:
>
> 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't select 
> them,... 
>
> how can I fix this...? 
>
> this is my form: 
>
> Form->create('User'); ?>
>
> 
> autoComplete('User.firstname', '/users/autoComplete', 
> array('label' => false)); ?>
> 
>
> 
> Form->end(__('Search', true)); ?>
>  
>
>
> this is my function: 
>
> function autoComplete() {
>
> $this->set('members', $this->User->find('all', array(
> 'conditions' => array(
> 'User.firstname LIKE' => $this->params['url']['q'].'%'
> ),
> 'fields' => array('firstname')
> )));
> $this->layout = 'ajax';
> }
>
> and this is auto_complete.ctp file: 
>
> 
> 
>  
>
> 
> 
> 
>
> thanks in advance 
> chris 
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Chris
hi cricket,... thank you for your reply,... 
I did install Firebug,... and I don't see any errors,... 

is there a way I can contact you? What's you website or contact info,... 


On Tuesday, January 29, 2013 2:56:10 PM UTC-8, cricket wrote:
>
> If you're seeing the results then it isn't a Cake problem. I'd guess 
> CSS, probably with the floats. Have you tried installing Firebug? 
>
> On Tue, Jan 29, 2013 at 5:31 AM, Chris > 
> wrote: 
> > 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't select 
> > them,... 
> > 
> > how can I fix this...? 
> > 
> > this is my form: 
> > 
> > Form->create('User'); ?> 
> > 
> >  
> > autoComplete('User.firstname', '/users/autoComplete', 
> > array('label' => false)); ?> 
> >  
> > 
> >  
> > Form->end(__('Search', true)); ?> 
> >  
> > 
> > 
> > this is my function: 
> > 
> > function autoComplete() { 
> > 
> > $this->set('members', $this->User->find('all', array( 
> > 'conditions' => array( 
> > 'User.firstname LIKE' => $this->params['url']['q'].'%' 
> > ), 
> > 'fields' => array('firstname') 
> > ))); 
> > $this->layout = 'ajax'; 
> > } 
> > 
> > and this is auto_complete.ctp file: 
> > 
> >  
> >  
> >   
> > 
> >  
> >  
> >  
> > 
> > thanks in advance 
> > chris 
> > 
> > -- 
> > 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 unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to cake-php+u...@googlegroups.com . 
> > To post to this group, send email to cake...@googlegroups.com. 
>
> > Visit this group at http://groups.google.com/group/cake-php?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread lowpass
If you're seeing the results then it isn't a Cake problem. I'd guess
CSS, probably with the floats. Have you tried installing Firebug?

On Tue, Jan 29, 2013 at 5:31 AM, Chris  wrote:
> 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't select
> them,...
>
> how can I fix this...?
>
> this is my form:
>
> Form->create('User'); ?>
>
> 
> autoComplete('User.firstname', '/users/autoComplete',
> array('label' => false)); ?>
> 
>
> 
> Form->end(__('Search', true)); ?>
> 
>
>
> this is my function:
>
> function autoComplete() {
>
> $this->set('members', $this->User->find('all', array(
> 'conditions' => array(
> 'User.firstname LIKE' => $this->params['url']['q'].'%'
> ),
> 'fields' => array('firstname')
> )));
> $this->layout = 'ajax';
> }
>
> and this is auto_complete.ctp file:
>
> 
> 
>  
>
> 
> 
> 
>
> thanks in advance
> chris
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.