...
Code Block | ||
---|---|---|
| ||
{% 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
...