-
AuthorPosts
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 17, 2016 at 3:34 pm #941507Hi
Go to this folder /templates/ja_healthcare/tpls/blocks/ and find file section.php copy and duplicate it renaming it section-below.php
edit it and change from<?php if ($this->countModules('section')) : ?> <!-- SECTION --> <div class="section-wrap"> <jdoc:include type="modules" name="<?php $this->_p('section') ?>" /> </div> <!-- //SECTION --> <?php endif ?>
TO :
<?php if ($this->countModules('section-below')) : ?> <!-- SECTION --> <div class="section-wrap"> <jdoc:include type="modules" name="<?php $this->_p('section-below') ?>" /> </div> <!-- //SECTION --> <?php endif ?>
Now you should add the section-below block to your layout file, open the default layout file named default.php in this folder /templates/ja_healthcare/tpls/ and edit it
add the block section-below just above footer position so your new default.php file should result as follow<div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas --> <div class="container-hd"> <?php $this->loadBlock('top-bar') ?> <?php $this->loadBlock('header') ?> <?php $this->loadBlock('mainnav') ?> <?php $this->loadBlock('slideshow') ?> <?php $this->loadBlock('spotlight-1') ?> <?php $this->loadBlock('masthead') ?> <?php $this->loadBlock('section') ?> <?php $this->loadBlock('mainbody') ?> <?php $this->loadBlock('navhelper') ?> <?php $this->loadBlock('section-below') ?> <?php $this->loadBlock('footer') ?> </div> </div>
Then open this file templateDetails.xml in this folder /templates/ja_healthcare/ and add your new position into section in this way
<position>top-left</position> <position>top-right</position> <position>video-medicare</position> <position>testimonials</position> <position>section-below</position>
Now you have the position section-below available to publish your modules
Best regards
bhmhrex Friendbhmhrex
- Join date:
- February 2016
- Posts:
- 19
- Downloads:
- 16
- Uploads:
- 6
- Thanked:
- 1 times in 1 posts
June 17, 2016 at 9:55 pm #941609As always, very clear instructions. Worked perfectly. Thank you!
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by bhmhrex 8 years, 5 months ago.
The topic ‘Duplicating the "Section" Position’ is closed to new replies.
Duplicating the "Section" Position
Viewing 2 posts - 1 through 2 (of 2 total)