-
AuthorPosts
-
June 18, 2014 at 9:57 am #198947
I would like to make a new module position underneath the Masshead position. this module will have no padding etc. Can someone tell me what file within /tpls/blocks i need to edit to add a new module? I was not sure if its mainbody.php or header.php
If someone can point me to the right file please that would be much appreciated.
Kind regards and thanks in advance.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 18, 2014 at 10:12 am #539347Hi
You can edit this file templatesja_beranistplsblocksspotlight-1.php and add a second slogan position
<?php if ($this->countModules('masshead')) : ?>
<!-- MASSHEAD-->
<div class="ja-masshead-wrap">
<div class="row">
<div class="span12">
<jdoc:include type="modules" name="<?php $this->_p('masshead') ?>" style="raw" />
</div>
</div>
</div>
<!-- //MASSHEAD -->
<?php endif ?>
<?php if ($this->countModules('slogan1')) : ?>
<!-- SLOGAN-->
<div class="ja-slogan">
<div class="row">
<div class="span12 ">
<jdoc:include type="modules" name="<?php $this->_p('slogan1') ?>" style="raw" />
</div>
</div>
</div>
<!-- //SLOGAN -->
<?php endif ?><?php if ($this->countModules('slogan')) : ?>
<!-- SLOGAN-->
<div class="ja-slogan">
<div class="row">
<div class="span12 ">
<jdoc:include type="modules" name="<?php $this->_p('slogan') ?>" style="raw" />
</div>
</div>
</div>
<!-- //SLOGAN -->
<?php endif ?>Goto this file templatesja_beranistemplateDetails.xml and add the new position
<position>slogan</position>
<position>slogan1</position>
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by pavit 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New Module Position.
Viewing 2 posts - 1 through 2 (of 2 total)