redirecting after content publishing

redirecting after content publishing

Wednesday 28 April 2004 4:42:58 am - 2 replies

Author Message

Sylvain Bannier

Friday 01 December 2006 9:08:48 am

Not actually related to you question,
but you should now use "RedirectURIAfterPublish" instead of "RedirectURI", don't you think ?

http://www.smile.fr

Thiago Campos Viana

Tuesday 26 June 2007 1:06:27 pm

I've used this code:

{if eq($object.status, '0')}
<input type="hidden" name="RedirectURIAfterPublish" value={concat( "content/versionview/", $object.id,"/", $object.current_version )} />
{else}
<input type="hidden" name="RedirectURIAfterPublish" value={concat( "content/view/full/", $object.main_node_id )} />
{/if}

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

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.