_getFrontSideTemplate().'/html/mod_roknavmenu/parameters.php'; if (file_exists($tPath)) { // get all the params for the module $all_params = $this->_parent; require_once ($tPath); $template_params = new RokNavMenuTemplateParams(); $html .= $template_params->getTemplateParams($name, $control_name, $all_params); } if (strlen($html) == 0) { $html = JText::_("ROKNAVMENU.MSG.NO_TEMPLATE_CONFIG"); } return $html; } function _getFrontSideTemplate() { $db =JFactory::getDBO(); // Get the current default template $query = ' SELECT template ' .' FROM #__template_styles ' .' WHERE client_id = 0 ' .' AND home = 1 '; $db->setQuery($query); $defaultemplate = $db->loadResult(); return $defaultemplate; } }