I have problem in adding toolbar add button in toolbar menu in joomla 1.5 component. I need to add an add custom button in the standard way so with this my button is added to my menu but it is not functional I need a function wich will help me to take the parameter from the button for example the task in my case(aaaa).
/*
ToolBarHelper::custom('aaaa', 'new', 'new', 'Add Article', 'add_article', false);
*/
Here is the entire toolbar class how I can get the task parameter.
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/**
* @package Joomla
* @subpackage Config
*/
class TOOLBAR_video
{
function _DEFAULT() {
/*
* DEVNOTE: This should make sense by itself now...
*/
JToolBarHelper::title( JText::_( 'Video Manager' ), 'generic.png' );
JToolBarHelper::custom('aaaa', 'new', 'new', 'Add Article', 'add_article', false);
JToolBarHelper::help( 'screen.video' );
);
}
}