Hello,

Can we use this module without using the "block" module that I removed in favor of "panels_everywhere" ?

Comments

W.M.’s picture

Is it possible to load the Ajax login or register boxes from custom links outside the predefined block?

maxlife58’s picture

Same request help!!!

bnash2501’s picture

I've done this, seems to work

  $block = block_load('ajax_register', 'ajax_register_block');
  $build = _block_get_renderable_array(_block_render_blocks(array($block)));

Basically, it loads the block and then sets it as a renderable array.