Great to have this module - it's a nice addition to Drupal! Also, I was pleased to see that you provide support for views, so the PHP snippets aren't required. A note to that effect in the documentation might be useful.
Any chance you could add functionality for a boolean check (accessible from a theme template) that would test if a particular node id was in any queue, or perhaps in a particular queue (after being passed a qid)? I'm sure it's probably not difficult to do if you're knowledgeable, but am afraid it's quite beyond my own skills.
Thanks for the consideration!
Comments
Comment #1
merlinofchaos commentedComment #2
ezra-g commentedYou can query the nodequeue_nodes table for the nid of the node and add a WHERE clause to SELECT specific qids\sqids. This sounds like a reasonable addition to the nodequeue API since it might prevent other modules from rewriting those queries.
Comment #3
daniboy commentedIt seems that nodequeue_get_subqueue_position() solves this old issue - It can be called
(bool)nodequeue_get_subqueue_position($sqid, $nid)to get a boolean value.Comment #4
amateescu commented#3 is correct.