User registration showing even though it's disabled

Professionally designed and responsive events Joomla template to launch your event based website.
GK User
Mon Mar 13, 2017 3:08 pm
Even though I've set user registration to NO in the user options, the field for 'Create an Account' still shows. How can I disable it?

Thanks!
User avatar
Junior Boarder

teitbite
Thu Mar 16, 2017 7:45 pm
Hi

So You meant a login popup and a link placed there :) Please forget what I said in support ticket. I thought You were talking about something different. Please edit file /layout/blocks/tools/login.php and remove:

Code: Select all
                                        <?php if($userID == 0) : ?>
                                        <a class="button" href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration"><?php echo JText::_('TPL_GK_LANG_REGISTER_POPUP'); ?></a>
                                        <?php endif; ?>
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.