Re: First CakePHP 2.2.5 install ==> 2 questions : Q1 about dispatcher and Q2 about tracing mechanism

2013-01-22 Thread Frank Fournier
Le mardi 22 janvier 2013 16:31:37 UTC-5, cricket a écrit : > > On Tue, Jan 22, 2013 at 8:30 AM, Frank Fournier > > wrote: > > Hi all, > > > > I am just starting with PHP and CakePHP... I have installed CakePHP with > a > > Softaculous script from my web host provider. > > > > I also made

Re: First CakePHP 2.2.5 install ==> 2 questions : Q1 about dispatcher and Q2 about tracing mechanism

2013-01-22 Thread lowpass
On Tue, Jan 22, 2013 at 8:30 AM, Frank Fournier wrote: > Hi all, > > I am just starting with PHP and CakePHP... I have installed CakePHP with a > Softaculous script from my web host provider. > > I also made the "Blog Post" tutorial work. > (http://book.cakephp.org/2.0/en/index.html#build-a-blog )

First CakePHP 2.2.5 install ==> 2 questions : Q1 about dispatcher and Q2 about tracing mechanism

2013-01-22 Thread Frank Fournier
Hi all, I am just starting with PHP and CakePHP... I have installed CakePHP with a Softaculous script from my web host provider. I also made the "Blog Post" tutorial work. (http://book.cakephp.org/2.0/en/index.html#build-a-blog ) Q1) When I type MyDomain.com/cake all verification stuff works

Re: 2 questions

2007-12-28 Thread Chris Hartjes
On Dec 28, 2007 4:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Yeah true, I guess that's what I'll have to do. If I write my own > queries though, none of the data validation that I have defined in the > model is applied correct? > Hrmyou *can* run validation on data without saving

Re: 2 questions

2007-12-28 Thread [EMAIL PROTECTED]
> Well, you could always just write some custom SQL to do it.  There are > times where the CakePHP DB model stuff just won't do what you need. > No shame in writing custom model functions that use hand-built SQL. Yeah true, I guess that's what I'll have to do. If I write my own queries though, n

Re: 2 questions

2007-12-28 Thread Chris Hartjes
On Dec 28, 2007 4:37 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I guess I could do a findall with the conditions I am looking for, do > a foreach on the results, set each result to the current record and > update each record individually, but this seems very inefficient. Is > there no way

Re: 2 questions

2007-12-28 Thread [EMAIL PROTECTED]
1st question answered, thanks, I was trying to put the order in with the conditions, I missed that there was another order field ;P. > $this->table->save() will insert if the table id isn't filled in > otherwise it'll try and update the current record. 2nd question: the problem is that I don't w

Re: 2 questions

2007-12-28 Thread Andrew Assarattanakul
> the first is about a conditions array, I can't find any documentation > on how to integrate "ORDER BY" into an array formatted conditions > statement like the one below. Does anyone know how to do this? > > $conditions= array > ("or" => > array > ( > "Post.title" => array("First

2 questions

2007-12-28 Thread [EMAIL PROTECTED]
the first is about a conditions array, I can't find any documentation on how to integrate "ORDER BY" into an array formatted conditions statement like the one below. Does anyone know how to do this? $conditions= array ("or" => array ( "Post.title" => array("First post", "Second po

Re: 2 questions about ACL

2007-04-10 Thread Langdon Stevenson
Your welcome :-) Langdon > Thank you. I actually found about gacl a couple days ago and I have > been looking into it. There's a cake plugin for it too. > > Later, > > Codecowboy --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: 2 questions about ACL

2007-04-10 Thread codecowboy
Hi Langdon, Thank you. I actually found about gacl a couple days ago and I have been looking into it. There's a cake plugin for it too. Later, Codecowboy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH

Re: 2 questions about ACL

2007-04-10 Thread Langdon Stevenson
PHPGACL would be a good place to start looking. I have no experience with it, but it the top of the heap for ACL in PHP (from what I have heard). There was a thread about it recently demonstrating integration with Cake. Regards, Langdon > Thank you for the reply. Do you know of any ACL imp

Re: 2 questions about ACL

2007-04-10 Thread codecowboy
Hi Landon, Thank you for the reply. Do you know of any ACL implementations (not necessarily for Cake) that do support users belonging to multiple groups? I am thinking about implementing my own and would to see if anyone else has done it before. Thank you, Codecowboy --~--~-~--~

Re: 2 questions about ACL

2007-04-10 Thread Langdon Stevenson
Hi CCB > 1. Can Cake's (1.x ) ACL support ARO's or ACO's that belong to > multiple groups? I know that a group can be a part of another group > but that isn't not what I'm talking about. I'm talking about an ARO > being part of two completely unrelated groups. No it can't. An ARO, or an ACO

2 questions about ACL

2007-04-09 Thread codecowboy
Hi Everyone, I have been working on a web application for some time now. My application requires an elaborate permissions schema. I have been trying to figure out Cake's ACL for a while. I've read every article that I could find about it. Here are the two questions that I have left. 1. Can