appendButton( 'Popup', 'default', 'Popup', "index.php?option=com_dump&view=tree&closebutton=0" ); JToolBarHelper::preferences( 'com_dump', '300' ); /** Not needed here, DumpViewAbout is only used in the administrator // we need to add these paths so the component can work in both site and administrator $this->addTemplatePath( dirname(__FILE__) . DS . 'tmpl' ); */ $files = array( 'readme', 'changelog', 'installation' ); foreach( $files as $file ) { $this->assignRef( $file, $this->get( $file ) ); } parent::display($tpl); } }