- Posts: 38
- Thank you received: 0
Insert Dj ImageSlider
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
11 years 5 months ago #30912
by Jan Harmening
Insert Dj ImageSlider was created 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?
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.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
11 years 5 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:
to something like this:
So, just add the last line where I added it.
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 } ?>
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>
The following user(s) said Thank You: Jan Harmening
Please Log in to join the conversation.
Time to create page: 0.238 seconds