Timeline for Use Color Field Value in Views Field Template File
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2019 at 22:33 | comment | added | O-nur | Unfortunately, I don't have Drupal 7 installed. You need to test and see. My first suggestion was from Drupal 8 guidelines. Latter is from Drupal 7 guidelines. | |
Jan 26, 2019 at 19:53 | comment | added | Nigel Waters | Wouldn't I need this to be done in the field-heading.tpl? | |
Jan 26, 2019 at 19:39 | comment | added | O-nur | you can do on views-view-field--field-color.tpl.php and add as print $ view['field'][field_color']['original_value'] | |
Jan 26, 2019 at 19:02 | comment | added | Nigel Waters | Thanks for the answer but this question is for Drupal 7 and is tagged as such. Do you know how to do this in 7? | |
Jan 26, 2019 at 15:56 | history | answered | O-nur | CC BY-SA 4.0 |