Dear All,
How could I embed the fboauth login block with php code??

I found that there is a way to embed a block such as:
$block = module_invoke('block', 'block', 1);
print $block['content'];

but I don't know how to embed fboauth login block.....please help.

Comments

maen’s picture

I don't understand your question. There is a drupal login block and this module gives you a block to display fbconnect.

You could try to embed the display of fb_connect for instance via hook_block_view_alter.

Is that what you mean?