joomla problem

Discussion in 'Programming' started by Theozard, Nov 10, 2006.

  1. #1
    I wanted to insert a module below my top menu so i called it world and i have added it between this code
    <div id="access">
    					<a href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rt_styleswitcher.php?fontstyle=f_larger" title="Increase size" id="larger"><span class="button"></span></a>
    					<a href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rt_styleswitcher.php?fontstyle=f_default" title="Default size" id="medium"><span class="button"></span></a>
    					<a href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rt_styleswitcher.php?fontstyle=f_smaller" title="Decrease size" id="smaller"><span class="button"></span></a>
    					<a href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rt_styleswitcher.php?widthstyle=w_wide" title="Wide width" id="wide"><span class="button"></span></a>
    					<a href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rt_styleswitcher.php?widthstyle=w_narrow" title="Narrow width" id="narrow"><span class="button"></span></a>
    	</div>
    			</div>
    						<?php if ($no_inset_collapse || mosCountModules('inset')) { ?>
    			<?php mosLoadModules('world', -1); ?>
    			<div id="graphic">
    				<div id="spotlight">
    					<div id="quote">
    						<?php mosLoadModules('inset', -1); ?>
    					</div>
    				</div>
    			</div>
    			<?php } ?>
    			<div class="clr"></div>
    			<table class="nopad">
    				<tr valign="top">
    
    Code (markup):
    Now the thing is the inset module is coming below the world module like this
    http://img72.imageshack.us/my.php?image=moduleserrorsu1.jpg

    I really need to get this urgently.Any one?
     
    Theozard, Nov 10, 2006 IP
  2. Imran

    Imran Notable Member

    Messages:
    2,340
    Likes Received:
    190
    Best Answers:
    0
    Trophy Points:
    230
    #2
    You have wrongly used word module position inside your php inset conditional.
    you wuold need to create a separate div and palce it there.
     
    Imran, Nov 10, 2006 IP
    Theozard likes this.
  3. Theozard

    Theozard Active Member

    Messages:
    811
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    68
    #3
    could you please gimme the exact command please, would really help.Thanks
     
    Theozard, Nov 10, 2006 IP
  4. Theozard

    Theozard Active Member

    Messages:
    811
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    68
    #4
    i added a layer and the thing below that was the graphic div, i removed that but there some space still left :(
    [​IMG]
     
    Theozard, Nov 10, 2006 IP
  5. Imran

    Imran Notable Member

    Messages:
    2,340
    Likes Received:
    190
    Best Answers:
    0
    Trophy Points:
    230
    #5
    image is too small to make out anything from it, cant you upload a bigger image and ur new code?
     
    Imran, Nov 10, 2006 IP