That is not a module position for other modules.
Template checks if there is anything published in module position "login", if there is then it shows the login button.
See file : templates/gk_creativity/layouts/default.php
Line: 84 to 90 which is below
- Code: Select all
<?php if($this->API->modules('login')) : ?>
<div id="gkUserArea">
<?php if($this->API->modules('login')) : ?>
<a href="<?php echo $this->API->get('login_url', 'index.php?option=com_users&view=login'); ?>" id="gkLogin" class="button border"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
Add your button code after or before current button.
- Code: Select all
<a href="<?php echo $this->API->get('login_url', 'index.php?option=com_users&view=login'); ?>" id="gkLogin" class="button border"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?></a>
See you around...