-
AuthorPosts
-
pdfx Friend
pdfx
- Join date:
- January 2010
- Posts:
- 71
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
November 21, 2010 at 11:54 am #156636Hi All
Working on the Ja Anion Template,
Trying to find out how to move Content Top Module position to below the Main Body?
Looked in the template themes are where there is some code on the default layout describing the module positions, but there is no “Body” position information?
Prob something simple, still looking and digging around
Pd
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
November 23, 2010 at 3:36 am #363801Dear pdfx,
You can try as following
Go to the folder of templatesja_anion in here creat a folder name page,then you copy the file of
pluginssystemjat3base-themesdefaultpagedefault.php and put it into that folder,after that open the file you just copied
now, open the copied file : templatesja_anionpagedefault.php file,Look for the below codes
[PHP]<?php
//content-top
if($this->hasBlock(‘content-top’)) :
$block = $this->getBlockXML (‘content-top’);
?>
<div id=”ja-content-top” class=”ja-content-top clearfix”>
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?><?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
<div id=”ja-content-main” class=”ja-content-main clearfix”>
<?php echo $this->showBlock (‘content’) ?>
</div>
<?php endif ?>[/PHP] And change it to
[PHP]
<?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
<div id=”ja-content-main” class=”ja-content-main clearfix”>
<?php echo $this->showBlock (‘content’) ?>
</div>
<?php endif ?>
<?php
//content-top
if($this->hasBlock(‘content-top’)) :
$block = $this->getBlockXML (‘content-top’);
?>
<div id=”ja-content-top” class=”ja-content-top clearfix”>
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>[/PHP] It would help moving the Content Top Module position to below the Main Body section
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by pdfx 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum