On 10 abr, 11:47, "digital spaghetti"
<[EMAIL PROTECTED]> wrote:
<snip>
> <?php e($form->create('EventType',
> array('action'=>'/admin/event/addtype')));?>
'action' doesn't mean url (although a couple of months ago or so it
acted as such).
If you say 'action' = "really long string with some /s in it" cake is
going to make the url
/($admin/)($plugin/)$currentController/really long string with some /s
in it
You probably want 'action'=>'addtype" or (if the previous doesn't
work, which it should iirc) 'url'=>'/admin/event/addtype'
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---