i have a content type, and i have a vew to show all the post of this content type, what i have to do for after submit the node go directly to view page?
thks in advanced
Aldo,
Check this out:
http://drupal.org/project/customdestination
best,
Shai
On Tue, Dec 29, 2009 at 8:49 AM, Aldo Martinez Selleras aldo@caonao.cuwrote:
i have a content type, and i have a vew to show all the post of this content type, what i have to do for after submit the node go directly to view page?
thks in advanced
[ Drupal support list | http://lists.drupal.org/ ]
I have taken a look at customdestination, but what I need is to redirect to a url containing the nid of the node 'node/$nid/custom_path'
I have created the node so I think the code should go in hook_insert; but I am unable to find how to achieve this (drupal_goto is not an option because it breaks other hooks).
Maybe something like "postsave" in hook_nodeapi.
Any hint?
On Tue, Dec 29, 2009 at 7:37 PM, Shai Gluskin shai@content2zero.com wrote:
Aldo, Check this out: http://drupal.org/project/customdestination best, Shai
On Tue, Dec 29, 2009 at 8:49 AM, Aldo Martinez Selleras aldo@caonao.cu wrote:
i have a content type, and i have a vew to show all the post of this content type, what i have to do for after submit the node go directly to view page?
thks in advanced
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]