Insert Dj ImageSlider

More
12 years 11 months ago #30912 by Jan Harmening
Under the Top Menu I would like to insert the Dj ImageSlider.
Therefore I have added the "advert5" position within the index.php of the template.
But the module does have the same size like the modules advert1-4 as you can see on page www.tip-reisen.de/dubai/emirat-dubai/jumeirah/jumeirah-moschee

Where and how can I change the size of "advert5" that it becomes the same width like the whole page of the template?

Please Log in to join the conversation.

More
12 years 11 months ago #30914 by milos
Replied by milos on topic Insert Dj ImageSlider
You should change this part of /templates/hot_coffeine/index.php file:
Code:
<?php if ($uppermodules) { ?> <div class="upper"> <?php if($showadvert[1]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert1" style="hot" /></div> <?php } if($showadvert[2]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert2" style="hot" /></div> <?php } if($showadvert[3]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert3" style="hot" /></div> <?php } if($showadvert[4]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert4" style="hot" /></div> <?php } ?> <div class="clr"></div> </div> <?php } ?>
to something like this:
Code:
<?php if ($uppermodules) { ?> <div class="upper"> <?php if($showadvert[1]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert1" style="hot" /></div> <?php } if($showadvert[2]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert2" style="hot" /></div> <?php } if($showadvert[3]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert3" style="hot" /></div> <?php } if($showadvert[4]) { ?> <div class="modulerow<?php echo $uppermodules; ?>"><jdoc:include type="modules" name="advert4" style="hot" /></div> <?php } ?> <div class="clr"></div> </div> <?php } ?> <div><jdoc:include type="modules" name="advert5" style="hot" /></div>
So, just add the last line where I added it.
The following user(s) said Thank You: Jan Harmening

Please Log in to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum