Solved with: <?php echo $form->create('User', array('url'=>array
('plugin' => null, 'action' => 'login')));?>On Sep 24, 5:39 pm, michaelc <[email protected]> wrote: > I'm experiencing an interesting problem wherein I include from within > a view in a plugin an element which contains a form (the users login > form, that is). However, I can't seem to see a way free to not having > it prepend the plugin name onto the action. The offending code is > line 156 of form.php, knowing as we do that Form::plugin is set when > it is initialized from View::_loadHelpers (see line 755). > > My essential problem is that there appears to be no way to change the > plugin context once inside of a plugin's view, to reflect the > inclusion of non-plugin content. I am using plugins like photoshop, > to extend the functionality of a base site, and the usecase seems > awkward when compared with the design for a plugin (extending a > generic site - they therefore must be self contained). Given how easy > it is to load a base element, it would appear however that either was > planned for. > > Any help in understanding and resolving this matter would be greatly > appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
