PhpMadman Posted November 27, 2013 Share Posted November 27, 2013 (edited) Hi I'm working on adding a list to the Invoice controller. I added fields_list and renderList and all that. So I get the list, but it seems that I get the default toolbar i tried $this->show_toolbar = false; and unset($this->toolbar_btn['save']); but I can't get rid of them. Looking in AdminSlipController, it uses initToolbar to add a button. But nowhere in that file there is any code to remove the save but. But the save and cancel button is removed Edited November 27, 2013 by PhpMadman (see edit history) Link to comment Share on other sites More sharing options...
PhpMadman Posted November 27, 2013 Author Share Posted November 27, 2013 Not a clue what was wrong before unset($this->toolbar_btn['save']); works now. must have been some chache / typo or something. 1 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