Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Redirect new users to custom pages after registration

Posted on 2014-04-14
2
Medium Priority
?
1,533 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
junipllc earned 1600 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

DotNetNuke (DNN) (http://www.dotnetnuke.com) is a leading open source web content management system (CMS) and application development framework for Microsoft .NET. Localization is an essential part of building websites, especially in countries that …
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 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