<?php echo $this->Form->create('User', array('plugin'=>'Usermgmt','controller'=>'user','action' => 'search')); ?>
<?php echo $this->Form->input("search" ,array('label' => false ))?>
<?php echo $this->Form->Submit(__('Search'));?>
This the code am using for search user name am using this code in view\pages\home.ctp and the search function in plugin is Usermgmt .. but now am getting error using above code
when am click on search it goes to url like Exp/users/search but it should be Exp/usermgmt/users/search
Exp/users/searchbut it should beExp/usermgmt/users/search