I want to get the module params in component area in joomla 2.5
Here my code :
jimport( ‘joomla.application.module.helper’ );
$module = &JModuleHelper::getModule(‘mod_module’);
$moduleParams = new JParameter($module->params);
print_r( $moduleParams );
I try to print the $moduleParams…Its display nothing.
I got this code from the website http://www.themepartner.com/blog/25/retrieving-plugin-module-component-and-template-parameters/
Is there anyother way to get the params using the module name.
I found the mistake
here the correct code
Problem is
jimport( 'joomla.html.parameter' );is missed