test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rockrevelations Friend
    #198947

    I would like to make a new module position underneath the Masshead position. this module will have no padding etc. Can someone tell me what file within /tpls/blocks i need to edit to add a new module? I was not sure if its mainbody.php or header.php

    If someone can point me to the right file please that would be much appreciated.

    Kind regards and thanks in advance.

    pavit Moderator
    #539347

    Hi

    You can edit this file templatesja_beranistplsblocksspotlight-1.php and add a second slogan position

    <?php if ($this->countModules('masshead')) : ?>
    <!-- MASSHEAD-->
    <div class="ja-masshead-wrap">
    <div class="row">
    <div class="span12">
    <jdoc:include type="modules" name="<?php $this->_p('masshead') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //MASSHEAD -->
    <?php endif ?>
    <?php if ($this->countModules('slogan1')) : ?>
    <!-- SLOGAN-->
    <div class="ja-slogan">
    <div class="row">
    <div class="span12 ">
    <jdoc:include type="modules" name="<?php $this->_p('slogan1') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //SLOGAN -->
    <?php endif ?>

    <?php if ($this->countModules('slogan')) : ?>
    <!-- SLOGAN-->
    <div class="ja-slogan">
    <div class="row">
    <div class="span12 ">
    <jdoc:include type="modules" name="<?php $this->_p('slogan') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //SLOGAN -->
    <?php endif ?>

    Goto this file templatesja_beranistemplateDetails.xml and add the new position

    <position>slogan</position>
    <position>slogan1</position>


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

This topic contains 2 replies, has 2 voices, and was last updated by  pavit 10 years, 6 months ago.

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