Putting it in a node queue

Absolutely essential for so many sites, node queue module doesn't have the simplest way of populating the queues. Fair enough when the site is auto-generating subqueues for every organic group.

Just the code for now. I'll comment on it when I get a moment.

_x_node_save($node); $queue = nodequeue_load(2); $nsubs = nodequeue_get_subqueues_by_node(array($queue), $node); $subqueue = array_shift($nsubs); nodequeue_subqueue_add($queue, $subqueue, $node->nid);