Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ericdeumo Friend
    #692633

    Please I need help to add module position bellow department position.
    Tank you.

    pavit Moderator
    #692638

    Hi

    Could you post a mock up of your desired new position ? so we can better understand where to add the block ?

    pavit Moderator
    #749753

    Hi

    Could you post a mock up of your desired new position ? so we can better understand where to add the block ?

    ericdeumo Friend
    #692640

    The new position will be just bellow “department” position.
    I want to duplicate “department” position and give him a new name.

    ericdeumo Friend
    #749755

    The new position will be just bellow “department” position.
    I want to duplicate “department” position and give him a new name.

    pavit Moderator
    #692641

    <em>@ericdeumo 494194 wrote:</em><blockquote>The new position will be just bellow “department” position.
    I want to duplicate “department” position and give him a new name.</blockquote>

    Hi There

    Go to this folder templatesja_university_t3tplsblocks and duplicate the file department.php and call it as you wish, now we call it newdepartment.php as example then edit duplicated file and change it as showed below


    <?php if ($this->countModules('newdepartment')) : ?>
    <!-- DEPARTMENT -->
    <div id="t3-department">
    <div class="container department">
    <div class="main <?php $this->_c('newdepartment') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('newdepartment') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //DEPARTMENT -->
    <?php endif ?>

    after saved it go to this folder templatesja_university_t3tplshome.php and add the newdepartment block, edit file in this way

    <?php $this->loadBlock('slideshow') ?>

    <?php $this->loadBlock('department') ?>

    <?php $this->loadBlock('newdepartment') ?>

    <?php $this->loadBlock('spotlight-1') ?>

    <?php $this->loadBlock('home') ?>

    As you can see i added new block newdepartment

    Here the new resulted layout

    Best Regards

    pavit Moderator
    #749756

    <em>@ericdeumo 494194 wrote:</em><blockquote>The new position will be just bellow “department” position.
    I want to duplicate “department” position and give him a new name.</blockquote>

    Hi There

    Go to this folder templatesja_university_t3tplsblocks and duplicate the file department.php and call it as you wish, now we call it newdepartment.php as example then edit duplicated file and change it as showed below


    <?php if ($this->countModules('newdepartment')) : ?>
    <!-- DEPARTMENT -->
    <div id="t3-department">
    <div class="container department">
    <div class="main <?php $this->_c('newdepartment') ?>">
    <jdoc:include type="modules" name="<?php $this->_p('newdepartment') ?>" style="raw" />
    </div>
    </div>
    </div>
    <!-- //DEPARTMENT -->
    <?php endif ?>

    after saved it go to this folder templatesja_university_t3tplshome.php and add the newdepartment block, edit file in this way

    <?php $this->loadBlock('slideshow') ?>

    <?php $this->loadBlock('department') ?>

    <?php $this->loadBlock('newdepartment') ?>

    <?php $this->loadBlock('spotlight-1') ?>

    <?php $this->loadBlock('home') ?>

    As you can see i added new block newdepartment

    Here the new resulted layout

    Best Regards

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

This topic contains 7 replies, has 2 voices, and was last updated by  pavit 9 years, 1 month ago.

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