× Joomla Facebook Connect support forum

Topic-icon modifying login module

Active Subscriptions:

None
15 years 4 weeks ago #9962 by fb_644061421
ive made the login module horizontal by adding to the joomla template CSS:
#form-login-username, #form-login-password , #form-login-remember {float:left;}

now id need the FB login button to appear below the (CB) "register" and "forget pw" links. so i cut the code around line 38
get('loginButtonSize');
	echo $fbClient->getLoginButton($buttonSize); ?>

and pasted it right before the end of the login form in the default.php file. it seems to work, but the closing bracket is irritating me.

does this screw up something?

P.S: just saw that the code got cut off when posting. the "}" closing bracket right after the php open tag around line 38 is irritating me.
The topic has been locked.
Support Specialist
15 years 4 weeks ago #9972 by alzander
Replied by alzander on topic modifying login module
Yeah, Agora forum (what we use), can be overly aggressive with cutting out code.

As for re-arranging the Login With Facebook button, you can do that all you want. It doesn't need to go in the Login module at all, and in it, there's no required placement (within form tags or in a specific div), etc.

Hope this helps!
The topic has been locked.
Active Subscriptions:

None
15 years 4 weeks ago #9973 by fb_644061421
Replied by fb_644061421 on topic modifying login module
thx Alex.
The topic has been locked.