inside your view you need to havesomething like this:

<?php

echo $this->Form->create('User');
echo $this->Form->input('User.short_status');
echo $this->Form->end();

?>

and then inside your controller action:
$user['User']['short_status'] = $this->data['User']['short_status'];

also before save, you need to specify what user exactly are you saving,
something like this:

$this->User->id = $this->Auth->user('id');


2012/10/9 Chris <chris...@yahoo.com>

> hi Ivan,...
>
> it didn't work,... I even tried
> $user['User']['short_status'] = $this->data['User']['short_status'];
>
> no luck,...
>
>
> On Tuesday, October 9, 2012 12:22:57 PM UTC-7, ivnrmc wrote:
>
>> $user['User']['short_status'] = $this->data['User']['value'];
>>
>>
>>
>> 2012/10/9 Chris <chri...@yahoo.com>
>>
>>> hi guys,... I'm in cake 1.3,... please help,...
>>> I can't read form value from inplace editor in a controller,... any
>>> other approch,...?
>>>
>>>      $user['User']['short_status'] = $this->params['form']['value']**;
>>>
>>>       $this->User->save($user);
>>>       echo $user['User']['short_status'];
>>>       die();
>>>
>>> thanks in advance
>>>
>>>  --
>>> Like Us on FaceBook 
>>> https://www.facebook.com/**CakePHP<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...@googlegroups.com.
>>> To unsubscribe from this group, send email to cake-php+u...@**
>>> googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/cake-php?hl=en<http://groups.google.com/group/cake-php?hl=en>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> *Ivan Rimac***
>> mail: ivn...@gmail.com
>> *tel: +385 95 555 99 66*
>> *http://ivanrimac.com*
>>
>>   --
> 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.
>
>
>



-- 
*Ivan Rimac***
mail: ivn...@gmail.com
*tel: +385 95 555 99 66*
*http://ivanrimac.com*

-- 
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.


Reply via email to