Topic-icon Place LoginButton anywhere?

Active Subscriptions:

None
10 years 9 months ago #54679 by UNATCOPres
Hello guys!

I was just wondering, because I didn't find it in documentation, if there is any way to manually insert any social login button in a module/article with php code or code of some sort.

Thanks in advance!
The topic has been locked.
Support Specialist
10 years 9 months ago #54684 by alzander
Absolutely! We have a full Easy Tag system where you can easily add the over 50 different social widgets any where on your site. For the Login button, the syntax is:
{JFBCLogin}
You can get fancy with things and customize it by using:
{JFBCLogin providers=facebook,linkedin image=custom_image.png}
That will only show the set providers and use the custom_image.png file from each provider in the /media/sourcecoast/images/provider/<social_network> directory.

The full list of tags can be seen in the JFBConnect -> Social -> Examples area.

I hope that helps explain, but if you need anything else, just let us know.

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

None
10 years 9 months ago #54686 by UNATCOPres
Thanks for the reply :3 Yeah, one more:

How do I center the buttons? :D
The topic has been locked.
Support Specialist
10 years 9 months ago #54688 by alzander
The social login buttons are all contained in a CSS container as follows:
<span class="sourcecoast login"><div class="row-fluid">
  <div class="social-login facebook">...</div>
</div></span>
You can use that to add CSS styles to center or adjust the whole block, or each provider, as necessary.

I hope that helps, but if not, let us know.

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

None
10 years 9 months ago #54695 by UNATCOPres
Thanks Alex, I'll try it right away.
The topic has been locked.