[support] show node after submit

Lluís enboig at gmail.com
Tue Jan 5 11:53:35 UTC 2010


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 at 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 at 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/ ]
>



-- 
*Les normes hi són perquè hi pensis abans de saltar-te-les
*La vida és com una taronja, què esperes a exprimir-la?
*Si creus que l'educació és cara, prova la ignorància.
*La vida és com una moneda, la pots gastar en el que vulguis però
només una vegada.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.


More information about the support mailing list