Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added redirection after publish templating instructions

...

Code Block
languagephp
{% if location is defined %}
    {{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': location.id} ) ) }}
{% endif %}

Redirection after publishing

Versions: 5.3.4, 5.4.1.

In order to get properly redirected after publishing or discarding, overrides of legacy's content/edit.tpl must include the content/edit_redirection.tpl. It adds hidden fields required by legacy for those redirections.

Code Block
<form method="POST" action="content/edit/...">
  <!--...-->
  {include uri="design:content/edit_redirection.tpl"}
</form>

About the website_toolbar controller

...