Topic-icon Register button does not go away using modal mode

Active Subscriptions:

None
Hi,
I would like to see just a login button, nothing else.
It will be dedicated site with known users, nobody should be able to register.

I am constructing a 'pilot' based on Joomla 3.0, working on Mac OSX 10.7, running apache as web server.
Currently not published on the internet, so I will provide some screenshots

Am I missing some configuration setting ?

Regards
Dirk
File Attachment:


File Attachment:
The topic has been locked.
Support Specialist
10 years 11 months ago #33265 by alzander
That looks to be a bug-ish thing. The hiding of the register button only works for the login form itself. The modal is it's own little thing, and, frankly, we just always assumed the register button should show in that mode. I can see adding another option for hiding the register button in modal as well as hiding register in the login view.

To fix for now, edit the /modules/mod_sclogin/tmpl/login.php file. At line 14, you'll see the following lengthy line:
echo '<div class="sclogin-modal-links"><a class="btn btn-primary" href="#login-modal" role="button" data-toggle="modal">Login</a><a class="btn" href="' . JRoute::_('index.php?option=com_users&view=registration', false) . '">Register</a></div>';
Update that to the below, which simply removes the Register button:
echo '<div class="sclogin-modal-links"><a class="btn btn-primary" href="#login-modal" role="button" data-toggle="modal">Login</a></div>';

I hope that helps, but please let us know how it goes as well as any other feedback you may have.

Finally, once you've tested our free SCLogin module and are happy with how it's going for you, please consider leaving a rating and review on the Joomla Extension Directory for it. It's certainly not required, but very appreciated, and you'd be the first to review it!
extensions.joomla.org/extensions/access-...authentication/24054

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 11 months ago - 10 years 11 months ago #33270 by macsmulders
Alex,

tried your solution....here is the feedback
It works. Now there is only the logon button. !

If you need to test the final solution, I will assist, email me if you like.
Great support !

Grtz
Dirk
Last edit: 10 years 11 months ago by macsmulders.
The topic has been locked.
Support Specialist
10 years 10 months ago #33278 by alzander
Dirk,
Glad to hear that got it going for you. We'll have the 'final' release out later this month which has quite a few other improvements in it. We'll make sure we get this option in there as well.

Should you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.