Attached please find a bridge module written against Panels 2, not Panels 3. It will need to be updated to Panels 3/ctools, but that should not be hard.
What it does is provide a new Panels "context" that is "nid out of a queue". You can select what queue to pull from, as well as whether you want the front, back, or a random node. That nid can then be passed to, well, whatever you can pass contexts to.
What's the use case? Picking a node at random out of a nodequeue, and then passing that to multiple different views in a panel as an argument, allowing them to all be "random" but still linked. Rock.
It could be left as a separate module, or integrated directly into nodequeue. I have no strong preference there.
Ezra, go to town. :-)
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue_panels.tar_.gz | 1.33 KB | Crell |
Comments
Comment #1
ezra-g commentedAwesome. Thanks!
Comment #2
ezra-g commentedUnassigning.
Comment #3
dwwI almost needed this today, so I almost would have worked on it. ;) If I end up needing it afterall, I'll assign to myself to let y'all know, and then post my results ASAP. But, if you don't hear from me, assume I'm onto other solutions.