views:

23

answers:

1

Is there a Drupal module to display the user name in a block, when he is logged in ?

thanks

A: 
  • Creat a new block.
  • Format: PHP code

Block Body:

<? 
global $user;
print $user->name;
?>
PeterMmm

related questions