Trying to use RedirectBack in tipafriend form...

Trying to use RedirectBack in tipafriend form...

Monday 18 December 2006 8:02:28 am - 1 reply

Author Message

Luis Micunco

Wednesday 14 May 2008 4:19:11 am

Im not sure if this is the correct way of doing this but worked for me:

I added this to my tipafriend form

<input type="hidden" name="RedirectBack" value="1" />

This works because in:

/kernel/content/tipafriend.php

..it is waiting for:

if ( $http->hasPostVariable( 'RedirectBack' ) && $http->postVariable( 'RedirectBack' ) == 1 )
        {
            $Module->redirectTo( '/content/view/full/' . $NodeID );
            return;
        }

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.