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.

Archive

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

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

Previous page


Reply

2 Posts   1389 Views

Avatar
Jarek

29 November 2008 at 1:15am Community Member, 30 Posts

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.

Avatar
Liam

29 November 2008 at 7:23am Community Member, 470 Posts

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