Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 1, 2016 at 5:15 pm #836664Hi
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
monalh Friendmonalh
- Join date:
- March 2012
- Posts:
- 68
- Downloads:
- 23
- Uploads:
- 21
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
January 1, 2016 at 6:42 pm #836775Thank you so much for this excellent description! It worked perfectly! 🙂
Mona
AuthorPostsViewing 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.