Share » Forums » General » Redirect URI after remove

Redirect URI after remove

Redirect URI after remove

Tuesday 23 September 2008 2:19:44 am - 3 replies

Modified on Thursday 25 September 2008 1:18:17 am by Alliance Maliam

Author Message

André R.

Thursday 25 September 2008 1:38:27 am

RedirectURIAfterPublish is for use on publish, there are no equivalent for remove action.
You could create a enhancements request in the eZ Publish Issue tracker, but if you really need this right now, you'll have to create a custom module that takes care of the delete (more or less copy the removeobject.php code) and ads support for a custom redirect url.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Alliance Maliam

Thursday 25 September 2008 2:41:32 am


hi,
even when I use it for redirection after publication, it still does not, I'm always return to the previous node.

<form method="post" action={'/content/action'|ezurl}>
<input type="hidden" name="ContentNodeID" value="{$nr.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$nr.contentobject_id}" />
<input id="bouton" type="submit" name="EditButton" value="Repondre" />
<input type="hidden" name="ContentObjectLanguageCode" value="fre-FR" />

<input type="hidden" name="RedirectURIAfterPublish" value={"/content/view/confirm"|ezurl} /> 

</form>

STEVO +

Sunday 02 August 2009 3:27:37 pm

oops, wrong thread

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

36 542 Users on board!

Forums menu