module override ID

GK User
Fri Nov 20, 2015 12:05 pm
Hi,

I made 4 new module positions bottom 7,8,9 & 10 they all work great!
Question:
If i want to use module override ID they don't show up. (Did i forgot something here?)

Maybe you can help me.
www.sesamband.nl

Best regards,
Stef
User avatar
Expert Boarder

GK User
Fri Nov 20, 2015 5:49 pm
What do you mean exactly by "they don't show up"? Could you please be more specific?
User avatar
Moderator

GK User
Sat Nov 21, 2015 11:19 am
You can see in the pic. that it goes till bottom6 so i need there the other 4 as well to use.

Thanks,
User avatar
Expert Boarder

GK User
Mon Nov 23, 2015 12:56 pm
got another question:
The new module positions are on top of the main menu i used z-index:1;" for the new modules to avoid this but no result.
Maybe you can help?

Thank you for your time,
Stef
User avatar
Expert Boarder

GK User
Tue Nov 24, 2015 5:59 pm
1. Template settings are defined in this file:
templates/gk_steakhouse/templateDetails.xml
2. Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Nov 24, 2015 8:28 pm
Hi Cyberek,
Thanks for your time!
www.sesamband.nl
User avatar
Expert Boarder

GK User
Wed Nov 25, 2015 7:54 pm
The problem with your modules is that you have placed them outside #gkBg div. Please put them exactly where the other modules are and all should work fine.
User avatar
Moderator

GK User
Thu Nov 26, 2015 9:07 am
Strange i put them here:

In templateDetails.xml
<!-- BOTTOM Module Positions -->
<position>bottom1</position>
<position>bottom2</position>
<position>bottom3</position>
<position>bottom4</position>
<position>bottom5</position>
<position>bottom6</position>
<position>bottom7</position>
<position>bottom8</position>
<position>bottom9</position>
<position>bottom10</position>

And in default php this:
<?php if($this->API->modules('bottom1')) : ?>
<section id="gkBottom1"<?php if($this->API->modules('bottom1') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom1'])) echo ' id="'.$this->module_ids['bottom1'].'"'; ?>>
<jdoc:include type="modules" name="bottom1" style="gk_style" modnum="<?php echo $this->API->modules('bottom1'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom2')) : ?>
<section id="gkBottom2"<?php if($this->API->modules('bottom2') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom2'])) echo ' id="'.$this->module_ids['bottom2'].'"'; ?>>
<jdoc:include type="modules" name="bottom2" style="gk_style" modnum="<?php echo $this->API->modules('bottom2'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom3')) : ?>
<section id="gkBottom3"<?php if($this->API->modules('bottom3') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom3'])) echo ' id="'.$this->module_ids['bottom3'].'"'; ?>>
<jdoc:include type="modules" name="bottom3" style="gk_style" modnum="<?php echo $this->API->modules('bottom3'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom4')) : ?>
<section id="gkBottom4"<?php if($this->API->modules('bottom4') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom4'])) echo ' id="'.$this->module_ids['bottom4'].'"'; ?>>
<jdoc:include type="modules" name="bottom4" style="gk_style" modnum="<?php echo $this->API->modules('bottom4'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom5')) : ?>
<section id="gkBottom5"<?php if($this->API->modules('bottom5') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom5'])) echo ' id="'.$this->module_ids['bottom5'].'"'; ?>>
<jdoc:include type="modules" name="bottom5" style="gk_style" modnum="<?php echo $this->API->modules('bottom5'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom6')) : ?>
<section id="gkBottom6"<?php if($this->API->modules('bottom6') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom6'])) echo ' id="'.$this->module_ids['bottom6'].'"'; ?>>
<jdoc:include type="modules" name="bottom6" style="gk_style" modnum="<?php echo $this->API->modules('bottom6'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom7')) : ?>
<section id="gkBottom7"<?php if($this->API->modules('bottom7') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom7'])) echo ' id="'.$this->module_ids['bottom7'].'"'; ?>>
<jdoc:include type="modules" name="bottom7" style="gk_style" modnum="<?php echo $this->API->modules('bottom7'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom8')) : ?>
<section id="gkBottom8"<?php if($this->API->modules('bottom8') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom8'])) echo ' id="'.$this->module_ids['bottom8'].'"'; ?>>
<jdoc:include type="modules" name="bottom8" style="gk_style" modnum="<?php echo $this->API->modules('bottom8'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom9')) : ?>
<section id="gkBottom9"<?php if($this->API->modules('bottom9') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom9'])) echo ' id="'.$this->module_ids['bottom9'].'"'; ?>>
<jdoc:include type="modules" name="bottom9" style="gk_style" modnum="<?php echo $this->API->modules('bottom9'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('bottom10')) : ?>
<section id="gkBottom10"<?php if($this->API->modules('bottom10') > 1) : ?> class="gkCols3 gkPage"<?php endif; ?>>
<div <?php if(isset($this->module_ids['bottom10'])) echo ' id="'.$this->module_ids['bottom10'].'"'; ?>>
<jdoc:include type="modules" name="bottom10" style="gk_style" modnum="<?php echo $this->API->modules('bottom10'); ?>" />
</div>
</section>
<?php endif; ?>

<?php if($this->API->modules('lang')) : ?>
<div id="gkLang">
<div class="gkPage">
<jdoc:include type="modules" name="lang" style="gk_style" />
</div>
</div>
<?php endif; ?>
User avatar
Expert Boarder

GK User
Fri Nov 27, 2015 5:24 pm
Maybe you have some unclosed or to many closed html tags in one of your modules?
User avatar
Moderator