You need to edit layout php file as code for register is hard coded.
File: templates/gk_twn2/layouts/blocks/logo.php
Lines: 50 to 61 which is below
- Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
<div id="gkButtons">
<div>
<?php if(GK_LOGIN) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=login" id="btnLogin"><span><?php echo $btn_login_text; ?></span></a>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
Replace them with below. In below code I have kept original div id for css purposes.
- Code: Select all
<?php if($this->modules('register')) : ?>
<div id="gkButtons">
<div>
<jdoc:include type="modules" name="register" style="<?php echo $this->module_styles['register']; ?>" />
</div>
</div>
<?php endif; ?>
If you are comfortable with css then you can simply use below and add your own css. See example div id "gkMyRegister".
- Code: Select all
<?php if($this->modules('register')) : ?>
<div id="gkMyRegister">
<jdoc:include type="modules" name="register" style="<?php echo $this->module_styles['register']; ?>" />
</div>
<?php endif; ?>
Make sure to publish the module to show on all pages.
See you around...