Topic-icon Facebook login on user registration page

Active Subscriptions:

None
13 years 2 months ago #31812 by davfis
I would like the "login with facebook" option to also appear on Joomla's user registration page. Right now it does not appear -- is there a setting I missed or some other way to accomplish this? Thanks!

Dave
The topic has been locked.
Support Specialist
13 years 2 months ago #31831 by alzander
Dave,
I honestly didn't realize we don't automatically add the button to the Registration page, only the Login page. There's a few options. The easiest is to update our logic to append the Login with Facebook button automatically when the "Integrate with Joomla" setting is enabled in JFBConnect. To do so, edit the /libraries/sourcecoast/easyTags.php file.

At the very bottom, you'll see a function called exendJoomlaUserForms. Change the line that looks like:
if (($option == 'com_user' && $view == 'login') || ($option == 'com_users' && $view == 'login'))
to:
if ($option == 'com_users' && ($view == 'login' || $view == 'registration'))
If you want more control of where the button shows in the form/view, you'd need to create a template override. That's more flexible, but a little more complicated. If you'd like information on how to do so, just let me know.

Thanks,
Alex
The topic has been locked.