Needs review
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 16:29 UTC
Updated:
31 Jan 2013 at 15:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
amateescu commentedI'm not so familiar with ctools plugins or panels (read: unfortunately, haven't had the chance to use them yet), but is this related in any way to #559252: Panels context integration ?
Comment #2
jonhattanThey're not related. #559252: Panels context integration provides a nodequeue context (do not confuse with context module): a context for panels is some data that is available to the panel. In the case of nodequeue it is some-data-obtained-from-a-queue (first,last or random node) that can be used in the panel.
OTOH my patch provides an access plugin that is used as a «selection rule» to activate a panel variant when the node being viewed is part of a given nodequeue. Same thing (an access plugin) is also is used for «visibility settings» of single panes within a panel.
I did learn almost all of this yesterday so I may be wrong at some point :)
Comment #3
jonhattanThis is almost the same patch for 7.x
Comment #4
dajjenFixed a bug with previous patch that didn't render settings form in panels.
Comment #5
dajjenremoved whitespace from patch on comment #4