-
AuthorPosts
-
December 21, 2007 at 9:24 am #124543
Please I need help to put the module User 11 before content, I am not good in php I need your help….
Thanks in advance….
ciao<!– BEGIN: CONTENT –>
<div id=”ja-content”>
<div class=”innerpad”><div id=”ja-pathway”>
<?php mosPathway(); ?>
</div><div id=”ja-current-content”>
<?php
global $mainframe, $option;
$m_menu = $mainframe->get( “menu” );
$m_params = new mosParameters( $m_menu->params );$m_intro = $m_params->def( “intro”, 4 );
$m_leading = $m_params->def( “leading”, 1 );
if ( $option != “com_frontpage” || $m_intro || $m_leading) {
?>
<?php mosMainBody(); ?>
<?php } ?><?php if ( mosCountModules(“ja-news”) ) { ?>
<div id=”ja-newswrap”>
<?php mosLoadModules ( “ja-news”, -1 ); ?>
</div>
<?php } ?>
</div><?php if ( mosCountModules(“banner”) ) { ?>
<div class=”ja-banner”>
<?php mosLoadModules ( “banner”, -1 ); ?>
</div>
<?php } ?><?php if ( mosCountModules(“user11”) ) { ?>
<div class=”ja-content-module”>
<?php mosLoadModules ( “user11”, -1 ); ?>
</div>
<?php } ?></div>
</div>
<!– END: CONTENT –>Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
December 21, 2007 at 9:58 am #235012<!-- BEGIN: CONTENT -->
<div id="ja-content">
<div class="innerpad"><div id="ja-pathway">
<?php mosPathway(); ?>
</div><div id="ja-current-content">
<?php if ( mosCountModules("user11") ) { ?>
<div class="ja-content-module">
<?php mosLoadModules ( "user11", -1 ); ?>
</div>
<?php } ?>
<?php
global $mainframe, $option;
$m_menu = $mainframe->get( "menu" );
$m_params = new mosParameters( $m_menu->params );$m_intro = $m_params->def( "intro", 4 );
$m_leading = $m_params->def( "leading", 1 );
if ( $option != "com_frontpage" || $m_intro || $m_leading) {
?>
<?php mosMainBody(); ?>
<?php } ?><?php if ( mosCountModules("ja-news") ) { ?>
<div id="ja-newswrap">
<?php mosLoadModules ( "ja-news", -1 ); ?>
</div>
<?php } ?>
</div><?php if ( mosCountModules("banner") ) { ?>
<div class="ja-banner">
<?php mosLoadModules ( "banner", -1 ); ?>
</div>
<?php } ?></div>
</div>
<!-- END: CONTENT --> -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by liotru 16 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum