× Support for Joomla 1.5 templates is discontinued. This forum category is read-only.

Move bottom modules to top

More
7 years 11 months ago #926 by hull91
hull91 created the topic: Move bottom modules to top
Is there a way to move the bottom 3 modules to the top of the home page in place of the DJ slider? (right below the links?)
I did the quickstart set up and am not familiar with configurations. Please provide easy step by step instructions. Thank you for your time.

Please Log in or Create an account to join the conversation.

  • admin
  • admin's Avatar
7 years 11 months ago #929 by admin
admin replied the topic: Re: Move bottom modules to top
It's the customization issue so there is no any instructions for that.
If you want to move the all box of three modules, have to edit index.php of the template and locate the <div id="jm-bottom-mods_wrap"> tag and the whole its content in the place you want.

Don't need to change css styles to do that.
I encourage you to use that tool getfirebug.com/ to localize html tags and css styles, it will make your work easier.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago - 7 years 11 months ago #935 by hull91
hull91 replied the topic: Re: Move bottom modules to top
Thank you for your response. I tried editing the index.php text and I'm just not familiar enough with the html language for this template. I have attached the file. Could you please copy and paste below the exact code that would include all three modules? (with all the inclusions?)
And then where exactly would I add it in the file? I can't figure out where I should add it so it would be in the content page right below the links.

I also tried altering the module position to the 'header' position in the backend - this was closer, but it did not move the complete module, and I couldn't get them side by side.

Thank you for your help - this is the last thing I need to get done on the site.


<head>
<jdoc:include type="head" />
<?php
// including template header files
include_once (JPATH_ROOT."/templates/".$this->template.'/lib/php/dj_head.php');
?>
</head>
<body>
<div id="allpage">
<div id="top">
<div id="top-shadow">
<div id="top-in">
<div id="logo">
<a href="<?php echo $mainframe->getCfg('live_site');?>" onfocus="blur()"><img src="<?php echo $dj_path;?>images/logo3.png" alt="<?php echo $mainframe->getCfg('live_site');?>" border="0"/></a>
<br /> <img src="<?php echo $dj_path;?>images/tag_line.png" border="0"/> </div>
</div>
</div>
</div>
<div id="mainpage-top">
<div id="mainpage-bot">
<div id="mainpage">
<div id="main-top">
<div id="main-bot">
<div id="main-in">
<div id="main" class="clearfix">
<div id="topmenu">
<jdoc:include type="modules" name="dj-menu-top" style="raw"/>
</div>
<div id="left">
<jdoc:include type="modules" name="left" style="djmodule"/>
</div>
<div id="content" class="<?php echo $column_left; ?>">
<div id="mainbody">
<div id="mainbody-left">
<div id="mainbody-right">
<div id="mainbody-in" class="clearfix">
<?php if($this->countModules('header')) { ?>
<div id="header" class="clearfix">
<jdoc:include type="modules" name="header" style="raw"/>
</div>
<?php } ?>
<div id="maincontent">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
</div>
</div>
</div>
</div>
<?php if($this->countModules('bottom')) { ?>
<div id="bottom-mods_wrap">
<div id="bottom-mods" class="<?php echo $column_left; ?>">
<?php echo DJModuleHelper::renderModules('bottom','djmodule',3); ?>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer-wrap">
<div id="footer" class="clearfix">
<div id="user3" class="clearfix">
<jdoc:include type="modules" name="user3" style="raw"/>
</div>
<div id="poweredby"></div>
</div>
</div>
</body>
</html>
Last Edit: 7 years 11 months ago by hull91.

Please Log in or Create an account to join the conversation.

  • admin
  • admin's Avatar
7 years 11 months ago #941 by admin
admin replied the topic: Re: Move bottom modules to top
To gain the result you should move the following code:
	<?php if($this->countModules('bottom')) { ?>
									<div id="bottom-mods_wrap">
										<div id="bottom-mods" class="<?php echo $column_left; ?>">
											<?php echo DJModuleHelper::renderModules('bottom','djmodule',3); ?>
										</div>
									</div>
									<?php } ?>


before the header code:
<?php if($this->countModules('header')) { ?>
<div id="header" class="clearfix">
<jdoc:include type="modules" name="header" style="raw"/>
</div>
<?php } ?>


Please note that if you need the customization services like that, contact us here -> www.joomla-monster.com/you-need-customiz...zation-services.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.237 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2018 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.