Here is the setup:
- A content type with a field "term reference" for the tags for instance.
- The tags have a description.
- There is a "node_view" panels override for this content type.
- The panel has a context "taxonomy term from node (on node: Tags [field_tags])
- On the panel content I added a "taxonomy term: description"
Now with this I would expect to be able to choose a "standard" view mode, but instead I have "Page of a taxonomy term" and "Tokens". This is wrong I think, the correct view modes would be "filtered html", "full html", "plain text", ...
I previously submitted a patch here #1340950: Filter not used for description in "term being viewed : description"
But it was not fixing the exact issued described there so it has not been committed.
Comment | File | Size | Author |
---|---|---|---|
#4 | term_reference_description_filter-1776574-4.patch | 1.88 KB | mrjmd |
Comments
Comment #1
idflood CreditAttribution: idflood commentedHere is the patch.
before:
after:
Comment #4
mrjmd CreditAttribution: mrjmd commentedHere's a re-roll.
Comment #5
DamienMcKennaWhy is this any different to any other text field? The way generic fields are handle is that it pushes the control of the renderer back to the normal entity display and lets you choose which view mode to use, so then you have to configure the field at the view-mode level. I would question whether this is by design?
Thoughts, japerry?
Comment #6
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 5 year old patch in #4 applied cleanly to the latest ctools 7.x-1.x-dev, and if still applicable needs to be reviewed and tested by the community.