Share » Forums » Setup & design » Create new object and redirect

Create new object and redirect

Create new object and redirect

Thursday 21 June 2007 7:40:49 am - 3 replies

Author Message

Kristof Coomans

Monday 25 June 2007 4:57:02 am

Hello Heiner

Take a look at this forum topic: http://ez.no/community/forum/developer/node_number_at_first_publishing

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Heiner Wurbs

Tuesday 26 June 2007 4:24:14 am

thank you kristof for help, nice solution, should be part of eZ !

Thiago Campos Viana

Tuesday 26 June 2007 1:04:22 pm

I've used this code in the template of the content/edit:

{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!

36 542 Users on board!

Forums menu