Re: passing form inputs into controller

2013-03-23 Thread Chris
the problem is solved,... $subject = $this-data['GroupMember']['subject']; $content = $this-data['GroupMember']['content']; thanks On Friday, March 22, 2013 10:59:10 PM UTC-7, Chris wrote: hi guys,... can anyone help please,... I working on group where group owner can send email to

Should validation 'allowEmpty' be removed?

2013-03-23 Thread Sebastiaan van Stijn
I've encountered many new CakePHP users that were a bit confused by the 'allowEmpty' option in validation rules. Thinking about this issue, I must say that I agree. 'allowEmpty' is confusing because it's both an 'option' for a validation rule (it can be combined with another rule), *and *can

Check if permission is inherited

2013-03-23 Thread LDSign
Hi Acl-check() only returns if a permission is granted or not. Is there a way to check (for a single element) if the permission is directly granted/denied or just inherited? Thanks, Frank -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: Solution for CakePHP newbies who are stuck with messages like - Error: PostController could not be found

2013-03-23 Thread Miles J
CakePHP requires that you understand PHP. The fact that you didn't know that is unsettling. On Saturday, November 24, 2012 12:53:19 PM UTC-8, Mike Pritchard wrote: I struggled with the problems described in messages from new CakePHP users. The Cake install looked OK, but when I went through

Re: Check if permission is inherited

2013-03-23 Thread godjen99
Recently I have been rolling my own to get this. I came up with a process, the work is proprietary My suggestion would be to look into the using the Aro's (user/group) getPath and using the IDs to look up the specific permissions (aros_acos table) . From there you can look up your Aco data