jmodule_render_module($module, $attribs = array())
Render a module object.
Parameters
object
$module Object containing module informationarray
$attribs [optional] Array of attributes for the module (probably from the XML).
Returns
\string
Rendered module.
Examples
{# Retrieve and display all the modules in a sidebar position #}
{% for module in jmodule_get_modules('sidebar') %}
{{ jmodule_render_module(module) }}
{% endfor %}