Hi
This is our fault and it's easy to fix. Just follow this instructions.
Open the following file:
../templates/gk_mystore/layouts/blocks/toolbar.php
and replace this code:
- Code: Select all
<?php if( GK_LOGIN || GK_REGISTER || GK_TOOLS) : ?>
<div id="gk-toolbar">
<?php if($this->countModules('topmenu')): ?>
<div id="gk-top-menu">
<jdoc:include type="modules" name="topmenu" style="none" />
</div>
<?php endif; ?>
<?php if($this->countModules('cart')) : ?>
<div id="gk-items" style="float:right;">
( <strong>...</strong> <?php echo JText::_('GK_ITEMS'); ?> )
</div>
<div id="gk-cart">
<a href="#" id="btn_cart"><span><?php echo JText::_('GK_CART'); ?></span></a>
</div>
<?php endif; ?>
<?php if( GK_LOGIN || GK_REGISTER || GK_TOOLS ) : ?>
<div id="gk-tools">
<div>
<?php if(GK_TOOLS) : ?>
<a href="#" id="btn_tools"><span><?php echo JText::_('GK_TOOLS'); ?></span></a>
<div class="gk_hide">
<div class="gk_popup-hide" id="popup_tools">
<?php $this->loadBlock('usertools/tools') ?>
</div>
</div>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=register" id="btn_register"><span><?php echo JText::_('GK_REGISTER'); ?></span></a>
<?php endif; ?>
<?php if(GK_LOGIN) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=login" id="btn_login"><span><?php echo ($userID > 0) ? JText::_('GK_LOGOUT') : JText::_('GK_LOGIN'); ?></span></a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
with
- Code: Select all
<div id="gk-toolbar">
<?php if($this->countModules('topmenu')): ?>
<div id="gk-top-menu">
<jdoc:include type="modules" name="topmenu" style="none" />
</div>
<?php endif; ?>
<?php if($this->countModules('cart')) : ?>
<div id="gk-items" style="float:right;">
( <strong>...</strong> <?php echo JText::_('GK_ITEMS'); ?> )
</div>
<div id="gk-cart">
<a href="#" id="btn_cart"><span><?php echo JText::_('GK_CART'); ?></span></a>
</div>
<?php endif; ?>
<?php if( GK_LOGIN || GK_REGISTER || GK_TOOLS ) : ?>
<div id="gk-tools">
<div>
<?php if(GK_TOOLS) : ?>
<a href="#" id="btn_tools"><span><?php echo JText::_('GK_TOOLS'); ?></span></a>
<div class="gk_hide">
<div class="gk_popup-hide" id="popup_tools">
<?php $this->loadBlock('usertools/tools') ?>
</div>
</div>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=register" id="btn_register"><span><?php echo JText::_('GK_REGISTER'); ?></span></a>
<?php endif; ?>
<?php if(GK_LOGIN) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=login" id="btn_login"><span><?php echo ($userID > 0) ? JText::_('GK_LOGOUT') : JText::_('GK_LOGIN'); ?></span></a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
Now it should work fine.
So, to remove "Register" button, you just need to disable GK Register module on "Register" module position.
To remove Login button, just disable Login module form on "login" module position.
And finally, to remove "Tools" button you must disable on template parameters > Features.
This will be added on next update version.
Cheers