Extension, Plugin

EE 1
EE 2
JP Recently Viewed

Developer

Joe Paravisini

3rd Party (Free)

Creative Commons Attribution Download v0.9

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

This add-on allows you to display a list of channel entries that have been recently viewed by the user.

This add-on allows you to display a list of channel entries that have been recently viewed by the user. It is a two part add-on: an extension and a plugin.
You place the plugin in your single entry template, passing the entry id as such:

{exp:jp_recently_viewed:setcookie entry_id=”{entry_id}” }

Displaying recently viewed entries is as simple as using a standard channel:entries tag, adding the recently_viewed=‘y’ parameter, like so:

{exp:channel:entries channel=“doggies” limit=“10” recently_viewed=“y”} #125;
<a href=”&#123;url_title}”>{title}
{/exp:channel:entries}

This extension has served it’s purpose for the project it was written for, but there is an inherent limitation that I will address in the the next release. It is using the ‘channel_entries_query_result’ hook, which removes entries after the initial query has run. As such, it removes the ability to use a {if no_results} conditional. I am guessing this limitation affects other parameters and variables in channel:entries tag, so I will do my best to release a revamped solution ASAP (though I may end up losing the simplicity of attaching to the channel:entries tag in the process.)

Download JP Recently Viewed

EE Version Downloads Add-On Version Release Date
2.+ Download 0.9 2011-01-31 01:00 AM

JP Recently Viewed Links

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. channel_entries_query_result

This entry was last updated February 2, 2011, 4:12 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!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!