public static function getThemeName() { if (!self::$themeName) { $app = JFactory::getApplication(); $document = JFactory::getDocument(); //$params = $app->getParams('com_djcatalog2'); $params = Djcatalog2Helper::getParams(); self::$themeName = $params->get('theme', 'bootstrapped'); } return self::$themeName; }