Disable Joomla user registration seems not affecting templat

GK User
Mon Jul 07, 2014 6:25 pm
Hi,

we have disabled the Joomla! user registration so we would expect that the login popup would not show the button "Create an account" but it is still present and functional and it redirects to a login and registration form.

What's wrong?
User avatar
Junior Boarder

GK User
Wed Jul 09, 2014 10:49 am
Could you please post an url to your site where I can see this bug?
User avatar
Moderator

GK User
Wed Jul 09, 2014 12:12 pm
Cyberek wrote:Could you please post an url to your site where I can see this bug?



I have the same issue. I saw this post and tried it.

dev site is new.risenlife.org.nz
User avatar
Junior Boarder

GK User
Fri Jul 11, 2014 7:16 am
Ill submit that issue to our devteam and will reply as soon as I'll get an answer.
User avatar
Moderator

GK User
Fri Jul 11, 2014 7:19 am
One more thing - do you mean disable registration on Joomla or in our template?

Meanwhile you can edit file:
/templates/gk_university/layouts/blocks/tools/login.php
and remove line:
Code: Select all
<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>
User avatar
Moderator

GK User
Fri Jul 11, 2014 7:51 am
I have disabled registration in Joomla. But it still shows up on the login popup.

I don't want people to be able to register.
User avatar
Junior Boarder

GK User
Mon Jul 14, 2014 7:54 am
Have you tried proposed solution?
User avatar
Moderator

GK User
Tue Jul 15, 2014 7:04 am
No, our site is still in development, so it wasn't too much of an issue at present.

But I would like to be able to switch the option off and later on.
User avatar
Junior Boarder

GK User
Tue Jul 15, 2014 4:00 pm
The topic waits in queue to our devteam. Perhaps they will have better solution.
User avatar
Moderator

GK User
Fri Jan 30, 2015 12:38 pm
Hi,

I got the same pb with the University template.
I don't want users to be able to register.

If you suppress the code line you mentioned, it does suppress the "Create An Account" button in the pop-up.

But the problem, it that it still leaves the create an account section in the page of the menu : https://demo.gavick.com/joomla25/univer ... ages/users

How to suppress it there too ?
Is it an obligation to modify a template file, or is there another solution (to avoid the problem when future updates of the template) ?

Thanks for your help.
User avatar
Senior Boarder

GK User
Sun Feb 01, 2015 10:04 am
Removing register part is easy, but it will leave empty space on the right side. If you are ok with that please let me know and I'll provide necessary changes.
User avatar
Moderator

GK User
Sun Feb 22, 2015 6:17 pm
The issue with register option appearing in login popup even if registration is disabled should be fixed with next template release.
User avatar
Moderator


cron