Closed (outdated)
Project:
Token
Version:
6.x-1.19
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2012 at 22:51 UTC
Updated:
24 Apr 2024 at 18:37 UTC
Jump to comment: Most recent
Comments
Comment #1
othermachines commentedYou've probably figured out by now that "Exclude from display" has nothing to do with it. The value output by the token won't be processed by the theme layer regardless.
I take it you used "Exclude" because you are grouping more than one field? Instead of using tokens, maybe try overriding the views-view-fields.tpl.php template file and access the original field value here via the $view->result array.
It may be slightly counter intuitive, but not a bug. Same behaviour is in Drupal 7.
Let us know if you get this figured out.
Comment #2
kwiliarty commentedI was bumping up against a similar problem, and the comment at #1 proved very helpful. I left my overridden field template (views-view-field--myview--myfield.tpl.php) in place and then structured the fields template (views-view-fields--myview.tpl.php) as needed, simply calling the $field['myfield']->content to display the customized output of the field.
Comment #3
bluegeek9 commented