mod_News pro4 and Your shop

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Thu Jan 13, 2011 4:30 pm
Hi

i am putting several mod_News pro4 in the following positions:

top1 top2 top3 top4

When i disable one of them the middle one will be be longer
than the others.

You can have a look here: www.atlantisreisehop.de

Any idea ?

Cheers
Saviour
User avatar
Junior Boarder

GK User
Thu Jan 13, 2011 4:59 pm
Thats a dead link, as far as top1-top7 they seem to be working fine try making custom modules and removing the modules you have right now. I used the code for top1 - top7 last night to make some custom module positions and there is now way a issue like that could be because of the coding.

the width to those modules are set dynamically.

<?php if( $this->countModules('top1') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top1']['class']; ?>" style="width: <?php echo $topsl1['top1']['width']; ?>;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top1" style="gavickpro" />
</div>
</div>
<?php endif; ?>

<?php if( $this->countModules('top2') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top2']['class']; ?>" style="width: <?php echo $topsl1['top2']['width']; ?>;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top2" style="gavickpro" />
</div>
</div>
<?php endif; ?>

<?php if( $this->countModules('top3') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top3']['class']; ?>" style="width: <?php echo $topsl1['top3']['width']; ?>;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top3" style="gavickpro" />
</div>
</div>
<?php endif; ?>


you can set your own widths if you have to:


<?php if( $this->countModules('top1') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top1']['class']; ?>" style="width: 214px;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top1" style="gavickpro" />
</div>
</div>
<?php endif; ?>

<?php if( $this->countModules('top2') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top2']['class']; ?>" style="width: 535px;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top2" style="gavickpro" />
</div>
</div>
<?php endif; ?>

<?php if( $this->countModules('top3') ): ?>
<div class="gk-box column gk-box<?php echo $topsl1['top3']['class']; ?>" style="width: 359px;;">
<div class="gk-box-wrap">
<jdoc:include type="modules" name="top3" style="gavickpro" />
</div>
</div>
<?php endif; ?>
User avatar
Platinum Boarder


cron