Topic-icon SCLogin module and Rokbox

Active Subscriptions:

None
13 years 6 months ago #28267 by marbol
Using JFBConnect 4.3.0 and SCLogin 1.1.5 on Joomla 2.5.8 with RocketTheme template.

I have seen a few posts about customizing the JFBConnect login module -- both SCLogin and its predecessor (example -- www.sourcecoast.com/forums/jfbconnect/jf...rockettheme-template) -- and have read the Answers to Common Support Questions.

Unfortunately, I'm confused.

First, in the post referenced above, the OP was told to comment out a few line in the /modules/mod_sclogin/tmpl/default.php to create a custom button and skip the default blue button from Facebook. I have downloaded the mod_sclogin directory and its contents from my site and there's no default.php file.

Second, I search the entire directory for files with the text $fbClient, as specified under "How can I get the Login With Facebook button to work in a Javascript pop-up?", but I find no reference to this string.

I did find a line in login.php that I modified to reference a custom png file (line 175 -- //$jfbcLogin = '';) but I don't understand why this even would be necessary given that the login module settings has an option to retrieve an image from a URL. Is this because it does it via javascript and it's necessary to hard code it instead?

Thanks in advance for clarifications, corrections, and pointing me in the right direction.



Mark
The topic has been locked.
Support Specialist
13 years 6 months ago #28271 by alzander
Replied by alzander on topic SCLogin module and Rokbox
Mark,
All of the posts you've found seem really old. We've made it much simpler in the last 8 months or so of the SCLogin module to use a custom image. In the parameters for the module, there is a "Login Button Type" setting. Change that to "Image" and then provide a link to the image you want to use in the field below that. That's it!

I didn't realize the Common Support Questions guide was that out of date. I updated the question to include the information about the newer settings in the SCLogin module.

If that doesn't help, or you need more help, just let us know.

Thanks,
Alex
The topic has been locked.