public function __construct(&$args) { parent::__construct($args); $this->theme_path = JPATH_SITE . "/modules/mod_roknavmenu/themes/fusion"; $this->args['theme_path'] = $this->theme_path; $this->args['theme_rel_path'] = JURI::root(true) . str_replace(JPATH_SITE, '', $this->theme_path); $this->args['theme_url'] = $this->args['theme_rel_path']; }
public function __construct(&$args) { parent::__construct($args); global $gantry; $theme_rel_path = "/html/mod_roknavmenu/themes/gantry-fusion"; $this->theme_path = $gantry->templatePath . $theme_rel_path; $this->args['theme_path'] = $this->theme_path; $this->args['theme_rel_path'] = $gantry->templateUrl . $theme_rel_path; $this->args['theme_url'] = $this->args['theme_rel_path']; }
public function __construct(&$args) { parent::__construct($args); /** @var $gantry Gantry */ global $gantry; $theme_rel_path = "/html/mod_roknavmenu/themes/gantry-dropdown"; $this->theme_path = $gantry->templatePath . $theme_rel_path; $this->args['theme_path'] = $this->theme_path; $this->args['theme_rel_path'] = $gantry->templateUrl . $theme_rel_path; $this->args['theme_url'] = $this->args['theme_rel_path']; $this->args['responsive-menu'] = $args['responsive-menu']; }