× Joomla Facebook Connect support forum

Topic-icon Mini Login

Active Subscriptions:

None
15 years 4 months ago #6755 by fb_100000501858606
I'm still working on the following scenario:

To have a simple login meachnism on the top of the page
1) Use Case: user not logged in - OK
provide FB Button and Login link
- FB Button - ok once {JFBCLogin} fixed
- Login is simple link to page with real login form (could be CB login form or FB login form)
2) Use Case: User logged in
provide one logout link that loggs out user from Joomla (& optional Facebook)
- I used something like <a href="" onclick="javascript:jfbc.login.logout_button_click()"><?php echo JText::_('Logout') ?></a>
Effect is that user is logged out from Facebook but not from Joomla :-) Any idea how I logoff the user from Joomla (and depending on settings also from Facebook). Scenario would work with normal JFBC module logoff button. But I can't display the full module. I can only display a link.

Rgds
Lars
The topic has been locked.
Support Specialist
15 years 4 months ago #6769 by alzander
Replied by alzander on topic Mini Login
The logout link your trying, I think, should actually work. However, the missing code I posted in another response might be the cause of it not working. Try adding the code from the following post and see if that helps out:
www.sourcecoast.com/forums/topic?id=1617&p=1#p6766

Sorry for the troubles.
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #6785 by fb_100000501858606
Replied by fb_100000501858606 on topic Mini Login
No, it solved the login button issue but logout still doesn't work. If I'm not mistaken before I was logged out from FB but not Joomla. now nothing happens.

Rgds
Lars
The topic has been locked.