I understand the #471732: Use cases outlined for this module but wonder what it would take to automatically create a meta-node for a smartqueue_user. It seems like this feature would be very useful.

The use case I'm trying to address is simply to add some additional fields to a user-created subqueue, so that when the user creates their subqueue, they can add a description and image, and also add tags. Then the subqueue, when displayed, can show those additional pieces of information. It seems similar to this other issue #513172: Wish-list type functionality.

While it was mentioned in #720030: Doesn't create node that rules might accomplish this, I'm unclear how.

After reading through the this module's code, it seems like there might be a few lines of code that I could put into a custom module that might automatically create and link a node to a subqueue. Or, even better, a setting for this module could trigger that auto-node creation and linking behavior when a subqueue is created.

So, I thought I would submit this feature request to summarize and see if anyone else was interested as well, and if this feature could be included by the author/maintainer.

Comments

teleted’s picture

Following up on the suggestion of using Rules to automatically create a meta-node upon creation of a queue, I examined the Rules module and the Nodequeue module to find out the level of integration.

I'll say right off that I'm certainly no expert in either module. I'm just sharing what I found examining the documentation, code and user interface of each. I'm referring to Drupal 6 versions.

Nodequeue provides only Actions to add or remove a node from a queue. There are no Rules Events defined.

This issue {#952448} proposes a patch to add events, but at present it only proposes events that would detect when a node was added or removed from a queue. If and when that gets incorporated, it sounds like we'll have detecting when nodes are added or removed, and actions to add or remove nodes covered.

But there is no way presently, that I can tell, of using Rules to detect a queue creation or deletion event.