Topic-icon Position of social icons in easysocial login

Active Subscriptions:

None
10 years 5 months ago #56217 by daaoud
Hi,

I have easysocial and jfbconnect installed and working. Al buttons are showing nicely under the login fields. However, I would like to start with the facebook button instead of yahoo. Is there an option to change the positioning of the social network buttons? For example, yahoo is the first button and I would like to have facebook, linkedin and google+ before yahoo.

Thanks!
The topic has been locked.
Support Specialist
10 years 5 months ago #56222 by mel
The ordering of the buttons is controlled by how EasySocial is calling the JFBConnect code to insert the buttons.

In /components/com_easysocial/themes/wireframe/facebook/button.jfbconnect.php, around line 20, try replacing
{JFBCLogin}
with
{JFBCLogin providers=facebook,linkedin,google,yahoo,windowslive,twitter}

The providers setting lets you put the providers in whatever order, as long as they are configured correctly with API keys. Let me know how that goes. If that works, you'll probably have to create your own theme so that these changes don't get lost if you upgrade EasySocial.

-Melissa
The topic has been locked.