I am currently using the registration module to let visitors register themselves on the website. I only would like to show a message after the details has been submitted. At the moment when you click submit it will return back to the registration form but it won't show some confirmation message. I would like to add a message saying that the registration is successful and that you should you have received an activation e-mail.
My question now is how can I easily do this? I have been checking out the registration module but doesn't seem to be supported. My German book (Das offiziele Contao-Buch) about Contao talks about hooks. The only alternative is to make redirect to a new page via Redirect page / Confirmation page.
If I understood it correctly I should be able to use the "createNewUser"-hook in a custom module which adds a message to the current session. And then I will make a custom template for the registration form which will read this out and unset the message session variable after it has been shown. Would this be a good approach? I have tried this only I haven't had much success yet.
Bookmarks