Topic-icon Make Login a menu item in 1.6

Active Subscriptions:

None
14 years 9 months ago #12874 by fb_1248644574
Hi I am not sure if I am missing something easy but I don't have any FBC login in my backend "menu item" menu. There used to be a FBC connect section in the list of types of menu items in 1.5.

Thank You
The topic has been locked.
Support Specialist
14 years 9 months ago #12879 by alzander
Ed,
There is no way to create a menu item for JFBConnect. We really don't have any pages that would be link-able, as the only page we have is for a user to create a new account or log in with an existing Joomla one.. and that's only shown after the user has clicked the blue button.

To add the Login With Facebook button, we try to make it very easy though with a few different options:
* Use the JFBCLogin module
* Use the {JFBCLogin} tag anywhere in your template, article, or other part of your site
* Create your own custom button and follow the directions in our common support questions area on how to implement it:
www.sourcecoast.com/jfbconnect/docs/common-support-questions

Hope that helps, but if there was something specific you were looking to do, and can't, just let us know and we'll do what we can to help!

Alex
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12904 by fb_1248644574
Thank you for your response. I figured out a way that works for me that may be over doing it, I was attempting to put the login in a lightbox without the java conflict, and I saw you have instructions for that, but I wasn't understanding them. But Now I have another question if you don't mind. I would like to make a custom image for logout and was wondering if there was an easy way to do it. Also, If I could quickly run through what I did for above and if off the top of your head you can think of any issues I would have with this solution that would be great. Because I am not sure if this was the recommended solution for a light box. I know I probably did too much to accomplish it.

I wanted to create a custom image which would open JFBConnect in a lightbox

1. I created an article with load position pointing to JFBConnect
2. Created a hidden menu item to hold the article
3. Created an Html Module holding my image linking to the Menu Item
4. Edited the link to open in a lightbox
5. Defined a guest user group and set the NEW module to Guest

Now all I need to do is to put in a logout button, which I could easily do by putting another JFBConnect module with registered ACL for a Logout, but I would like to use a custom image instead. If I use the same steps as above then my logout image will just open another lightbox and the user will have to logout twice. I know I am probably over-thinking this, but was wondering if you had a simple solution.

Ed
The topic has been locked.
Support Specialist
14 years 9 months ago #12915 by alzander
Ed,
Definitely don't mind about the questions.. that's what we're here for :)

For your custom logout button/image, you simply need to add the following HTML where you want the button to be:
<a href="javascript:void(0)" onclick="javascript:jfbc.login.logout_button_click();"><img src="logoutimage.jpg" /></a>

Sorry if the instructions for the login button we're confusing. It sounds like you got something that works, but if you need other help, let us know.

As for what you did, I'm unsure what you mean in step 1 by "load position of JFBConnect". Did you mean that you're loading the JFBCLogin module in a position of an article? Other than that, what I 'think' you're doing is correct.. but if you want to post the page you're doing this on, we can take a look to make sure there's no big problems we can see.

Hope this all helps, and hope you're up and running soon!

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

None
14 years 9 months ago #12920 by fb_1248644574
Great thank you . Yes I was loading the module in an article using the joomla module loadposition. It seems to be working fine I guess I just needed that html. Unfortunately this is my first time using Joomla 1.6 and it has made setting up Facebook Connect a little more confusing than when I set it up on 1.5. Just trying to get used to the setup. Thanks for your Help.
The topic has been locked.
Support Specialist
14 years 9 months ago #12931 by alzander
No problem for the help, it's what we do. Thank you for your subscription :)

Should you need anything else, just let us know.. and good luck!
Alex
The topic has been locked.