Closed (fixed)
Project:
Primary Term
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 May 2010 at 13:54 UTC
Updated:
27 Oct 2010 at 17:50 UTC
This patch adds CTools context support (and so Panels support as well). Specifically, it adds a context relationship: if you already have a valid node context, you can get it's related primary term context on the context configuration page.
| Comment | File | Size | Author |
|---|---|---|---|
| primary-term-ctools.patch | 2.26 KB | drifter |
Comments
Comment #1
sethcohn commentedI'll be testing this, and ask for others to review as well, the more eyeballs/testers the better.
Comment #2
merlinofchaos commentedNo point in having defaults if the relationship has no form and thus no values of its own to store.
Is it possible for this to not be set? If so, this returns nothing. Would be best (I have recently learned) if it returned an empty context in this case. (This is one place where following CTools examples won't be right, since I have only recently learned this).
Otherwise this is simple and looks good.
Comment #3
brianV commentedChanges made as suggested by merlinofchaos, and committed:
http://drupal.org/cvs?commit=435668