Topic-icon Horizontal view of Login module

Active Subscriptions:

None
14 years 2 months ago #21299 by ventluc
Hello,

I would like to show Login module of JFBConnect\JLinked (SCLogin) for Joomla 2.5 in an horizontal view because I would like to put it in the header position of my template. Is it possible? I haven't found a setting in JFBConnect that allows me to do this (to change orientation of SCLogin module), so the login module SCLogin appears in a vertical position that causes a bad view of the template. Can someone help me? Thanks a lot in advance.

ps. I use Joomla 2.5.4, JFB Connect 4.1.2, SCLogin 1.0.3 and JLinked 1.1.0.
The topic has been locked.
Support Specialist
14 years 2 months ago #21329 by alzander
ventluc,
We don't have an option to automatically show it horizontally. The main reason is that each template is restricted in very unique ways for horizontal views, whereas for vertical, the default layout generally just works.

If you want to modify our login module's looks though, we use quite a few CSS styles on each of our buttons and links, have parameters to hide/show most features, and you can also modify the main HTML template file at /modules/mod_sclogin/tmpl/login.php. We recommend, if you're going to edit that file, to copy it to /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php and edit it there though. That will prevent your changes from being overwritten as you upgrade JFBConnect.

Hope that helps, but if you need more assistance, we'll do what we can.

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

None
14 years 2 months ago #21351 by ventluc
Hello!! Thanks for your help. I haven't understood a thing: but if I modify /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php what happens to /modules/mod_sclogin/tmpl/login.php?? Which component does write in /templates/<YOUR_TEMPLATE>/html/mod_sclogin folder? Isn't this folder modified when the component JFBConnect is updated? Aren't /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php and /modules/mod_sclogin/tmpl/login.php the same file? Which is the file that is read from Joomla CMS and showed to the user?

Thanks a lot in advance.

Luca
The topic has been locked.
Support Specialist
14 years 1 month ago #21360 by alzander
Luca,
Glad you're asking more questions, and sorry for the confusion.

What I was recommending is a template override. Basically, Joomla will check if the /templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php file exists and use it if it does. If not, then it will 'fall back' to the original file at /modules/mod_sclogin/tmpl/login.php

When you upgrade JFBConnect, the whole modules/mod_sclogin directory will be overwritten, so if you modify it there.. your changes will be lost. That's why it's best to move the file to the /templates folder, where the changes will stay intact. However, when you upgrade JFBConnect, you may need to 'merge' changes from the new version back into your modified version to make sure you get any 'new' changes mixed in properly with the changes you wanted to make.

Hope that all helps clarify, but if you have other questions, just let us know!

Alex
The topic has been locked.