We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37437
    • 147 Posts
    The site I am building includes news items that display via Ditto calls on a couple of different pages. When the link for a news item is clicked, a new page opens in order to display the content for that item. I would like to add a ’back’ link in the template that is used to format these news items so that site viewers can return to the previous page. I tried using the code below, but it seems to be unreliable. Any suggestions on how to include a reliable back link in this context?

    <a href="#" onClick="history.go(-1);return true;">Back</a>

    Thanks.
      • 21176
      • 2 Posts
      Hi there smiley

      Try this:

      <a href="[~[*parent*]~]">

      Cheers wink