This patch adds a context placeholder form for entity ids, which when used with the 'panels veritable preview' patch allows an entity id to be manually supplied before a panel preview is generated.
We have been using it for the Weather Channel for several weeks now without issue.
| Comment | File | Size | Author |
|---|---|---|---|
| ctools-arguments-entity-id-placeholder.patch | 3.81 KB | mrjmd |
Comments
Comment #1
mrjmd commentedComment #2
Silicon.Valet commentedThis patch allows panels to provide previews on entity panel forms (or node view). It also replaces the behavior of the panels preview system from displaying preview inline to generating a preview "link" that can be opened independently (so as to preserve theme isolation and DOM fidelity. (When used with related patch)
Comment #3
damienmckenna@Silicon.Valet: Is the patch still in use? Any problems noted with it?
Comment #5
Silicon.Valet commentedPatch is still in use and we've been very happy with it.
Comment #6
japerryTested, and I like it. I'll look into getting the panels patch as well. Fixed!
Comment #8
maximpodorov commentedThis patch is obviously incomplete.
Comment #9
maximpodorov commentedI created a patch which fixes bugs introduced by this commit here: #2119357: Undefined index in ctools_argument_entity_id_context().
Comment #10
joelpittetPlease put the fixes to this patch here so the context is intact or as a follow-up issue that is linked to this issue.