Great, I will try that out when I get home today.
Thanks
Dhana
On Mar 13, 6:09 am, Brendon Kozlowski brendon...@hotmail.com wrote:
I can't look up the exact steps to do this at the moment (rushing to
prepare for a meeting), but going from memory I believe you'd actually
take advantage
I was wondering if it's possible to print out a custom error message
in cakephp when using the auth component. I am using the scope
attribute to check if the user is active or not. Instead of flashing
the loginError which is the usual either login or password is wrong,
I want to say the account
You might have to use CSS for that. If there is a div around each
checkbox, just make sure you assign a float to them in css lke this:
In case you just want to target the checkboxes div, wrap a div around
all your checboxes. Give it a class or an id.
Then in css,
#divname input{
float:
I have a groups, users and tasks models.
Groups has a HABTM to users.
Users has a HABTM to groups.
Users has many tasks.
From the tasks model, I am trying to find out which group the user
belongs to. Once I have this information, I plan to put into a session
variable so I only need to query
Is it possible to secure the admin_path so that regular users don't
have access to it? I am already using the Auth component for a user
login where they can perform their user tasks. But I would also like
to have an admin that can see all the users stuff. The prefix routing
works fine in
...@gmail.com wrote:
On Feb 25, 2:21 am, Dhana sldh...@gmail.com wrote:
Here's a snippet of the save code I am calling.
if($this-Task-saveAll($this-data['Task'])){
$this-Session-setFlash('The task has been updated', 'default',
array('class' = 'information'));
$this-redirect(array
msc...@gmail.com wrote:
On Feb 25, 2:21 am, Dhana sldh...@gmail.com wrote:
Here's a snippet of the save code I am calling.
if($this-Task-saveAll($this-data['Task'])){
$this-Session-setFlash('The task has been updated', 'default',
array('class' = 'information'));
$this-redirect
I have a Task model which has many todos. I have a form that edits
both the title of the todo and any number of the todos (if the task
has any) in one form. The form as you can see below submits to the
task edit action. But when I submit the form, only the title of the
task is updated, but not
Hi,
I have uncommented this line in my core.php
Configure::write('Routing.admin', 'admin');
and I have a controller called Formats.
This controller has an action called admin_index, but when I try to
access this page, I get this error =
Private Method in FormatsController.
Is there any other