Ejemplo n.º 1
0
 function __construct($config = array())
 {
     include_once JPATH_ADMINISTRATOR . DS . "includes" . DS . "toolbar.php";
     parent::__construct($config);
     // TODO find the active admin template
     //JEVHelper::stylesheet("system.css",  "administrator/templates/system/css/");
     //JEVHelper::stylesheet("template.css",  "administrator/templates/khepri/css/");
 }
Ejemplo n.º 2
0
 function __construct($config = array())
 {
     include_once JPATH_ADMINISTRATOR . DS . "includes" . DS . "toolbar.php";
     parent::__construct($config);
     // TODO find the active admin template
     //JEVHelper::stylesheet("system.css",  "administrator/templates/system/css/");
     //JEVHelper::stylesheet("template.css",  "administrator/templates/khepri/css/");
     // used only for helper functions
     $this->jevlayout = "default";
     $this->addHelperPath(realpath(dirname(__FILE__) . "/../default/helpers"));
     $this->addHelperPath(JPATH_BASE . DS . 'templates' . DS . JFactory::getApplication()->getTemplate() . DS . 'html' . DS . JEV_COM_COMPONENT . DS . "helpers");
 }