× Joomla Facebook Connect support forum

Topic-icon JFB login module display

Active Subscriptions:

None
15 years 1 month ago #8989 by val1723
Hello,

I just purchased, installed and configured the extension for the first time, and I am having a problem displaying the login module. Is there a way to display it horizontally? Right now I only see a "Username" label and an empty field box, and I think it is because the rest is hidden due to vertical display on my horizontal menu.

I'd appreciate any suggestions.

For your reference: theworldartistnetwork.org/ - but I may have to revert to hiding it soon and just showing cb_login.

Thanks!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #8990 by val1723
Replied by val1723 on topic JFB login module display
theworldartistnetwork.org/home - for your reference
The topic has been locked.
Support Specialist
15 years 1 month ago #9000 by alzander
Replied by alzander on topic JFB login module display
It looks like you have 2 login modules enabled at the top. The JFBCLogin module is on bottom and another login module is on top.

If you'd prefer to continue using your existing horizontal login module, you can simply add {JFBCLogin} into the module's template file where you want the Login button to appear. That way, you don't have to try to re-style our login module to get back to where you started.

Another option that may work for you is to, in the JFBCLogin Module, disable the Login Form. Since you already have a login box above, this will just display the Login With Facebook in the lower half of your header.

Hope this helps, and there's a few other ideas we can throw at you if you don't like either of the above. Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9007 by val1723
Replied by val1723 on topic JFB login module display
Thanks for your response.

I tried editing the cb_login module to add the button and it caused function errors. Disabling the login form could be one of the solutions, but I would need to style it so that I can align it on the right side. As it is, is just has the division format of the header and no individual option. I am not a coding expert, would you mind indicating how this could be done?

Otherwise, I would not mind disabling the cb_login module in place of the jfblogin, but I would need to be able to display it horizontal as I have the other one.

It seems to me that the easiest solution would be to format the button, but I can't seem to find the way to do it on my own. I checked the code with Firebug to try and figure it out, but as mentioned, it follows the format of the rest of the header. Should I create a division for this on the html template, and a css styling for this division? I think I am getting lost already :P
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9008 by val1723
Replied by val1723 on topic JFB login module display
Oops, I also just tried hitting the login button and got this message:

Invalid argument
Given URL is not permitted by the application configuration.

and then

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

I followed all the steps in your configuration guide, what did I mess up? :P Maybe I should create a separate post for this, let me know. And thanks again!

EDIT: Problem solved on this one, I re-configured the application. Leaving the "domain" blank was causing the issue.
The topic has been locked.
Support Specialist
15 years 1 month ago #9010 by alzander
Replied by alzander on topic JFB login module display
Glad you fixed the error.. it's a common mistake :)

As for adding the button to your existing module, it should be pretty easy.. though CB code is never terribly clean, unfortunately. In their code, you should NOT be putting the {JFBCLogin} tag in a PHP block. It should be outside of this.

Another option that may work well for you is to simply use a Custom HTML module. In the code area for that, simply put {JFBCLogin}. Then, you should just need to float this module position to the right of your existing module. That way, it's separate from the CB login stuff, but still near it.

Hope this helps some more, but if you need more specifics, we can probably help you with it. The JFBCLogin module doesn't have a horizontal mode, unfortunately. We've looked into adding it, but since we added the {} tag for the login button, it hasn't been requested much.

Good luck!
The topic has been locked.