Register new user or not

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jul 19, 2012 8:42 pm
Reply with quote
Report this post
First of all I would liek to say "Awesome job Gavick", these new responsive designs are fantastic.

My question is related to the login module. I have it set to not allow registration. However when the flyout comes up it has a Register link in the header regardless. The link goes to a separate page to login but ideally there would be no link in the first place. What do I need to edit to remove this link from the flyout?
User avatar
Expert Boarder

GK User
Fri Jul 20, 2012 8:04 am
Reply with quote
Report this post
This is for removing register link in login popup.

Find File: /templates/gk_bikestore/layouts/blocks/tools/login.php
Find Line: 16 which is below
Code: Select all
         <h3><?php echo JText::_(($userID == 0) ? 'TPL_GK_LANG_LOGIN' : 'TPL_GK_LANG_LOGOUT'); ?> <?php if($userID == 0) : ?><small><?php echo JText::_('TPL_GK_LANG_OR'); ?><a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a></small><?php endif; ?></h3>


Replace with below
Code: Select all
         <h3><?php echo JText::_(($userID == 0) ? 'TPL_GK_LANG_LOGIN' : 'TPL_GK_LANG_LOGOUT'); ?></h3>


See you around...
User avatar
Platinum Boarder


cron