× Joomla Facebook Connect support forum

Topic-icon mod_cblogin instead of mod_jfbclogin

Active Subscriptions:

None
14 years 7 months ago #1990 by frez
Hello!

Is it a way to integrate the facebook connect button directly into the mod_cblogin?
Because i'm using a private message system that is not included in mod_jfbclogin

Can you tell me what is the code to put in mod_cblogin?

Thanks...
The topic has been locked.
Support Specialist
14 years 7 months ago #2015 by alzander
There's a bit of code you'd need to implement. We've tossed around the idea of making a plugin to put a Login button anywhere in a template (not just a module), and may revisit that soon.

The other option I'd recommend is placing the JFBCLogin module directly under your CBlogin module. Turn off it's title and set the "Show login form" to "Hide". This will only show the button and it may look like part of the CBLogin module (depending on your styles)
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #2086 by johnnydement
The problem is still the duplicate logout button ;)

Why not pasting the code so we could simply add the facebook button to any kind of mod_login?
The topic has been locked.
Support Specialist
14 years 6 months ago #2100 by alzander
You're welcome to try to hack it in there. The reason it's not a simple pasting of code is because we have different parameters for redirecting the user, javascript that must also be called, and some library functions from the JFBConnect component that we use as well. Connecting and interacting with Facebook is pretty complex. We'll see if we can make a more hybrid module or some other easier method for you to use.

As for the duplicate logout button, can you 'hide' that in the cblogin module to enable you to use both?
The topic has been locked.