i have created a module which doesn’t require list page. so i want to directly go to edit page when user navigate to that menu item.
currently when i go to that menu, one dynamic ajax redirect link gets generated to redirect list page.
how can i change this setting to redirect to EditView page on menu option click?
Please help if any one knows the solution
blqt
3
Hi,
In your custom module folder, create a file named action_remap.php
In that file, add the following:
<?php
$action_remap['index'] = 'EditView';
2 Likes
Thanks alot. exactly what i need.
Note to self: DO use a file named action_remap.php and add the following:
<?php
$action_remap['index'] = 'EditView';
instead of trying to put it in a file with a different name