Christmas Sale
The “Give Back Sale” is active until 9/8/12. Proceeds of this sale will be sent to a non-profit organization, 58ten.
More Details Here...
Scheduled Maintenance - On Friday the 25th at 10PM EST we will be making some minor DNS changes to our server. We do not expect there to be any down time on our site, but if after this time our site does not load for you please simply clear your browser cache and restart your machine. - Thank you.
login
Join Now Access Products


Forum Support
Ask questions and find answers about products

Pages: [1]
Print
Author Topic: Module position help  (Read 8468 times)
bularae
Offline Offline

Posts: 46



« on: December 18, 2007, 08:11:32 PM »

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.php

Can anyone guide me on how I should do it differently in the template?

Here is the code for the template page:
Code:
<?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', -); ?></div>
</div>
</div>
</div>
<div id="content">
<div id="vali2">
<div id="bb"><?php mosLoadModules 'top', -); ?></div>
</div>
<div id="keski4">
<?php if(($oikea+$vasen)<1){ ?>
<?php mosMainBody();
}
?>
</div>
<?php if($vasen>&& $oikea<1){ ?>
<div id="vasen"><?php mosLoadModules 'left', -); ?></div>
<div id="keski"><?php mosMainBody(); ?></div>
<?php ?>
<?php if($vasen<&& $oikea>0){ ?>
<div id="keski3"><?php mosMainBody(); ?></div>
<div id="oikea"><?php mosLoadModules 'right', -); ?></div>
<?php ?>
<?php if($oikea>&& $vasen>0){ ?>
<div id="vasen"><?php mosLoadModules 'left', -); ?></div>
<div id="keski2"><?php mosMainBody(); ?></div>
<div id="oikea"><?php mosLoadModules 'right', -); ?></div>
<?php ?>
</div>
<div id="bottomphotos"><?php mosLoadModules 'bottom', -); ?></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>&nbsp;|&nbsp;<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', -);?>
</body>
</html>

Thanks much for any assistance!
Logged
jonahh
Shape 5 Administrator
Offline Offline

Posts: 17073



WWW
« Reply #1 on: December 18, 2007, 09:32:43 PM »

Hello,

There really isn't a way around this.  When you make a menu maneuver to a new content page, the entire template is reloaded each time you hit a content page or each time you click a link on your Joomla website.  Every single module position is reloaded.

Regards,
Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
bularae
Offline Offline

Posts: 46



« Reply #2 on: December 19, 2007, 03:49:39 PM »

Oh what a bummer! I guess it's an illusion that menus/headers/footers don't reload then... preloaded/cached images?

Thanks for the response!
Logged
Pages: [1]
Print

Jump to:  


Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.033 seconds with 21 queries.