Aprreciated for your reply, I need extra button just like a create, how am i supposed to get that where i have to override the method? i am working on advanced module and i need it in my module
If you want the button to appear on the list items screen you can add the "list_actions" property to your simple module like so (example is taken from the navigation module): 'list_actions' => array('navigation/upload' => lang('btn_upload'))
If you are wanting an additional button in the create/edit view, you can add it to the module config as well: 'item_actions' => array('save', 'view', 'publish', 'activate', 'delete', 'duplicate', 'create', 'others' => array('my_url' => 'MY Button')),
Comments
http://www.getfuelcms.com/user_guide/modules/simple
i am working on advanced module and i need it in my module
'list_actions' => array('navigation/upload' => lang('btn_upload'))
If you are wanting an additional button in the create/edit view, you can add it to the module config as well:
'item_actions' => array('save', 'view', 'publish', 'activate', 'delete', 'duplicate', 'create', 'others' => array('my_url' => 'MY Button')),
More on the module parameters can be found here:
http://www.getfuelcms.com/user_guide/modules/simple