Topic-icon Facebook and Google buttons design

Active Subscriptions:

None
12 years 5 months ago #39887 by maahur
I have a couple of questions

1. Is it possible to get the facebook and Google plus buttons on the top of the Login form. Please find attached how my login form looks.
2. Is it possible to add a label above Facebook and Google buttons saying Login using Facebook Google.
3. As you can see my Login Form does not Look in the best shape and design especially with the two button of Facebook and Google floating down without a label. Do you have any suggestion to make it look good.

If yes what files do I change?

Below is the screenshot
File Attachment:
The topic has been locked.
Support Specialist
12 years 5 months ago #39964 by alzander
Maaz,
Sorry for the delayed response. Hopefully I can help answer your questions below:

1. Is it possible to get the facebook and Google plus buttons on the top of the Login form. Please find attached how my login form looks.

Right now, there's not an option to do this. We are working on new layout system for the SCLogin module that should have more templates available. Until then, if you want to just move those buttons to the top, you can edit the /modules/mod_sclogin/tmpl/login.php file. Around line 43, you'll see:
require(JModuleHelper::getLayoutPath("mod_sclogin", "joomlaLogin_" . $layout));
require(JModuleHelper::getLayoutPath('mod_sclogin', "socialLogin"));
Simply swap those two lines, and the social section will appear first.

2. Is it possible to add a label above Facebook and Google buttons saying Login using Facebook Google.

In that same section, you can add your own text, like:
echo '<div class="social-intro">Login using</div>';
require(JModuleHelper::getLayoutPath('mod_sclogin', "socialLogin"));
require(JModuleHelper::getLayoutPath("mod_sclogin", "joomlaLogin_" . $layout));

3. As you can see my Login Form does not Look in the best shape and design especially with the two button of Facebook and Google floating down without a label. Do you have any suggestion to make it look good.

Try the above and see if that helps. Another thing to try is switching from the button images to icons. You can do that in the Social parameters of the SCLogin module. That may especially work well if you add the "Login using" text.

If you need anything else though, just let us know.

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

None
12 years 5 months ago #39993 by maahur
That did not work. I even tried adding the echo but thats not reflecting on the main website either.
The topic has been locked.
Support Specialist
12 years 5 months ago #39998 by alzander
If switching those 2 lines didn't work, the only reasons I can think of are:
* You have Joomla caching enabled. Please disable caching or at least clear your cache after you make these changes.
* You have a template override for that file. Check to see if the file /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php exists. If so, edit that instead.

If that doesn't help, can you let me know a page where we can see it not working?

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

None
12 years 5 months ago #40011 by maahur
Ok So I cleared my browser cache, joomla cache and purged it too.
But that did not help.

But your second point - I am not sure what template override is but I dont find the folder "mod_sclogin" in my templates folder. Is that the issue? How can I resolve this ?

The page where I want these changes is: www.designerswardrobe.com/index.php?opti...0&Itemid=730&lang=en
The topic has been locked.
Support Specialist
12 years 5 months ago #40043 by alzander
On that page you linked to, I'm actually seeing the "Login using" text. It's just under the social buttons and above the standard Joomla login form.

So the text is showing. Please make sure you added it above the lines I mentioned above. Once you get it in the right spot, you can use CSS to style the .social-intro class however you want to make it more pronounced.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #40052 by maahur
Yea I see it too now. For some reason it takes time to reflect and show the changes I suppose. Sorry for the misunderstanding and thankyou for the support.
The topic has been locked.
Support Specialist
12 years 5 months ago #40066 by alzander
No problem. I hope that helps get you going. Should you need anything else from us, just let us know.

Thanks,
Alex
The topic has been locked.