-
AuthorPosts
-
October 19, 2006 at 7:48 pm #117429
I would like to move the position of module User 1 so that it is at the top of the page, below the header, but above the content.
Any advice on how this can be done?
October 19, 2006 at 8:09 pm #211109For which template?
October 20, 2006 at 10:23 am #211115The template is JA Avior.
October 20, 2006 at 8:30 pm #211119If you want to move module user 1…or 2 or both between header and content you have to move this code (you can find this code in the bottom of page)
<!-- BEGIN: CONTENT SPOTLIGHT -->
<?php if ( mosCountModules( 'user1') || mosCountModules( 'user2') ) { ?>
<div style="position: relative; margin: 10px 0;" class="clearfix">
<?php if ( mosCountModules( 'user1') ) { ?>
<div id="ja-spotlight-1" style="width: <?php echo $divwidth ?>; float: left;">
<?php mosLoadModules('user1',-2); ?>
</div>
<?php }
if ( mosCountModules( 'user2') ) { ?>
<div id="ja-spotlight-2" style="width: <?php echo $divwidth ?>; float: right;">
<?php mosLoadModules('user2',-2); ?>
</div>
<?php } ?>
</div>
<?php } ?>
<!-- END: CONTENT SPOTLIGHT -->
between this :
<!-- END: MAIN MENU --><div class="ja-contentwrap-outer">
<div class="ja-contentwrap-inner">
and:
<div id="ja-contentwrap" class="clearfix">
In this situation you will move User1 and User2 module between header (menu) and all content …include left and right modules.
If you want to move user1 and 2 modules between header and content ( only above content, but not above left or right module) you have to move the same code like before:
<!-- BEGIN: CONTENT SPOTLIGHT -->
<?php if ( mosCountModules( 'user1') || mosCountModules( 'user2') ) { ?>
<div style="position: relative; margin: 10px 0;" class="clearfix">
<?php if ( mosCountModules( 'user1') ) { ?>
<div id="ja-spotlight-1" style="width: <?php echo $divwidth ?>; float: left;">
<?php mosLoadModules('user1',-2); ?>
</div>
<?php }
if ( mosCountModules( 'user2') ) { ?>
<div id="ja-spotlight-2" style="width: <?php echo $divwidth ?>; float: right;">
<?php mosLoadModules('user2',-2); ?>
</div>
<?php } ?>
</div>
<?php } ?>
<!-- END: CONTENT SPOTLIGHT -->
above
<?php mosMainBody(); ?>
All this changes you have to made them in ja_avior index.php page.
I hope you can undestand my english, if you need more help feel free and contact me.
Good luck!:) -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by niallth 18 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum