Item buttons appear at the top of Organizer when the Admin has selected one or more items.
They are intended to be for actions that apply to the items that have just been selected.
The schema for item buttons is similar but not identical to the schema for collection buttons.
If you want to use your own icons for buttons in Organizer, you can include your own CSS rules by creating a directory and file called adminstyles/organizer.css
in your module's directory.
Any CSS class names you create should have a suitable prefix (e.g. your company name or your module's name) to avoid any possible name clashes.
If you want to use the call_js_function
property and call your own JavaScript function, you can define JavaScript functions by creating a directory and file called js/organizer.js
in your module's directory.
As with writing JavaScript functions for plugins, any JavaScript functions you create should be added to the encapsulated object with your module's class name, which the CMS will create for you.
item_buttons: