Re: Translate behaviour / Save multiple languages at once

2012-12-24 Thread matthieu . riolo
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

Re: Problem with savefield method and phpmyadmin, strange behavior

2010-11-25 Thread matthieu
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();

Re: Problem with savefield method and phpmyadmin, strange behavior

2010-11-25 Thread matthieu
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

Problem with savefield method and phpmyadmin, strange behavior

2010-11-25 Thread matthieu
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

Re: Savefield won't work, or randomly...

2010-10-25 Thread matthieu
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

Savefield won't work, or randomly...

2010-10-25 Thread matthieu
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

Creating a plugin

2010-10-15 Thread matthieu
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

Re: Poll: what do you hate about CakePHP?

2009-05-08 Thread Matthieu Sadouni
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

Form Helper, default value

2009-03-10 Thread Matthieu
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 --~--~

Re: Include Javascript code for one specific view. how to?

2009-03-04 Thread Matthieu
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

Include Javascript code for one specific view. how to?

2009-03-04 Thread Matthieu
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

Re: lifetime session variable

2009-02-04 Thread Matthieu
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&#x

lifetime session variable

2009-02-04 Thread Matthieu
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-

Jquery or Scriptalicious?

2008-10-30 Thread Matthieu
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

need your help - project model

2008-10-23 Thread Matthieu
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

Re: PHP Editor

2008-10-20 Thread Matthieu
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

PHP Editor

2008-10-19 Thread Matthieu
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