Jump to content

[SOLVED] Bootstrap - Removing toolbar buttons


PhpMadman

Recommended Posts

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 by PhpMadman (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...