I had the need for a nodequeue as a Ctools context to be able to configure a nodequeue in a Panels context for use in a view.

Therefore, I made this Nodequeue Context module : https://www.drupal.org/sandbox/Mithrandir/1489516
It adds a Ctools context with a search lookup for selecting a nodequeue that can be used in Panels or as an argument for a view, e.g. fetching nodes from the selected nodequeue. That way, it is easy to replace a nodequeue on a Panels page while keeping a single view for fetching nodes from nodequeues.

Would you want to integrate it into Nodequeue? I would not object to that :)

Comments

gielfeldt’s picture

StatusFileSize
new19.47 KB

Patch for 2.x. Requires the token support #2467801: Add support for tokens.

Contains context, relationship and content-type.

gielfeldt’s picture

Status: Active » Needs review
fizk’s picture

Status: Needs review » Needs work

Thanks for the patch! I'm seeing an error when creating a Nodequeue context:

Invalid nodequeue selected.

I have asdf [qid: 1] in the "Enter the title or ID of a queue" field.

I also applied the patch in #2467801: Add support for tokens and cleared the Drupal cache.