Register buttom in user area

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
Fri Sep 07, 2012 6:49 pm
Reply with quote
Report this post
Hi, I want to delete the register buttom in top in user area position. There are no module in this position and I disabled register option in user's options in administrator, and also the register buttom are not in some menu item...really I do not know how to remove that button and why is still there...
User avatar
Expert Boarder

Konrad M
Fri Sep 07, 2012 7:30 pm
Reply with quote
Report this post
Hi,
To remove it please unpublish mod_gk_register published in 'register' position.
User avatar

GK User
Fri Sep 07, 2012 11:23 pm
Reply with quote
Report this post
I have unpublish de module, is the first i did. The site is http://www.transportesjosemarin.cl.
User avatar
Expert Boarder

Konrad M
Sat Sep 08, 2012 9:41 am
Reply with quote
Report this post
So, please add to override.css
Code: Select all
#btnRegister {
display:none;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Mon Sep 10, 2012 5:17 pm
Reply with quote
Report this post
Thanks you very much!! It worked!!

Konrad M wrote:So, please add to override.css
Code: Select all
#btnRegister {
display:none;
}

and remember to enable override.css option in template settings.
User avatar
Expert Boarder

GK User
Fri Nov 30, 2012 1:03 pm
Reply with quote
Report this post
Did not work for me, I solved it like this:

open templates/gk_bike_store/layouts/blocks/login.php, at row 16, replace

Code: Select all
<?php if($userID == 0) : ?>


With

Code: Select all
<?php $usersConfig = &JComponentHelper::getParams( 'com_users' ); if ($usersConfig->get('allowUserRegistration')) : ?>


That will show the Register label only when Registration is allowed in backend administration at user config, otherwise is hided.

/Steve
User avatar
Junior Boarder


cron