Posted By

daipratt on 09/01/10


Tagged

drupal theme Online 6 whos


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vali29
davmorr


Drupal 6 - Show default "Who's online" block from a template.


 / Published in: PHP
 

URL: http://daipratt.co.uk

Embed the "Who's online" block from within a template file.

  1. $block = (object) module_invoke('user', 'block', 'view', '3');
  2. print theme('block',$block);

Report this snippet  

You need to login to post a comment.