Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • antjewilson Friend
    #201618

    Hi There,

    I added the social media pics at the bottom of the feature article. I did try and do a custom html module but I couldn’t select a position for the module that would make it look nice. If I clicked footer it would interrupt the blue and if I clicked feature it would go in the first position. Ideally, it would go just below to the right of the feature article.

    Anyway I can do that?

    Thanks,

    Antje


    1. Screen-shot-2014-09-26-at-12.38.31-AM
    Ninja Lead Moderator
    #550966

    Hi Antje,

    You can try to use this way to create a new position in bottom right

    + Open templates/ja_medicare/tpls/blocks/mainbody-content-left.php file

    Find and change

    $this->loadBlock('mainbody/no-sidebar');

    To

    $this->loadBlock('mainbody/no-sidebar', array('new_position' => 'new_position'));

    + Open templates/ja_medicare/tpls/blocks/mainbody/no-sidebar.php file

    Find and change

    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    </div>

    To

    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    </div>
    <?php if ($this->countModules($vars['new_position'])) : ?>
    <div class="row">
    <!-- new positiom bottom right -->
    <div class="col-xs-12 <?php $this->_c($vars['new_position']) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($vars['new_position']) ?>" style="T3Xhtml" />
    </div>
    <!-- //new positiom bottom right -->
    </div>
    <?php endif ?>

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum