• Ejemplo de noticia

     // no direct access
    defined('_JEXEC') or die('Restricted access');
    jimport('joomla.html.toolbar');

    class YourcomHelperToolbar extends JObject
    {
    function getToolbar() {


    $bar =& new JToolBar( 'My Toolbar' );
    $bar->appendButton( 'Standard', 'new', 'New Record', 'new', false );
    $bar->appendButton( 'Separator' );
    $bar->appendButton( 'Standard', 'delete', 'Delete Record', 'delete', false );


    return $bar->render();

    }

    }