Admin Panel page always covered by Tool Bar. It helps the page to come in a proper alignment. A toolbar has below attributes
1.Page Title
2.Buttons
3.Unique code
Format: App::Helper('Toolbar')->setTitle([TITLE])->setBtn->Render(array('code' => [CODE]));
There are two type of tool bar:
This toolbar contain Title, Button and Id. See below example.
App::Helper('Toolbar')
->setTitle("View Members")
->setBtnBack()
->Render(array('code' => 'member_list_view_top'));
This toolbar contain Button and Id. See below example.
App::Helper('Toolbar')
->setBtnBack()
->Render(array('code' => 'member_list_view_bottom'))
Function List
There are some function to customize Toolbar.
setBtnBack()
Created Back Button with JavaScript History.
setBtnSave()
Created Submit Button
setBtnDelete()
Created Submit Button to delete
setBtnOk()
Created Submit Button with Ok title.
setBtnfileManager()
Show file manage window.
setFormJustified()
Align buttons with data form.