On the site I'm building, I want a potential user to click on a link "sign up now" which should take them to the registration page of Drupal. Once they've registered they should be taken to a thank you page and have access to the various modules and pages made available for them.

What I don't know is how to write the link to the reagistration page (what is the url of the page, given that my site sits in the directory "drupal") and how do I link the "registration" button to a thank you message which is at the top of the "my account" page.

Graphically: Link on static page -----> registration page -------> my account page containing a personalised welcome message

Can anyone help me achieve this please?

Comments

scoonz’s picture

The link to registration page is example.com/user/register.
First of all install logintoboggan module. Go to settings/logintoboggan and set "Non-authenticated role:" to "Authenticated user" (to enable users to get registered without clicking confirmation link in e-mail). Then you have to replace 'A validation e-mail has been sent to your e-mail address. You will need to follow the instructions in that message in order to gain full access to the site.' text with your own welcome message. You can do this either searching and replacing this string in your custom translation (if you use localization module) or simply by replacing this string in logintoboggan.module file directly. Or course you can use html in this string and make it as long as you wish :-)
Hope this is the thing you wanted.
-
Currently I'm moving our music demo studio site to Drupal.

iamalive’s picture

Fantastic! I really appreciate comprehensible input! I've followed the instructions and it worked fine. Still have to tweak the messages...

Thanks a lot

scoonz’s picture

You are welcome :-)
I have forgotten to mention you have to enable "Allow user to set their password during registration:" in login toboggan settings, but I guess you have already done so.
What about tweaking the message - it is preferred to do it via localization. Even if your site is in English, you'd better create your new customized English translation anyway, most likely you will have to replace more strings from other modules later - who knows...
-
Currently moving music demo studio site to Drupal.

iamalive’s picture

Hi again.
I see what you mean about using the string replacement method. It works very well. I'm building the site in German and it's a great help being able to translate stuff the way I want it.

Thanx for your help!