Topic-icon JFB Login button changed login module style

Active Subscriptions:

None
14 years 5 months ago #17696 by clubauto
Hello, I have just purchased JFB connect and I am using allrounder-j1.6 by lernvid.com and am using joomla 1.7.
I have just added the FB login button heres the outcome.
Heres when the cursor isn't over the module. (before implementing the FB login and when its removed it goes back to normal, the background colour is all the same)
File Attachment:

Heres when its over the module. (it highlights the lighted bit even more)
File Attachment:


Do you know what has happened and what I can do to correct it?

Many Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17715 by clubauto
I have just noticed that the white area is the same colour as the input boxes (top one when no curser over the input box bottom one when typing into the box), so I'm guessing its the code from them spilling out their defined are?
The topic has been locked.
Support Specialist
14 years 5 months ago #17717 by alzander
Can you post, or private message, the page you're seeing this issue on? Not familiar with the add-on your using, so would like to see it in action. Is it's purpose to change the color of forms? Any info you can provide on it would be helpful. Also, does the problem happen if that extension is disabled?

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

None
14 years 5 months ago #17719 by clubauto
The site that I'm testing it on is on a local host presently sorry. allrounder-j1.6 is the template sorry I forgot to add that. It does have a customisable CSS in backend though that could be the route of the issue as when I make beez the template the issue goes away heres a shot of the backend
File Attachment:


This is where it can be downladed for free and a bit more info about it

www.lernvid.com/downloads/allrounder-joomla-16-template.html
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17724 by clubauto
Ive done a bit more fiddling (using my other test environment which is why the modules are white not grey)and have got a bit closer to the answer. It is definitely a conflicting css issue. Hes some pics of me changing the css and the results on the joomla standard Log in and on the SCLogin...

File Attachment:


Result
File Attachment:


Result hover over joomla Login username
File Attachment:


Result hove over SCLogin
File Attachment:


If I change the background of the input and input hover background to that of the module background it makes the colour change invisible but I feel its only a temp fix as now the nice css of having different coloured input boxes from the background is lost.

File Attachment:


Results Same for hover and non hover
File Attachment:


I think I have answered my own question but do you think there is any way in the template files or the JFB Connect files to change the css to define the boxes so there is no over flow.

Thanks,

Orry
The topic has been locked.
Support Specialist
14 years 5 months ago #17772 by alzander
Orry,
Sorry for not getting back to this sooner. The SCLogin module is basically the Joomla Login module with some updates. The main differences that I can see when comparing our login module to the Joomla login module is that we set a div around the label and input for both username and password, where the Joomla login module uses a p (paragraph) tag instead.

If you want to try and modify our SCLogin module, you can find the template for it in /modules/mod_sclogin/tmpl/login.php. Alternatively, if you want to simply use the Joomla Login module, you can edit it's template file and simply add {JFBCLogin} to it, which will add the "Login With Facebook" button.

Hope some of this helps. We haven't tested with the template you linked to yet, but may try to next week if you're still running into trouble.

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

None
14 years 4 months ago #18848 by clubauto
Hi Alex. Sorry for the delay in my reply... had a job come in which needed doing asap and as the website Im doing this on is my own little project so it got put aside.
Im still having some problems! Would it be possible for you add the {JFBLogin} to joomla login module and send the file as an attach the file so I can just copy and replace it into my joomla folder.

Would really really appreciate it if you could do this for me... you will have definitely gone above and beyond!

Many Thanks and Best Wishes,

Orry
The topic has been locked.
Support Specialist
14 years 4 months ago #18933 by alzander
Orry,
I can't attach the template file for the Login module as I don't know the exact version of Joomla you're using. Additionally, it's better to give the change so that when you upgrade in the future, you can make the change again, if necessary.

The change would be in the /modules/mod_login/tmpl/default.php file. Ideally, you should copy that file to /templates/<YOUR_TEMPLATE>/html/mod_login directory (creating that if it doesn't exist). That will create a template override so that the changes won't be overwritten when you upgrade Joomla.. however, you should check updates to the original file to integrate any changes into your template override. Hope that makes sense.

Either way, in that default.php file (on Joomla 2.5.1 at least), around line 28, you'll see:
<input type="hidden" name="return" value="<?php echo $return; ?>" />
		<?php echo JHtml::_('form.token'); ?>
	</div>
Update that with the following:
<input type="hidden" name="return" value="<?php echo $return; ?>" />
		<?php echo JHtml::_('form.token'); ?>
               Or: {JFBCLogin}
	</div>
Obviously, you can remove/change the "Or:", just wanted to show you some text there.

Hope that helps, but if you need more assistance, just let us know.

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

None
14 years 2 months ago #20312 by clubauto
Hi Alex,
Sorry is been so long, been really really busy! Finally have some time to work on my own little project =).
I made sure the component plugins are enabled and I have just added Or: {JFBCLogin} to the default.php in the mod_login. And its not working. The Facebook login button isn't showing in the login menu. I tried making a new one and still nothing. Have you got any other suggestions or know if Ive missed something out? If not would you be able to have a little play around with the template Im using (allrounder j1-6) and see if you can see how to get the input background and input hover background css working properly?

Hope your well,

Many Thanks and Best Wishes,

Orry
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20327 by mtk

clubauto wrote: Hi Alex,
Sorry is been so long, been really really busy! Finally have some time to work on my own little project =).
I made sure the component plugins are enabled and I have just added Or: {JFBCLogin} to the default.php in the mod_login. And its not working. The Facebook login button isn't showing in the login menu. I tried making a new one and still nothing. Have you got any other suggestions or know if Ive missed something out? If not would you be able to have a little play around with the template Im using (allrounder j1-6) and see if you can see how to get the input background and input hover background css working properly?

Hope your well,

Many Thanks and Best Wishes,

Orry

Hello,
we suggest simply try using one of the built-in/default template (i.e beez) just to be sure it's a template issue.
if that doesn't work please post a link to your website so we could have a look and help you find the problem.

Mati
The topic has been locked.