views:

49

answers:

2

How can I automatically add a node to a specific nodeQueue when this is created (I'm using nodeQueue module: http://drupal.org/project/nodequeue).

The reason is that I want an sortable (by dragging the nodes) list of the nodes and I want them to be automatically added to it..

thanks

A: 
  1. there are modules to create nodequeue for terms, you can create nodequeues with preloaded nodes with those modules
  2. you can add a trigger and write your own logic to select and insert nodes
  3. if you just want to test the nodequeue, just type on the interface, the auto-complete field is very friendly
Andy Lin
thanks. Can I automatically include all nodes of a "Content Type" (Like in Views rather than using a trigger ?) thanks
Patrick
the simplest way i can come up is to write a simple script that pull the data and insert into queue with nodequeue_save();you can find examples at: http://drupal.org/node/293117
Andy Lin
A: 

Triggers and Actions, and maybe the workflow module should let you automate this. See http://www.drupal.org.uk/node/259

related questions