Hello,
I am working with gk_music, how to implement the topbar from gk_gamenews or gavickpro homepage to the gk_music template?
bizzmela.com
<?php if($this->API->modules('topnav + social')) : ?>
<div id="gkTopBar">
<div>
<?php if($this->API->modules('social')) : ?>
<div class="social-icons">
<jdoc:include type="modules" name="social" style="<?php echo $this->module_styles['social']; ?>" modnum="<?php echo $this->API->modules('social'); ?>" />
</div>
<?php endif; ?>
<?php if($this->API->modules('topnav')) : ?>
<nav>
<jdoc:include type="modules" name="topnav" style="<?php echo $this->module_styles['topnav']; ?>" modnum="<?php echo $this->API->modules('topnav'); ?>" />
</nav>
<?php endif; ?>
<?php if($this->API->modules('usermenu')) : ?>
<nav id="gkTopBarUsermenu">
<jdoc:include type="modules" name="usermenu" style="<?php echo $this->module_styles['usermenu']; ?>" modnum="<?php echo $this->API->modules('usermenu'); ?>" />
</nav>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!-- Template specific Module Positions -->
<position>topbarsocial</position> 1
<position>topbarlang</position> 2
<position>topbarmenu</position> 3
<position>topbarusermenu</position> 4
<position>breadcrumb</position>
<position>topnav</position>
<position>header</position>
<position>search</position>
<position>footer_nav</position>
GK_TEMPLATE_MODULE_STYLES = array(
'header' => 'gk_style',
'breadcrumb' => 'none',
'footer_nav' => 'none',
'search' => 'none',
'topnav' => 'none',
'topbarsocial' => 'none', 1
'topbarlang' => 'none', 2
'topbarmenu' => 'none', 3
'topbarusermenu' => 'none', 4
<?php if($this->API->modules('topbarsocial + topbarlang + topbarmenu + topbarusermenu')) : ?>
<div id="gkTopBar">
<div>
<?php if($this->API->modules('topbarsocial')) : ?>
<div class="social-icons">
<jdoc:include type="modules" name="topbarsocial" style="<?php echo $this->module_styles['topbarsocial']; ?>" modnum="<?php echo $this->API->modules('topbarsocial'); ?>" />
</div>
<?php endif; ?>
<?php if($this->API->modules('topbarlang')) : ?>
<jdoc:include type="modules" name="topbarlang" style="<?php echo $this->module_styles['topbarlang']; ?>" />
<?php endif; ?>
<?php if($this->API->modules('topbarmenu')) : ?>
<nav>
<jdoc:include type="modules" name="topbarmenu" style="<?php echo $this->module_styles['topbarmenu']; ?>" modnum="<?php echo $this->API->modules('topbarmenu'); ?>" />
</nav>
<?php endif; ?>
<?php if($this->API->modules('topbarusermenu')) : ?>
<nav id="gkTopBarUsermenu">
<jdoc:include type="modules" name="topbarusermenu" style="<?php echo $this->module_styles['topbarusermenu']; ?>" modnum="<?php echo $this->API->modules('topbarusermenu'); ?>" />
</nav>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
Konrad M wrote:@uljan all procedure is described in this topic.