By yamill on
Hi, I was wondering how I can redirect a user after submitting a specific node type like "Blog" to another node page like "node/thanks"
if anyone can direct me that would be great. thanks!
Hi, I was wondering how I can redirect a user after submitting a specific node type like "Blog" to another node page like "node/thanks"
if anyone can direct me that would be great. thanks!
Comments
use $form['#redirect']
You can use form_alter hook and set $form['#redirect'] property to the drupal path where you want the redirection to happen.
__________________________________________
Jaanlo - The how to site
Use workflow or workflow-ng
Use workflow or workflow-ng depending on what version of drupal you use..
Cheers
Gaurav
redirect attribute
You don't need to install another bloated module for a simple redirect. Use the Forms API attribute as described by mulogic.
-------------------------------------------------------
"The sting in any rebuke is the truth." - Benjamin Franklin