This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Creating "back" links in the content...

Creating "back" links in the content editor

Creating "back" links in the content editor

Wednesday 13 November 2013 4:17:52 pm - 1 reply

Is there a way to create a link to the previous page (not a specific page, i mean replicating the browser's back function) using only the normal links in an Ez html content block? 

Thursday 14 November 2013 3:00:16 pm

should works if you use the parentLocationId in the path ()  template function

for example:

href = {{ path('ez_urlalias', {'locationId': content.contentInfo.parentLocationId}) }}


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

36 542 Users on board!

Forums menu

Proudly Developed with from