Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #1015479

    Hi
    There is already position leading-sidebar in the right side of content as a banner is showing as module.
    Add below code after line 34 to add new positon

        <?php 
        $bottomshare_modules = 'bottomshare';
        $attrs = array();
        $attrs['style'] = 'T3xhtml';
        $result = null;
        $renderer = JFactory::getDocument()->loadRenderer('modules');
        $bottomshare = $renderer->render($bottomshare_modules, $attrs, $result); ?>
    
        <?php if ($bottomshare) : ?>
    <?php echo $bottomshare; ?>
    <?php endif; ?>
    

    Here: http://prntscr.com/egid7k
    File path: /templates/ja_magz_ii/html/com_content/featured/default.php

    Hope it helps.

    abdullah canipek Friend
    #1016713

    Thank you @pankajsharma

    Pankaj Sharma Moderator
    #1016722

    You are welcome!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 8 months ago.

The topic ‘Replacing Featured Article with a Module’ is closed to new replies.