I'v added new module position "topslider", to add "Image show module" there.
Here is my code:
- Code: Select all
<div id="gkMainMenu">
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</div>
<?php if($this->API->modules('topmenu')) : ?>
<nav id="gkTopMenu">
<jdoc:include type="modules" name="topmenu" style="<?php echo $this->module_styles['topmenu']; ?>" modnum="<?php echo $this->API->modules('topmenu'); ?>" />
</nav>
<?php endif; ?>
<?php if($this->API->modules('topslider')) : ?>
<nav id="topslider">
<jdoc:include type="modules" name="topslider" style="<?php echo $this->module_styles['topslider']; ?>" modnum="<?php echo $this->API->modules('topslider'); ?>" />
</nav>
<?php endif; ?>
</section>
My problem now is that this module is not scalable, if we visit it from tablets or mobiles!
What did I missed?
Many thanks