× Joomla Facebook Connect support forum

Topic-icon Where to place {JFBCLogin} tag in CB login module

Active Subscriptions:

None
I am using CB 1.3.1. I want to display JFBC connect button in CB login module. Where exactly do I place the {JFBCLogin} tag in the module code?
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10030 by alzander
I honestly don't know their module code off the top of my head, and Community Builder code, in general, can be extremely hard to read. Also, you didn't really say where you wanted it.

One thing we'd recommend as a possibility is simply creating a Custom HTML module, set it to the same module position as your CB module, set the ordering to below the CB module, and disable the Show Title setting. Then, in the HTML box, simply put {JFBCLogin}. This will display the Login With Facebook button directly below the CB module, and may be exactly what you're looking for. It also allows you to easily add a little text like "Or login with Facebook below!". However, depending on your template, this doesn't always look perfect.

Hope this helps, but if you need more help, let us know, and specifically, where you'd want the button in the module. We can look into the code, but it may take a little while to get a good answer for you.

Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10040 by basidee
Thanks Alex. The custom html idea is a great one, which I should have thought of myself.

I will use it for now, but I still need a more permanent/tidy solution - to place it within the module. I would like to see it just below the cb login button. Glad if you could help me look at the code and determine where to place the tag. I can mail you the cblogin script if you want? Just so you dont have to go searching for it.
The topic has been locked.