For one of my projects I installed the Facebook O Auth module in my site. Now I would like to display the Connect with facebook in my login form.

  • It will be god if you use gigya module. – Mohammad Anwar Jun 18 '12 at 10:04

You have to alter both form using hook_form_alter and add a markup field with value fboauth_action_display('connect')

$form[fb_connect] = array(
   '#markup' => fboauth_action_display('connect'),

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.