Closed (duplicate)
Project:
Nodequeue
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2007 at 20:12 UTC
Updated:
10 Oct 2007 at 06:26 UTC
I'm using nodequeue to pick a random feature story for our home page. I'd like to add a list of "other stories" - showing just the titles. The catch is that the displayed random entry should not appear in the "other stories" list. For example, if I have Story 1, 2, 3 and 4 and Story 3 is picked randomly, "other stories" should list 1, 2 and 4 but not 3.
Perhaps there could be a way to have the selected node number returned by the nodequeue_fetch_xxx functions, then have an exclude list parameter for nodequeue_node_titles and nodequeue_nodes?
Comments
Comment #1
dwwSee my patch http://drupal.org/files/issues/nodequeue_exclusion_filter.patch.txt from http://drupal.org/node/182159 (which I just marked as duplicate):
Comment #2
dwwActually, this is duplicate with the even older: http://drupal.org/node/125454