Load module position from overrides


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



Copy this code and paste it in your HTML
  1. <?php
  2. $document = &JFactory::getDocument();
  3. $renderer = $document->loadRenderer( 'modules' );
  4. $options = array( 'style' => 'raw' );
  5.  
  6. echo $renderer->render( 'position_name', $options, null);
  7. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.