By fatfish on
Hi.
I have a special content type where I like the system to redirect the user to some different page other then default (witch is "node/#num").
How do I change that default destination? I fill its better to do it inside my content node then in "node.module" core but how&where ?
Comments
I *think* this can be
I *think* this can be achieved with the actions and workflow modules.
--
Drupal consultancy
--
Ixis (UK): Drupal support, Drupal hosting.
Use ?destination=
Another way to achieve this is by building your links to the atual node/add/type urls yourself. You need to append the following tothe end to direct the user to another destination after submitting their content:
/node/add/story?destination=userThe above would redirect users to their personal user page after adding a 'story' node.
--
Ixis (UK) providing Drupal consultancy and Drupal theme design.
--
Ixis (UK): Drupal support, Drupal hosting.
Great! this works also on
Great! this works also on drupal 5.x, saved me a lot of trouble in a community site.
?destination= removable?
Does this mean users can simply delete the ?destination=user part of the URL, fill out the story form, click submit and be automatically redirected to node/##?
---------------------------------------------------
AdAstra.ca - Optimize the Web. Optimize the World.
Simply deleting that part of
Simply deleting that part of the URL after the page is loaded will have no effect. Users would need to delete the ?destination=user part of the URL, then reload the page.
New module for that
http://drupal.org/project/NodeGoTo
introfini
josefernandes.pt
José Fernandes
Bloomidea
Check out:
Check out: http://drupal.org/node/110619
www.jws.co.za/we_install_modify_and_maintain_drupal_web_sites