Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Previous page

Go to End

2 Posts   1693 Views


Community Member, 30 Posts

29 November 2008 at 1:15am


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.


Community Member, 470 Posts

29 November 2008 at 7:23am

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