Solved

Redirect new users to custom pages after registration

Posted on 2014-04-14
2
1,385 Views
Last Modified: 2014-04-14
Hi experts,

I was wondering,

Is there a way to redirect users to a custom welcome page after registering to the site?

Thanks in advance
0
Comment
Question by:glepiza
2 Comments
 
LVL 12

Accepted Solution

by:
junipllc earned 400 total points
ID: 40000020
How deep do you want to get into Drupal? That is, it's really simple to do in code (i.e. a custom module).

Here's a discussion about how to do it in code:

https://drupal.org/comment/7098414#comment-7098414

Note the code is basically implementing hook_form_alter to call a function that adds a redirect to the form. Just change the destination to what you want, change each instance of the string "custom" to the name of your module, and voila! it should work. For example my_module_form_alter instead of custom_form_alter if your module is called my_module.

It's also most likely easy to accomplish using Rules. The Rules module is pretty hefty for such a small thing so I personally wouldn't enable it just to get this to happen, but if you're already using it then go for it.

I'm assuming that you're using Drupal 7, although the concept is the same. In fact, I think the code may be the same as well for Drupal 6.

Cheers,

Mike
0
 

Author Comment

by:glepiza
ID: 40000134
Hi Mike!,


Thank you very much. I am using rules right now, but your link is great for just what I need.

Thanks,

Winter
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drupal 5.x currently does not have a production-ready patch bundle to allow for split read & writes for a MySQL master/slave replication setup. After reading a open discussion/thread on the Drupal site (http://drupal.org/node/147160 (http://drupal.o…
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now