test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • pavit Moderator
    #836664

    Hi

    It is quite simple

    Open this file /templates/ja_platon/tpls/default.php and add a new spotlight position as spotlight2x

    Change this :

      <div class="container">
        <?php $this->loadBlock('topbar') ?>
    
        <?php $this->loadBlock('header') ?>
    
        <?php $this->loadBlock('mainnav') ?>
    
        <?php $this->loadBlock('slideshow') ?>
    
        <?php $this->loadBlock('spotlight-1') ?>
    
        <?php $this->loadBlock('spotlight-2') ?>
    
        <?php $this->loadBlock('sections') ?>
    
        <?php $this->loadBlock('mainbody') ?>
    
        <?php $this->loadBlock('spotlight-3') ?>
    
        <?php $this->loadBlock('navhelper') ?>
    
        <?php $this->loadBlock('spotlight-4') ?>
    
        <?php $this->loadBlock('footer') ?>
      </div>

    To this :

      <div class="container">
        <?php $this->loadBlock('topbar') ?>
    
        <?php $this->loadBlock('header') ?>
    
        <?php $this->loadBlock('mainnav') ?>
    
        <?php $this->loadBlock('slideshow') ?>
    
        <?php $this->loadBlock('spotlight-1') ?>
    
        <?php $this->loadBlock('spotlight-2') ?>
    
        <?php $this->loadBlock('spotlight-2x') ?>
    
        <?php $this->loadBlock('sections') ?>
    
        <?php $this->loadBlock('mainbody') ?>
    
        <?php $this->loadBlock('spotlight-3') ?>
    
        <?php $this->loadBlock('navhelper') ?>
    
        <?php $this->loadBlock('spotlight-4') ?>
    
        <?php $this->loadBlock('footer') ?>
      </div>

    Then open this folder /templates/ja_platon/tpls/blocks and copy the file spotlight-2.php to spotlight-2x.php

    edit it as showed below

    <?php if ($this->checkSpotlight('spotlight-2x', 'position-5x, position-6x, position-7x, position-8x')) : ?>
      <!-- SPOTLIGHT 2 -->
      <div class="t3-sl t3-sl-2">
        <?php $this->spotlight('spotlight-2x', 'position-5x, position-6x, position-7x, position-8x', array('class' => 'equal-height equal-height-child', 'child-class' => 'col')) ?>
      </div>
      <!-- //SPOTLIGHT 2 -->
    <?php endif ?>

    Open this file /templates/ja_platon/templateDetails.xml and add new positions at bottom

    <position>debug</position>
        <position>position-5x</position>
        <position>position-6x</position>
        etc etc 

    Now you have new positions as showed from image attached


    1. Screenshot_11
    monalh Friend
    #836775

    Thank you so much for this excellent description! It worked perfectly! 🙂

    Mona

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

This topic contains 2 replies, has 2 voices, and was last updated by  monalh 8 years, 11 months ago.

The topic ‘Add new module position’ is closed to new replies.