When a new users registers, they get sent to the front page immediately after clicking submit. They then do not see any message that an email and password has been sent to them and to check their mailbox for instructions. Do I need to include any PHP code on my front page to display them that message? I did not see anything in the snippets section.

Comments

waynedrupal’s picture

I have the same problem. There must be a solution for this, because this is essential for a user who registers to know what to do next. Please, any solutions?

EdinburghRob’s picture

Hi Waynedrupal, did you managed to find a solution? I am having the same problem. I think these messages are stored in the session, but I haven't understood how exactly this works yet.

EdinburghRob’s picture

I think I have found the solution

I added this piece of code to the html of my front_page for anonymous users.

<?php 
print theme('status_messages');
?>
Phillip Mc’s picture

Priority: Critical » Minor
waynedrupal’s picture

Hey, EdonburghRob - that is great! It seems to me that only on some themes the message is not appearing, but now I will know to try to add that code.

Cheers!

Phillip Mc’s picture

Status: Active » Closed (fixed)
genzeb’s picture

I am having the same problem. I've added the print statement to the pages in the front page but no luck. My question is, exactly what page is the "front_page" ... is that the list of pages I've promoted to the front page?

genzeb’s picture

For some of you who are having this issue, the root cause may be something else. I've wasted a lot of time on this and finally resolved the issue. Here is the thread on it: http://drupal.org/node/505566

doriangray’s picture

where should i add the code to ? the node.tpl.php in the theme folder?