J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Login to facebook as a menu item? (1 viewing) 
Go to bottom
TOPIC: Re:Login to facebook as a menu item?
#1176
Marek Olszewski
Fresh Boarder
Posts: 3
User Offline
Login to facebook as a menu item? Karma: 0  
Is it possible to add a menu item, so user will be logged in using it's facebook account?
 
Logged Logged  
  The administrator has disabled public write access.
#1177
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Login to facebook as a menu item? Karma: 79  
Hello again,

technically it should be possible assumed that you can add a javascript to menu items.

The minimum code to trigger the FB login is this:

Code:

<a href="#" onclick="fblogin();return false;" class="ifbl_fbloginbutton"> <img border="0" src="http://demo.storejextensions.org/instantfblogin/modules/mod_instantfblogin/assets/images/facebook.png"> </a>
Thus if you can add a menu item calling the function 'fblogin' it will work.
 
Logged Logged  
  The administrator has disabled public write access.
#2896
Clipster
Fresh Boarder
Posts: 5
User Offline
Re:Login to facebook as a menu item? Karma: 0  
You can also achieve this with "modules anywhere", create a menu item then give it the name "{module XXX}" (whatever your module number is) and publish as a "text separator"

then the login button appears in your menu - see wildlifethailand.com and choose menu item "Log In"

You still need to have the login module published somewhere else though, at least on one one page.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top