Last active
October 7, 2015 06:47
-
-
Save 2dpi/3121784 to your computer and use it in GitHub Desktop.
JOOMLA: load module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// define module by type / name | |
jimport( 'joomla.application.module.helper' ); | |
$module = JModuleHelper::getModule( 'menu', 'Main' ); | |
$_options = array( 'style' => 'module' ); | |
echo JModuleHelper::renderModule( $module,$_options ); | |
?> | |
OR USE NO-NUMBER PLUGIN - e.g. {module xxx|module} | |
look into param overides | |
http://www.themepartner.com/blog/56/get-joomla-17-plugin-module-component-and-template-parameters/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment