J1.5

J1.5:How to create a custom button

From Joomla! Documentation

Revision as of 12:43, 31 May 2008 by Tsmarini (talk | contribs) (Customizing the back end toolbar, building custom buttons.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The scripts below are used for using the backend toolbar when developing components or modules.

Put this script on your component for a custom button:

JToolBarHelper::custom($task = , $icon = , $iconOver = , $alt = , $listSelect = true, $x = false);

For a back button you can use this one:

JToolBarHelper::back();

Calcel button:

JToolBarHelper::cancel();

Apply button:

JToolBarHelper::apply();