Unfortunately the nodequeue node limit input box is limited to only 2 characters, therefore making it impossible to restrict a nodequeue to something like 200 nodes. I can understand why this is the case, however it seems little strange to limit a users choice in this regard, is there a way around this limit?

Thanks!

Comments

carn1x’s picture

Is there a way to trim the node queue size with Rules rather than enforce the limit itself?

amateescu’s picture

Status: Active » Fixed

You can easily do a hook_form_FORM_ID_alter() and change that limit in a custom module. The form id for the nodequeue add/edit form is nodequeue_edit_queue_form.

carn1x’s picture

Ahh thanks, should have thought of that. Just strikes me as strange to arbitrarily limit to 2 characters! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rubyji’s picture

I can get a developer to help with the fix suggested by amateescu above, but I strongly agree with carn1x, it would make a lot of sense to just allow larger numbers in the configuration field. If needed, an administrator could set a hard limit for all queues.

How hard would it be to update the module to allow this?