[Imc-drupal-dev] first install

mark burdett mark at indymedia.org
Mon Dec 31 09:04:35 PST 2007


> For Mark's suggestion to use Node Queues you have the option to set the
> Roles that can place things into the Queues.
> I've not looked at putting things into a queue by default when they are
> posted. Recently, I've mainly been using them for fixed length queues
> for displaying things on front/special pages and the like - for which it
> is really cool :-)

To put nodes in a queue by default, I recommend the actions and workflow 
modules. the node queue module has built-in add and remove actions, so 
the initial state of a workflow could add the node to the newswire 
queue.

on the Actions page, you add a new action for your node queue.  then on 
the Workflow page, create a workflow and an initial state for the 
workflow (calling it whatever you want).  on the workflow edit screen 
you want to give the "author" permission on the transition from creation 
to that initial state.  assign your action to the transition from 
creation to initial state.

now when a user (anonymous or otherwise) publishes, the node will 
automatically move into that initial state and the action will be 
triggered, adding the node to the newswire node queue.

you'll probably want to add other queues for highlighted stories that 
only certain roles can access.  on indybay (not a drupal site) we also 
have the equivalent of a queue/workflow state called "New" that each 
newswire post is removed from as it is reviewed by an editor 
(masochistically forcing ourselves to look at every post for spam, 
racist crap etc.), as well as "Questionable - Hide" and "Questionable - 
Don't Hide" when you want other editors to have a look at it.

--mark


More information about the Imc-drupal-dev mailing list