Nodequeue integration

awolfey - May 5, 2009 - 13:12
Project:Domain Access
Version:6.x-2.0-rc6
Component:Code
Category:feature request
Priority:normal
Assigned:awolfey
Status:closed
Description

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.

AttachmentSize
nodequeue_tab.tar_.gz3.21 KB

#1

agentrickard - May 5, 2009 - 13:36

Interesting. I wish I had time to review.

#2

awolfey - May 8, 2009 - 12:46

Here 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.

AttachmentSize
nodequeue_tab.tar_.gz 3.75 KB

#3

Summit - May 8, 2009 - 12:49

Subscribing, interesting, if I have time next week, will try it out.
greetings,
Martijn

#4

agentrickard - June 22, 2009 - 21:13

Interesting. Do you need this now that, with RC8, you can restrict views by domain?

I can see why you might in a UI...

#5

awolfey - June 22, 2009 - 21:47

I 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.

AttachmentSize
nqt1.jpg 75.33 KB
nqt2.jpg 34.72 KB

#6

agentrickard - June 22, 2009 - 22:21

Oooooo. Looks sexy.

#7

agentrickard - June 28, 2009 - 16:04

This needs to be released as a separate project.

#8

awolfey - June 28, 2009 - 21:54

Instead of with domain bonus pack?

#9

agentrickard - June 28, 2009 - 22:16
Status:needs review» fixed

Sorry, 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!

#10

awolfey - June 28, 2009 - 23:08

Sounds good. It's on my list for next week if I'm lucky.

#11

awolfey - June 30, 2009 - 13:28

This has been committed to http://drupal.org/project/domain_bonus.

#12

System Message - July 14, 2009 - 13:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.