Here's a little module that integrates DA with nodequeue. Nodequeue provides each node with a tab where users can assign that node to a queue. Queues are displayed in blocks provided by NQ or by Views.
This module provides a tab for each active domain so users can see the queues as being separated by domain, even though each queue really can contain nodes from multiple domains.
The use case for this is for multiple domains sharing a similar theme with views filtered by nodequeue AND domain. It simplifies the management process of moving nodes across various domains and queues.
The module also makes a few improvements to the standard nodequeue tab.
- You can configure the column labels to make sense for your site admins.
- The node titles are listed (no. of titles is configurable) in the tabs so it's easier to see what you're moving, and what is already in all the queues.
- The titles link not to the nodes' view tabs, but to the nodequeue tab for the same domain, so you save a few clicks and refreshes as you rearrange your queues.
I started making this as just a nodequeue sub module, so it's currently named nodequeue_tab. I would rename it if people feel there is enough of need for this to contribute it. Nearly all the code comes directly from the nodequeue module.
One more feature I would like to add is the ability to publish/unpublish a node to a domain from the tabs.
Feedback is appreciated.
Comments
Comment #1
agentrickardInteresting. I wish I had time to review.
Comment #2
awolfey commentedHere is an update with the following improvements:
- Option of preventing adding nodes to a queue if the node is unpublished and/or is not in that tab's domain.
- Option of included (or not) nodes published to the base domain in other domains' tabs.
Comment #3
summit commentedSubscribing, interesting, if I have time next week, will try it out.
greetings,
Martijn
Comment #4
agentrickardInteresting. Do you need this now that, with RC8, you can restrict views by domain?
I can see why you might in a UI...
Comment #5
awolfey commentedI think we do. The site editors need to see what is displaying in the various domains' front pages. A lot of it is UI. The nodequeue UI is not very friendly. This lets them easily move stories around, not only from queue to queue but also within a queue.
Nodes are not visible on the front page until they go into a queue.
Views blocks on the front page have a required relationship to a particular queue filtered by "visible in current domain."
A couple of screen shots are attached.
Add and remove from queue use ajax, and the node titles take you that node's domain tab retaining the same domain.
Comment #6
agentrickardOooooo. Looks sexy.
Comment #7
agentrickardThis needs to be released as a separate project.
Comment #8
awolfey commentedInstead of with domain bonus pack?
Comment #9
agentrickardSorry, is it in DBP? That's fine. I just mean "separate from the code I maintain."
I will add DNQ to the home page. Issues should be filed against DBP.
http://drupal.org/project/domain_bonus
Hooray!
Comment #10
awolfey commentedSounds good. It's on my list for next week if I'm lucky.
Comment #11
awolfey commentedThis has been committed to http://drupal.org/project/domain_bonus.
Comment #13
mohammed j. razemFor D7, here's the solution: used it in my website and working awesome: Smartqueue domain