Topic-icon SCLogin logout layout

Active Subscriptions:

None
14 years 1 month ago #21931 by fercar
SCLogin logout layout was created by fercar
Hello,

It's been less than 24 hours since I purchased, downloaded and installed JFBConnect 4.2. I was able to replace 3 separate extensions with it, thank you so much for that. My first order of business was to change the SCLogin layout to horizontal, which worked out nicely for the Login part, thanks to the different FB Login options you provided in the login.php file. I had to use my own image file to get the layout to look proper, but it worked. Now, the Logout part is another story. In order for the module to fit inline, I need to HIDE the "Profile Picture" and "Show Connect Account Button" in the settings. Is there a way to modify the logout.php file in order to get the FB Avatar and/or the Connect Account button to show inline with the text?

Thanks,
Ferd
The topic has been locked.
Support Specialist
14 years 1 month ago #21934 by alzander
Replied by alzander on topic SCLogin logout layout
Ferd,
Very glad to hear you're liking JFBConnect, and definitely happy to hear how it's condensed your extensions from 3 to one!

As for your question about making things horizontal in the logout area, you can try some of the following. In the module parameters, add a "Module Class Suffix", like "-sclogin". Then, kn your template's CSS file, add:
.moduletable-sclogin img { float: left; }
.sc_connect_user {float: left; }
That may effect your login image though, so not sure if that will help.

If necessary, you can create a template override by copying /modules/mod_sclogin/tmpl/logout.php to /templates/<YOUR_TEMPLATE>/html/mod_sclogin/logout.php

Once there, edit it and you can add classes and styles as necessary to re-arrange things. By copying it, it ensures that your changes won't be overridden when you upgrade JFBConnect in the future.

I'm realizing that our logout module could use a little more flexibility.. sorry about that :)

Hope that all helps, and let us know if you need anything else, or have any feedback overall!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #21970 by fercar
Replied by fercar on topic SCLogin logout layout
Alex,

Thanks for the reply. The Module Class Suffix option doesn't work for the template position I'm using. I did however manage to make it work by adding ".sc_connect_user" and ".fb_connect_user" to the template module CSS and putting a couple DIV's and SPAN's in logout.php.

Thanks again,
Ferd
The topic has been locked.
Support Specialist
14 years 1 month ago #21973 by alzander
Replied by alzander on topic SCLogin logout layout
Ferd,
Perfect! Glad to hear we got you going. Should you need anything else, just let us know.

Finally, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect, or our support. It's certainly not required, but very appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and good luck,
Alex
The topic has been locked.