references:joomla.framework:document:jdocumentrenderermodules-renderrender
Renders module scripts for the specified position and returns the results as a string. Syntaxstring render ( $position, $params, $content, $name )
ExamplesExample $document =& JFactory::getDocument(); jimport( 'joomla.document.renderer' ); jimport( 'joomla.document.html.renderer.modules' ); $renderer = new JDocumentRendererModules( $document ); echo $renderer->render( 'status' ); might produce: Result <span class="legacy-mode">Legacy: 1.0</span> <span class="preview"><a href="http://127.0.0.1/j15/" target="_blank">Preview</a></span> <a href="index.php?option=com_messages"><span class="no-unread-messages">0</span></a> <span class="loggedin-users">1</span> <span class="logout"><a href="index.php?option=com_login&task=logout">Logout</a></span> Discussion |


