Hi,
I find myself repeating myself with some simple code snippets i have
functions for simple tasks that i tend to repeat often (like finding a
unique filename from a directory and grabbing a files extension etc
etc), I put these functions inside components that i have written as
well as controll
as come accross this behaviour before, or knows the reason
that its happenign i would be very interested in hearing about it -
thanks in advance.
Cheers, Q
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP&
[update] - problem is with the 'AND NOT' syntax it seems - looking
around for alternative method now, if anybody can think of alternative
syntax that is more globaly compatible with later versions of mysql
then that would be great. this looks like its going to require
modification to the core of
5.0.51a-3ubuntu5.1 doesnt seem to like that syntax - any
ideas?
Cheers, Q
--~--~-~--~~~---~--~~
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 unsubscri
try this: http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/
worked for me, doesnt go as deep as ACL's but is a good start...
Louie Miranda wrote:
> Thanks everyone.
>
> All along, I thought CakePHP does not have a default authentication. But
> from clark ryan's post and I also re
I found this really useful,
http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroup
Hi, I've actuall just sussed this out so i'm going to post the
solution here incase anyone else searches on this problem:
I put this in my app_controller inside function beforeFilter:
//this first line tests to see if the user is in the admin group - in
this case with the ID of 1
if ($this->Au
Hi,
I have a project setup to authorise access to both admin pages (admin
routes) and public pages using different groups for acess levels (eg
user and admin)
everything works fine - except i want to be able to redirect to 2
different pages (areas) for admin or users on login so for example
user
Hi,
This is probably going to be a fairly obvious fix, but its got me
stumped.
I have 2 tables users and counsellors.
The counsellors table is associated with the users table (belongsTo)
and the users table to counsellors via hasOne.
What i want to achieve is to have a user automatically creat