I’m an absolute beginner using Joomla. I’m trying to load a module within another module but I can’t find how to do this. I’ve been trying adding
{loadposition position}
with “position” replaced the position of the module I’d like to be loaded but it seems to work only in articles.
I’ve found another solution here : http://forum.joomla.org/viewtopic.php?p=1531754&sid=bae9b487983c7e8a9f9c4fbd2958cf52#p1531754
but I don’t know where to put this PHP code in my module.
Thanks for helping !
You need to manually add the code to render your inner module to your container module. Heres an example:
Taken from:
http://docs.joomla.org/JModuleHelper/renderModule
To display the output you would need to place the code in the section of your outer module source that you want the html to be rendered.
Where you would replace ‘mainmenu’ with the name of the module that you want to embed. (I removed the second param, as I’m assuming you don’t want to display a title).