Page History
Developer
3rd Party (Free)

EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
Returns the last pages visited by the user, from the current page to up to 5 pages ago. Useful for a proper "back to page" link rather than using javascript.
To get the current URL:
{exp:page_history:get page=‘0’}
To get the previous page:
{exp:page_history:get page=‘1’}
OR more simply:
{exp:page_history:get}
To get “two pages ago”:
{exp:page_history:get page=‘2’}
And so on, up to a limit of 5 “pages ago”
The default returned URL structure is page relative, ie “folder/template/”.
To return the full site URL (ie: http://domain.com/page) add the parameter site_url=‘yes’, eg:
{exp:page_history:get page=‘1’ site_url=‘yes’}
Marvellous :)
==
v1.0.2 - fixed bug where if no param was passed (for last page) and no history exists (ie first page view) then an undefined index error was thrown
v1.0.3 - fixed bug where page parameter was not being respected :(
v1.0.4 - added site_url parameter
Download Page History
EE Support | Downloads | Add-On Version | Release Date |
---|---|---|---|
Not Specified | Download | 1.04 | May 17, 2011 |
This entry was created April 6, 2011, 11:32 am.
This entry was last updated May 17, 2011, 9:18 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
2 Reviews:
Jules6120 07.07.16
Did exactly what we needed. Great stuff.
plasticmonument 01.01.14
Works perfectly… Right out of the box.