tijojoel Posted March 6, 2018 Share Posted March 6, 2018 Hi, I want to Create Save and stay button in controller file of custom module. In my file save option is there but i want Save and stay and I have no idea in doing that in controller file of custom module. Please help Link to comment Share on other sites More sharing options...
halem Posted March 6, 2018 Share Posted March 6, 2018 Hi, Maybe this will help: $this->fields_form['buttons'] = array( 'save-and-stay' => array( 'title' => $this->l('Save and stay'), 'name' => 'submitAdd'.$this->table.'AndStay', 'type' => 'submit', 'class' => 'btn btn-default pull-right', 'icon' => 'process-icon-save' ) ); I saw this in controllers\admin\AdminAttributesGroupsController.php but with title "Save then add another value" Link to comment Share on other sites More sharing options...
tijojoel Posted March 9, 2018 Author Share Posted March 9, 2018 @halem Thank you. I figured out it early. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now