diff --git a/mod_pergroup.php b/mod_pergroup.php index ac3e4f7..36ef38a 100644 --- a/mod_pergroup.php +++ b/mod_pergroup.php @@ -10,7 +10,7 @@ **/ defined( '_JEXEC' ) or die; -// Include the syndicate functions only once +// Include the functions only once require_once __DIR__ . '/pergroup.php'; // load the module class diff --git a/mod_pergroup.xml b/mod_pergroup.xml index 3c20491..a582c0f 100644 --- a/mod_pergroup.xml +++ b/mod_pergroup.xml @@ -50,13 +50,13 @@ - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - + MOD_PERGROUP_YES - + - + - + - +
params->get('group'.$id.'-js'); if ($group_js){ if (!$this->jQuery_set){ - $this->document->addScript(JURI::base().'modules/mod_perGroup/js/jquery.js'); + $this->document->addScript(JURI::base().'modules/mod_pergroup/js/jquery.js'); $this->jQuery_set = true; } $script = ''.$group_js.'';