The Slot Machine module allows you to schedule your content by 'slotting' nodes into different queues. The main building blocks of the module are topics and feature types. Topics correspond to pages or channels, for example 'sport', 'entertainment', 'world' on a news site. You create a vocabulary with the channel names as terms and then set this vocabulary as the slot machine vocabulary. Feature types are slots within those pages and correspond more or less to content types, e.g. ‘article’, ‘video’, ‘review’, etc.

Administrators can modify the update frequency of each slot (either by a time interval or a time of day), configure content in certain slots to rotate to other slots of the same type, and reorder the queue of nodes awaiting scheduling for each slot. (Javascript is required for the administrator UI.)

For output of the content there is a menu callback whose path depends on whatever you set this to be in the settings – so when you go to channels/entertainment, for example, it will display the current node for each slot in the entertainment channel. There are two theme functions used to display content for this path, depending on whether a channel name is passed in or not. There is also an API function that can be used to get the current node in a particular slot.

Slot Machine also integrates with Views, which can be used to display the node live in a particular slot, all of the live nodes in a particular topic, and an assortment of other options.

This module generalizes the original slot machine module created for FastCompany.com, built by Marco Carbone of Advomatic and sponsored by Fast Company/Mansueto. Abstracting the code and initial commit to CVS was done by Katherine Bailey of Raincity Studios, sponsored by NextScreen.

Downloads

Version Downloads Date Links
6.x-1.0-beta4 tar.gz (34.94 KB) | zip (42.31 KB) 2009-Sep-11 Notes
5.x-1.0-beta5 tar.gz (30.67 KB) | zip (33.5 KB) 2009-Sep-11 Notes

Project Information


Maintainers for Slot Machine

  • mcarbone - 35 commits
    last: 3 years ago, first: 5 years ago
  • katbailey - 3 commits
    last: 5 years ago, first: 5 years ago

Issues for Slot Machine

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here