How to remove Only Register Bottom from Finance Business?

GK User
Sun Jul 17, 2011 9:36 am
How to remove Only Register Bottom from Finance Business?
User avatar
Fresh Boarder

GK User
Wed Jul 20, 2011 1:16 pm
I have the same problem: if I set off the user registration and allow only login, the template in the login position shows my login module's registration button :(

Is it possible the remove in this case the registration button?
User avatar
Fresh Boarder

GK User
Fri Jul 22, 2011 5:44 am
Hi

I solved it like this:

open templates/gk_finance_business/layouts/blocks/top.php, at row 28, 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 button only when Registration is allowed, otherwise is hided.

/Steve
User avatar
Junior Boarder


cron