try with this

<?php
echo $ajax->form('Name_of_controller', array('action' => 'name_of_action'));
?>

On Tue, Apr 22, 2008 at 3:26 AM, dizz <[EMAIL PROTECTED]> wrote:

>
> Hey, I've been trying to figure this out for a few hours now. I am
> either missing something or you cannot change the controller in the
> helper and that it will always default to the controller of the parent
> page.
>
> For instance I am trying to add comments on a user profile, the parent
> profile is "Users" and no matter what I try putting in the helper
> (array like a normal form helper, url for ajax helpers) it keeps on
> defaulting to the Users controller.
>
> Any help would be greatly appreciated thanks.
> >
>


-- 
Axel

--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to