Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Previous page

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1239 Views
  • Jarek
    Avatar
    Community Member
    30 Posts

    Previous page Link to this post

    Hello

    I want to create previous links. Here on forum I've found some solutions but they all are based on SiteTree (back link goes to parent in the tree). I want put back link that will work like prev button in browser. For exmaple when I'll go to article from articleholder back link will display articles, when I'll go to article from search results back link will return to search results.

    Thx for any help.

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Previous page Link to this post

    I would just use javascript: <a href="javascript: history.go(-1)">Back</a>

    1239 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.