Topic-icon Side by side registration form

Active Subscriptions:

None
5 years 11 months ago #63924 by Glasairmell
Hello,
Please point me in the right direction for your side by side registration form. I see the setting to have login and registration side by side. Where are the docs to integrate it into the Joomla! registration page?

Where are the docs for changing the heading of the Facebook button "Register With" and formatting the position of the buttons like centering them?

I am guessing that the more social api you have the more buttons will show up.

Does this code place all the social login buttons together where ever you put it? {JFBCLogin} For example like your drop down account menu above right?

Going through your docs initially is like drinking from a fire hose.

Thank you.
The topic has been locked.
Support Specialist
5 years 11 months ago #63929 by alzander
The side-by-side login/registration form is only available during the social login process. The user is brought to that type of form if automatic registration is disabled (otherwise, they don't need to go through a registration form) or if the social network the user is registering with doesn't provide an email address (instagram, meetup and another that escapes me now).

In those cases above, the user is brought to JFBConnect's register or login page where the user can a) create a new account with profile data from their social network pulled in or b) login to Joomla with an existing account. In either case, the Joomla account that exists or that is created will be associated with their social network account. After that, they can simply login with the social network instead of using Joomla credentials.

To integrate/add JFBConnect's social login buttons to the Joomla login or registration pages, enable the "Integrate into Joomla Login" setting in the JFBConnect -> Configuration area. Enabling that setting will automatically show the social network login buttons you have configured in the Login or Registration pages of Joomla. We do *not* alter those pages though, so unless you have created a template override to add the Login form to your registration page, it will not be a side-by-side registration/login form.

To change the "Register with" or any other text, we use Joomla's language file system. You can use the Language Override feature in the Joomla admin area or modify our language files directly. The key you're looking for would be:
COM_JFBCONNECT_REGISTER_WITH="Register With "

The {JFBCLogin} tag is powerful in that it allows you to customize how it works. Wherever you place it in an article, module or other output area, it will by default show all social login providers you have enabled. There are a lot of custom parameters you can include too. If you go to the JFBConnect -> Social -> Examples area, you can see all the available options, like:
{JFBCLogin text=Register with these great networks providers=facebook,google image=mybetterimage.jpg logout=true logout_url=http://site.com/goodbye}
That will show the login buttons only for Facebook and Google (even if you have others configured) using a custom image for each from the /media/sourcecoast/images/provider/facebook (and /google) directories called mybetterimage.jpg along with a logout button (when the user is logged in) that will redirect them to the goodbye page of your site.

All of the easy tags have a class of 'sourcecoast' along with the type of widget. So, to style the login buttons you add like the above, you can add a CSS class of ".sourcecoast.login" to your template to apply whatever styles you want.

Finally, the dropdown we have at the top of this site is created with the SCLogin module. That shows the login area for guests and uses the "Custom User Menu" option to show a standard Joomla menu when the user is logged in. We have done some specific stylings of that module to integrate with our template, but the user menu is a built in feature you can use on any site.

We know our documentation is a bit overwhelming. It's something we'll be overhauling soon. Right now, we're focused on a plethora of changes from Facebook that we are incorporating into the next release. Over 10 years of development has gone into JFBConnect, so there's a lot of features and flexibility, but we understand it can be difficult to get a lasso around at first. If you have any questions, just let us know :)

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

None
5 years 11 months ago #63937 by Glasairmell
Roger all that and thank you for the reply.
Cheers!
The topic has been locked.
Support Specialist
5 years 11 months ago #63941 by alzander
No problem. Glad we could help! If you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.