Topic-icon Horizontal positioning of login module

Active Subscriptions:

None
14 years 6 months ago #15335 by akashmitra
I want to place the username and password fields of the jfbcLogin module side by side (inline) and not vertically. Do I need to override the mod_jfbclogin/tmpl/default.php to do this? Or is there an easier way? Also I want to do a few styling to the login box. Is it okay to style it by putting my CSS codes for the IDs in my joomla template css? Please help.
The topic has been locked.
Support Specialist
14 years 6 months ago #15346 by alzander
Akashmitra,
I'm not sure if you've installed JLinked yet, but in that package is an updated login module, SCLogin. That works with both JFBConnect and JLinked, and is going to be included in the next release of JFBConnect (replacing the JFBCLogin module).

First, I'd recommend you use that module instead. In the tmpl folder of SCLogin, there's a login.php and logout.php file, making customizations much simpler and the code has been made much cleaner.

You're free to add your own CSS attributes to your template or creating a template override, where you can modify the layout of the template completely. To create a template override, simply copy /modules/mod_sclogin/tmpl/login.php to /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php (creating that directory structure if necessary) and modifying the file there. That prevents any updates to the SCLogin module from overwriting your template changes.

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

None
14 years 6 months ago #15392 by mellim
Hi Alex, I have the same problem as Akashmitra - would like to display the login module as a horizontal box on top of my site. However I don't have plans at the moment to purchase and install JLinked yet. Rather than having to wait for the next release of JFBConnect, I would greatly appreciate it if you could provide me (and other users like myself) with the package file for the updated login module?
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15395 by akashmitra
Oh, I din't know that! I was a bit apprehensive to use jLinked yet as I don't have much time to test jLinked functionality extensively now. I thought I will go with facebook (since I used it before) and postpone the jLinked implementation for some later time. But if you insist so, I guess I will have to give it a try now.
The topic has been locked.
Support Specialist
14 years 6 months ago #15403 by alzander
Melissa,
We'll try to add it to the JFBConnect download area later today or tomorrow. It doesn't have a horizontal mode or anything built into it, but we agree, if you're going to go style something.. might as well start with that.

Akashmitra,
If you don't want to install JLinked just yet, you can install just the SCLogin module. If you unzip the main component, you can find the module's zip file in the /admin/packages directory and just install that. Don't want you to race into anything you don't want to use yet.. Slow is definitely better when adding extensions to your site!

Thanks,
Alex
The topic has been locked.