T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Eclecticus
  2. General Discussion
  3. Monday, 10 August 2015
  4.  Subscribe via email
Hi,

How do I add postions 9-12 under positions 5-8 in a blank t3 bs3 template?

All help is highly appreciated.

Thanks inadvance,

Hans
  Purmerend, Netherlands
Visit 
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Yes, exactly as blocks need to be loaded to specific layout.

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

To create such block, please go to the folder: templates\t3_bs3_blank\tpls\blocks, duplicate the "spotlight-2.php" and rename to "spotlight-3.php", open that file and edut the position in the file:

<?php if ($this->checkSpotlight('spotlight-3', 'position-9, position-10, position-11, position-12')) : ?>
<!-- SPOTLIGHT 2 -->
<div class="container t3-sl t3-sl-2">
<?php $this->spotlight('spotlight-3', 'position-9, position-10, position-11, position-12') ?>
</div>
<!-- //SPOTLIGHT 2 -->
<?php endif ?>


Next, load the block to the default layout (templates\t3_bs3_blank\tpls\default.php), just after the spotlight-2.

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


Once done, the layout will be like this: http://easycaptures.com/fs/uploaded/922/0750214607.png

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for your answer.
That was what I did.
But I had cloned the layout, so I needed the default.php of the cloned template.
Thanks.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.