Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Context field should be able to attach to an entity id and a revision id. Currently it will only attach to a entity id.
Comment | File | Size | Author |
---|---|---|---|
#3 | context_allow_context_to_be_hidden.patch | 676 bytes | e2thex |
Comments
Comment #1
indytechcook CreditAttribution: indytechcook commentedAdding to Sprint 3
Comment #2
indytechcook CreditAttribution: indytechcook commentedComment #3
e2thex CreditAttribution: e2thex commentedThere is a new widget in context_field (branch context_per_revision)
One can add a context field using this widget to get a context per revision
EXTRA to Get the nice context editing
the following patch are needed
Context needs
http://drupal.org/files/context-context-ui-revamp-1050724-29.patch
context_field has a patch to remove its extra link to the context editor but it is not applying currently
http://drupal.org/files/1491008_Remove_Context_layout_link_0.patch
go to admin->structure->context->settings and set the
use context dialog
EXTRA hid context field contexts from context list
apply the attach patched to context
Set the default for the context field to Default Context Do Not List
set the drupal variable (using variable_set) context_do_not_list_tags to array('Default Context Do Not List')
Comment #4
indytechcook CreditAttribution: indytechcook commentedSo it appears as there are 3 different patches here. 2 links and one attachment. Are there follow up issues on the context and context field modules?
Comment #5
indytechcook CreditAttribution: indytechcook commentedClosing this as it's the branch is working great now.
Comment #6
caschbre CreditAttribution: caschbre commentedQuestion... is the context_per_revision branch of context field something that can be used? I'm actually working on a site that has this need.
Any idea when these might also be rolled into the main release of context field?
Comment #7
indytechcook CreditAttribution: indytechcook commented@caschbre
Hi. Yes, We are currently using it on our prototype and the demo video used it also: http://www.youtube.com/watch?v=53QYiorBYS0.
I opened an issue on context field #1736558: Context Per Revision to track the progress.
Comment #8
caschbre CreditAttribution: caschbre commentedExcellent! I'm putting together a prototype soon utilizing this module and revisions so I'll try keep notes on it.
Where would you like any defects submitted?
Also... just so I'm clear... this is not revisioning the context itself. This is capturing which context is tied to which entity id / revision id, correct?
Assuming that's the case, if the context field is set to auto-generate a context per entity (instance), how is this handled with revisions?