Get Module Parameter Anywhere in component : Joomla 2.5

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

akash
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Jul 28, 2013 4:27 am

Get Module Parameter Anywhere in component : Joomla 2.5

Postby akash » Fri Aug 02, 2013 10:51 am

Use module parameters inside any of the component helper/view/model file of Joomla 2.5.
jimport( ‘joomla.html.parameter’ );
jimport( ‘joomla.application.module.helper’ );
$module = JModuleHelper::getModule(‘mod_name’);
http://www.akashchakrawarti.com/module-parameter-in-component/

Return to “PHP coding => General”

Who is online

Users browsing this forum: landi and 2 guests