我想在分量區中的模塊PARAMS中的Joomla 2.5如何獲得在組件面積模塊PARAMS在joomla2.5
這裏我的代碼:
jimport(「joomla.application.module .helper');
$ module = & JModuleHelper :: getModule('mod_module');
$ moduleParams = new JParameter($ module-> params);
print_r($ moduleParams);
我試着打印$moduleParams
......它的顯示什麼都沒有。
我從網站得到了這段代碼http://www.themepartner.com/blog/25/retrieving-plugin-module-component-and-template-parameters/
有沒有其他的方法來使用模塊名來獲取參數。
打我吧:)高興你得到它固定 – Lodder