EE 1
EE 2
Entry Lottoree

Developer

Brett DeWoody

3rd Party (Free)

57 downloads (last 90 days)

MIT License Download v1.0

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Extension

Tags

Entry Lottoree allows you to display X random entries from your exp:channel:entries loop. For example, a random entry from your 10 most recent entries.

Let’s say you want to display a single random entry
from your 5 most recent blog articles. Using Entry Lottoree you
can do this by adding the ‘lottoree’ parameter to your
exp:channel:entries loop, like this:

{exp:channel:entries channel="blog" limit="5" lottoree="1"}
  {title}
{/exp:channel:entries}

This would select a single random article from your five most recent blog entries.

Want to select two random articles from your five most recent blog entries? Do this:

{exp:channel:entries channel="blog" limit="5" lottoree="2"}
  {title}
{/exp:channel:entries}

You can use any of the standard exp:channel:entries parameters to filter the ‘pool’ from which the lucky entry is pulled from. For example, if you want to display a random article from your Top 5 Most Commented Blog Articles, you could do this:

{exp:channel:entries channel="blog" limit="5" orderby="comment_total" lottoree="1"}
  {title}
{/exp:channel:entries}

Download Entry Lottoree

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0 2010-11-20 02:00 AM

Entry Lottoree 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. weblog_entries_query_result

This entry was created November 22, 2010, 4:14 pm.
This entry was last updated March 11, 2013, 5:00 pm.

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!

1 Review:

kellypacker 01.26.11

Rating - {addon_rating_average}

A simple add-on that fulfills a simple need. It simply works.

Thanks for putting it out there so I didn’t have to make it myself.