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

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Display user's name after login (PHP)

2012-11-11 Thread franscelstain
// Controller
$this->Session->read('Auth');
 
Pada Sabtu, 10 November 2012 7:48:39 UTC+7, thelee menulis:
>
> hello.im creating a website.i want to show the user name after they 
> logged in and for those who dont register i want to leave any msg. when the 
> user login it will show welcome "the user name" but when the user dont log 
> in,it will be a error, can someone help me.
>
> here is the code
>
>  session_start();
>
> echo "Welcome ".$_SESSION['MM_Username'];
>
> else (isset($_SESSION['MM_Username'])) { 
> echo "why you dont register?";
> } 
> ?>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Autocomplete field to populate a select input example?

2012-11-01 Thread franscelstain
Can you show a complete script to me because I was a beginner and I want to 
learn

Pada Selasa, 03 Juli 2012 14:51:08 UTC+7, Michael menulis:
>
> 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.
>> The ajax call should call some controller method that searches for and 
>> returns the cities (in the selected state) in json for example. Once it has 
>> completed you populate the select box. 
>> You will need to do this on every change of the "State" field.
>>
>>
>> On Monday, 2 July 2012 16:39:05 UTC+3, Michael wrote:
>>>
>>> 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. Thanks
>>>
>>>
>>> ~Michael
>>>
>>  -- 
>> 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+u...@googlegroups.com  For more options, visit 
>> this group at http://groups.google.com/group/cake-php
>>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




CakePHP 2.x and ajax

2012-11-01 Thread franscelstain
is there someone who can teach me to use ajax in cakephp 2.x, because I am 
still very novice

thanks

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.