Including Joomla Module Positions in Template Overrides
Last Updated on Thursday, 04 February 2010 18:12
Originally posted by Andrew Eddie on the Joomla! Forum:
To load a module position within a layout you can do this:
<?php
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer( 'modules' );
$options = array( 'style' => 'raw' );
echo $renderer->render( 'position_name', $options, null);
?>
Change the "style" to whatever you need (most likely raw, but could be xhtml), and change the position_name to the actual module position.