-
AuthorPosts
-
soam jena Friend
soam jena
- Join date:
- September 2014
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
June 17, 2014 at 8:52 am #198908Hello there,
I want to create new module psoitions with new spotlight code apart from the default module positions given in JA BRISK.How can i do this ??
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
soam jena Friendsoam jena
- Join date:
- September 2014
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
June 17, 2014 at 9:09 am #539184Thanks for the Documentation link.But i need to add more spotlight code in default.php file for e.g spotlight-x in default.php and define there the module position names and then add them in template details.xml file.But by this the module positions work but it is not showing in the back end part in template manager layout part.
Do you have any idead about it ???
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 17, 2014 at 9:30 am #539187Simply copy one of the spotlight file and rename it.
For example :
1) Copy spotlight-6.php and rename it spotlight-7.php
2) Edit it in this way :
defined('_JEXEC') or die;
?><?php if ($this->checkSpotlight('spotlight-7', 'position-30, position-31, position-32, position-33')) : ?>
<!-- SPOTLIGHT 7 -->
<section class="wrap ja-sl ja-sl-6">
<div class="container"><?php
$this->spotlight ('spotlight-7', 'position-30, position-31, position-32, position-33')
?>
</div>
</section>
<!-- //SPOTLIGHT 7 -->
<?php endif ?>3) Go to Default.php file and add the spotlight-7 block:
<?php $this->loadBlock ('header') ?>
<?php $this->loadBlock ('slideshow') ?>
<?php $this->loadBlock ('masshead') ?>
<?php $this->loadBlock ('spotlight-1') ?>
<?php $this->loadBlock ('mainbody') ?>
<?php $this->loadBlock ('spotlight-2') ?>
<?php $this->loadBlock ('spotlight-3') ?>
<?php $this->loadBlock ('spotlight-7') ?>
<?php $this->loadBlock ('navhelper') ?>
<?php $this->loadBlock ('footer') ?>
</body>
</html>
Here the result
-
1 user says Thank You to pavit for this useful post
soam jena Friendsoam jena
- Join date:
- September 2014
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
June 17, 2014 at 9:48 am #539189Thank you!!
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by soam jena 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to create new module positions in JA BRISK
Viewing 5 posts - 1 through 5 (of 5 total)