Closed (fixed)
Project:
Scheduler
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2007 at 07:33 UTC
Updated:
10 Aug 2007 at 07:34 UTC
I would like to select a list of nodes (by taxonomy, or by selecting each one manually) which should be added to a queue. This queue should then work as a "picture of the day" (or whatever) queue. Thus, the scheduler could unpublish all nodes added to the queue. Then on a set interval (selectable by the administrator/queue owner) it will publish/promote the next item in the queue into the "picture of the day" spot, and denote the previous.
It should keep a history, so that one can go into the archive and find "picture of the day" for a certain date. (It would work a bit like "Word of the day" at dicionary.com).
Comments
Comment #1
pkej commentedI made a solution without using the scheduler:
Create a CCK node with three integer fields, one for month, one for day and one for the year.
Create a view which will show just 1 node. Select the content type as a filter (optionally as an argument, in order to change different content-types).
Create three arguments corresponding to the integer fields.
Create a custom php snippet for returning an array of arguments
and insert it into Argument Code in the Argument Handling Code collapsible field.
I added a sort criteria where I show the last updated node first. Just in case I assign more than one node to the same date.
The reason I didn't use the date field is that I want to expand this concept to create nodes that will occur on every year. For example a May 17. node for the Norwegian constitution day, etc.
It can also be expaned to show/do specific things on a specific day of the month (for example account reminders).
Hope someone finds this usable in the future.