Skip to content

Instantly share code, notes, and snippets.

@biswarupadhikari
Created November 11, 2012 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biswarupadhikari/4055958 to your computer and use it in GitHub Desktop.
Save biswarupadhikari/4055958 to your computer and use it in GitHub Desktop.
Joomla : Get Module Parameter from Joomla 1.6,1.7,2.5
jimport( 'joomla.application.module.helper' );
$module = JModuleHelper::getModule('mod_jogajog');
$params = new JRegistry;
$params->loadString($module->params, 'JSON');
echo '<pre>';
print_r($params);
echo '</pre>';
@biswarupadhikari
Copy link
Author

for individual params use
$captchaType=$params->def('captcha_settings_type');

@biswarupadhikari
Copy link
Author

Get Default Component Parameter
$params = JComponentHelper::getParams("com_jmshbackup");
$exclude_dir = $params -> get('exclude_dir');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment