Register button does not go away using modal mode

Register button does not go away using modal mode

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
http://www.sourcecoast.com/images/agorapro/attachments/16392/SClogin-1.png

http://www.sourcecoast.com/images/agorapro/attachments/16392/SClogin2.png

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Register button does not go away using modal mode

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:

Code:

    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:

Code:

    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!
http://extensions.joomla.org/extensions … tion/24054

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24145 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Register button does not go away using modal mode

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

Edited by: macsmulders - May-20-13 09:52:31
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Register button does not go away using modal mode

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24145 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11685
Total Polls:
0
Total Posts:
49056
Posts today:
3
User Info
 
Total Users:
47818
Newest User:
normastainfo
Members Online:
1
Guests Online:
713

Online: 
joejvgsourcecoast
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program