Joomla!: Place Positions anywhere in the code


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $document = &JFactory::getDocument();
  2. $renderer = $document->loadRenderer('modules');
  3. $options = array('style' => 'xhtml');
  4. $position = 'right';
  5. echo $renderer->render($position, $options, null);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.