Hey
The translate behaviour seems to be quite bad documented.
If you want to work with it correctly, you've to mind to set the locale
attribute:
$this->Yourmodel->locale = false; //storing multiple languages at once
$this->Yourmodel->locale = null; //will use the locale in your conf
$this->Your
Thank you for your help John, unfortunately this doesn't solve my
problem.
Here is the complete code:
$array =array('150'=>'channel150', '151'=>'channel151');
foreach ($array as $channel => $chan_name)
{
$this->Channel->create();
It is me again.
I thought there might be a problem with with my "0" value, but that's
not it, I tried to change the value from 1 to 2 instead of 0, and it
does the same. One value changes, not the other
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their C
Hello
I'm doing this inside a loop:
$this->Channel->create();
$this->Channel->id = $channel;
$this->Channel->saveField('is_first_transfer', '0')
I'm inside a loop, so the value of $channel change each time...
The problem is that even though a debug of the Channel table shows me
that the "is_fi
ast_twitt_id" => $last_twitt_id
> )
> );
> $this->ChannelsTwitterId->save($data, false); //without validation
> --
> Tilen Majerlehttp://majerle.eu
>
> 2010/10/25 matthieu
>
> > Hello everyone;
>
> > Savefield doesn't work, I don't know why, here
Hello everyone;
Savefield doesn't work, I don't know why, here is the code
$this->ChannelsTwitterId->id = $find_id;
$this->ChannelsTwitterId->saveField('last_twitt_id', $last_twitt_id);
I test the values $finnd_id and $last_twitt_id juste before and they
are correct... and there
Hello
I've added a simple plugin, I added a folder named "twitter" in
plugin. In it I added a twitter_app_controller.php,
twitter_app_model.php and a file named "controllers" with the
twitter_controller.php in it. (the models and views folder are
empty).
Problem: I have a function in my controll
Nothing I hate but one thing I find is really lacking, one that would
facilitate sharing code (pl and one that would ease development.
Really lacking to me are objects for objects instead of arrays in the
models, for example a People->find('all') would return objects on
which you can call methods
Hi!
Id like to choose a default value for this form element et I dont know
how? (exemple: defautl value: 01-01-1980 of Day-Month-YearÉ
echo $form->input('birthdate', array('dateFormat' => 'DMY',
'timeFormat' => 'none', 'minYear' => date('Y') - 100, 'maxYear' => date
('Y') - 6));
thks
--~--~
true if you want the code block printed in your view
> instead of the head.
>
> On Thu, Mar 5, 2009 at 12:40 AM, Matthieu
> wrote:
>
> > How, I dont know how to include a js file or code for one specific
> > view. The only way I found to include js files is to do it in th
How, I dont know how to include a js file or code for one specific
view. The only way I found to include js files is to do it in the
layout..
Thks for the help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP
thks, I checked inside the core file, I didnt see it, but I should
have been more persistent, I just found it, thks!
On 5 fév, 00:32, RodrigoRM wrote:
> http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
>
> On Feb 4, 9:30 am, Matthieu wrote:
>
> > Hi, I
Hi, I'd like to change the lifetime of a session variable to 30
minutes for example,
how can you do it? thks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-
Hello,
I'm gonna create a web app using CakePHP but I'm confused about
chosing between Jquery or Scriptalious? Which one should I choose?
Does it really matter? What's the differences between them?
tks
--~--~-~--~~~---~--~~
You received this message because you ar
Hi everybody,
I'm planning to make a web application, it's a kind of a social
network. Would you know some guidelines to make this app from A to Z.
Shall I start with the design, the data base or the php classes? Would
you know a well-known model about it because I don't know where to
start actua
Thanks guys for your help!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTE
Hello, I'd like to know which project editor you would recommend. I'm
planning to make a web application using the CakePHP framework.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this g
17 matches
Mail list logo