HI.
Not sure if this was addressed before. In this case, I apologize.

I use nodequeues to assign articles to different positions in the layout (like "main article", "top news" and similar).
I would like to prevent the editors to erroneusly assign the same node to different queues at the same time (resulting in duplicate teasers/nodes on the page!)
Is this possible to implement?

thanks a lot!

CommentFileSizeAuthor
#6 limit_to_one_queue-435218.patch1.03 KBb.ravanbakhsh

Comments

ezra-g’s picture

Version: 6.x-2.0-rc3 » 7.x-2.x-dev
Component: Miscellaneous » Code
Category: support » feature

It's not currently possible. I would review a patch to make this possible but it would probably complicate several parts of Nodequeue. I'm not opposed but I'm also not bowled over with enthusiasm

bohz’s picture

Thanks for the info.
I am not capable to develop anything at the moment :(
Moreover, I don't see a lot of users with similar issues, so I guess we can skip this feature request.
I will look for an alternative way to warn/educate the editors on how to assign nodes to queues.

Thanks anyway!

ezra-g’s picture

Priority: Normal » Minor

Marking as minor unless anyone feels differently.

ezra-g’s picture

Title: Is it possible to prevent the assignment of the same node to different queues at the same time? » Limit nodes to only being part of one queue
amateescu’s picture

Status: Active » Postponed
b.ravanbakhsh’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Category: feature » support
Status: Postponed » Active
StatusFileSize
new1.03 KB

I add one line code to delete all previous queue that node belongs to before doing add to new queue.
for the 7.x-2 versions the line number is 1044.
Let me know if you need help backporting it, or if anything needs work.
prowebdesigner.com.au

jenlampton’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Category: Support request » Feature request
Issue summary: View changes
Status: Active » Needs work

We can't prevent all nodes from being in more than one queue or we'll break lots of existing sites that need to have them in multiple places. This needs to be implemented as a setting, so that people who want the limitation can opt-in.

I'm changing the branch to 2.x, since the 3.x branch is no longer supported.