Custom Home Page Module

Wyze1 - June 22, 2008 - 15:19

Hi guys

I have a custom homepage module that does the following

function homepage_default() {
global $user;
if ($user->uid){
return t('You are now only logged in.');
}
else{
return t('You are not logged in.'');
}

I have configured my homepage to point to my module eg. ?q=home using drupal six

The problem I'm having is that when a user registers on my site which requires e-mail verification and has custom registration fields but there is no status message it doesn't display the default message eg. Your password and further instructions have been sent to your e-mail address.

Does anybody know how to create a workaround for this as I'm kind of stuck at the moment. Is there anything I'm missing in my code.

 
 

Drupal is a registered trademark of Dries Buytaert.