Adding toolbar buttons to the backend of your component is quick and easy. Joomla! has a class named
<form> elements in your component.
JToolBarHelper to use, we will create a set of buttons that you would normally find on a screen for managing a list of records. Open
/administrator/components/com_restaurants/restaurants.php and add the following code just before the line
echo 'Restaurant Reviews':
JToolBarHelper::title( JText::_( 'Restaurant Reviews' ), 'generic.png' ); JToolBarHelper::publishList(); JToolBarHelper::unpublishList(); JToolBarHelper::editList(); ...