auth problem

2007-12-26 Thread ricarou51
Hi everybody ! How can I resolve this problem : if I try to connect to my application, it asks me a login and password , that's ok ! I'm now connected to the restricted area , that's ok too ! but now if I open a new window and try to connect to the application, it asks me nothing and connects m

uses a component in only one action of a contoller

2007-09-11 Thread ricarou51
Hey ! I would like to know if it's possible to use a component in only one action of a controller and not declaring for exemple var $components=array('mycomponent'), at the beginning of the contoller If so, what is the syntax ? Thanks a lot --~--~-~--~~~---~--~-

Re: Select which populate another select

2007-07-05 Thread ricarou51
> > *On Thu, Jul 05, 2007 at 07:36:06AM -0700 ricarou51 <[EMAIL PROTECTED]> > > wrote: > > > > From: ricarou51 <[EMAIL PROTECTED]> > > > To: Cake PHP > > > Subject: Select which populate another select > > > Date: Thu, 05 Jul 2007 0

Select which populate another select

2007-07-05 Thread ricarou51
Hello ! I have a select tag in a view and I would like to populate a second select tag in the same view with the id selected of the first select tag . It means for example, a select tag with id and province name, and i would like to populate a second select tag with id and town name with the id

Define a different layout for several actions in a controller

2007-06-08 Thread ricarou51
Hi Is it possible to define a layout different for example , with the 'add_user' view and login view, in the controler users ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to th

Re: Before saving data

2007-05-28 Thread ricarou51
thanks a lot On 28 mai, 16:24, francky06l <[EMAIL PROTECTED]> wrote: > beforeSave() (the name id really explicit), is where you should place > any specific data modification. If you use cake 1.2, you can make a > behavior. > > On May 28, 4:01 pm, ricarou51 <[EMAIL PROTEC

Re: Before saving data

2007-05-28 Thread ricarou51
( How can I do this ?) On 28 mai, 15:13, ricarou51 <[EMAIL PROTECTED]> wrote: > Hello, > > In my forms, when I 've got an input text, for example for a name, I > would like to "look" the data , is meaning making for example a > strtoupper of the data

Before saving data

2007-05-28 Thread ricarou51
Hello, In my forms, when I 've got an input text, for example for a name, I would like to "look" the data , is meaning making for example a strtoupper of the data posted before saving in the database ... Why can I do this ? Thanks --~--~-~--~~~---~--~~ You rece

Re: Why cake save to 0 value if you are editing a model ?

2007-05-23 Thread ricarou51
So cake considers 0 as default value for an integer isn't it ? On 23 mai, 15:44, "Davide" <[EMAIL PROTECTED]> wrote: > Chris Hartjes wrote: > > Perhaps I'm wrong, but last I checked you can't set an integer to > > NULL...the default for an integer would be zero, wouldn't it? > > on MySQL 4.1.14-n

Why cake save to 0 value if you are editing a model ?

2007-05-23 Thread ricarou51
Hello, I've this problem : for any table which contains 'int' fields ( I put default value at NULL in the database) , when I add a row whitout filling the input for my int field, there is no problem but when I edit a row , if the input for int field is empty, cake saves it to 0 and not to NULL .