I just joined—thanks for some useful templates! I can't seem to get any support at Joomla so I thought I might try here as I know this is an easy thing but I'm just missing it.
I have another site that I installed and modified a template for (not one of yours—I hadn't found you yet!).
Anyway, I added module position bottom but above the footer, in order to put a flash item in it that plays continuously.
My problem is that I didn't put it in the right place, or I should call it something else, as it behaves as if it's part of main body/right/left rather than part of the footer, and thus it refreshes with every menu maneuver to a new content page. I need it to be static like the menus/header/footer because I don't want it to reload and start playing from the beginning each time. Does that make sense?
You can see the status here:
http://mauiweddingsconsultant.com/mwc/index.phpCan anyone guide me on how I should do it differently in the template?
Here is the code for the template page:
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
$vasen = mosCountModules( 'left' );
$oikea = mosCountModules( 'right' );
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/estime_redberry/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<div id="navi">
<div align="right">
<?php mosLoadModules ( 'user3', -1); ?>
</div>
</div>
<div id="headerl"></div>
<div id="headerr">
<div id="search_out">
<div id="search_in"><?php mosLoadModules ( 'user4', -1 ); ?></div>
</div>
</div>
</div>
<div id="content">
<div id="vali2">
<div id="bb"><?php mosLoadModules ( 'top', -2 ); ?></div>
</div>
<div id="keski4">
<?php if(($oikea+$vasen)<1){ ?>
<?php mosMainBody();
}
?></div>
<?php if($vasen>0 && $oikea<1){ ?>
<div id="vasen"><?php mosLoadModules ( 'left', -2 ); ?></div>
<div id="keski"><?php mosMainBody(); ?></div>
<?php } ?>
<?php if($vasen<1 && $oikea>0){ ?>
<div id="keski3"><?php mosMainBody(); ?></div>
<div id="oikea"><?php mosLoadModules ( 'right', -2 ); ?></div>
<?php } ?>
<?php if($oikea>0 && $vasen>0){ ?>
<div id="vasen"><?php mosLoadModules ( 'left', -2 ); ?></div>
<div id="keski2"><?php mosMainBody(); ?></div>
<div id="oikea"><?php mosLoadModules ( 'right', -2 ); ?></div>
<?php } ?>
</div>
<div id="bottomphotos"><?php mosLoadModules ( 'bottom', -2 ); ?></div>
<div id="footer2">
<div id="copy"><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?></div>
<div id="othermenu"><a href="http://validator.w3.org/check?uri=<?php echo $mosConfig_live_site;?>" target="_blank" title="XHTML 1.0 Transitional valid">XHTML 1.0</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>/templates/estime_redberry/css/template_css.css" title="Valid CSS" target="_blank">CSS</a></div>
</div>
</div>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>
Thanks much for any assistance!