I am a complete beginner using Joomla. I am attempting to load a module within another module however i aren't able to find how to get this done. I have been trying adding
with "position" changed the positioning of the module Let me be loaded however it appears to operate only in articles.
I have found another solution here : http://forum.joomla.org/viewtopic.php?p=1531754&sid=bae9b487983c7e8a9f9c4fbd2958cf52#p1531754 but I'm not sure where you can put this PHP code during my module.
Thank you for helping !
You have to by hand add the code to render your inner module for your container module. Heres a good example:
jimport( 'joomla.application.module.helper' ); $module = JModuleHelper::getModule('mainmenu'); $attribs['style'] = 'xhtml'; echo JModuleHelper::renderModule( $module, $attribs );
Obtained from: http://docs.joomla.org/JModuleHelper/renderModule
To show the output you should put the code within the portion of your outer module source that you would like the html to become made.
In which you would replace 'mainmenu' using the title from the module that you would like to embed. (I removed the 2nd param, as I am presuming you won't want to display a title).