Timeline for How to properly alter the output for fields of type file?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 11, 2014 at 15:06 | vote | accept | Alex | ||
Feb 11, 2014 at 15:04 | comment | added | Clive♦ | @Alex not directly, but one of the contained theme functions looks to be responsible | |
Feb 11, 2014 at 15:03 | answer | added | Clive♦ | timeline score: 3 | |
Feb 11, 2014 at 15:00 | answer | added | berliner | timeline score: 0 | |
Feb 11, 2014 at 15:00 | comment | added | arrubiu | Another way, without programming, is to use Custom Formatters drupal.org/project/custom_formatters | |
Feb 11, 2014 at 14:59 | comment | added | arrubiu | Take a look here: api.drupal.org/api/drupal/modules!field!field.module/function/… | |
Feb 11, 2014 at 14:54 | comment | added | Alex | yeah but there is no tpl which renders <img /> in it markup specially for file fields, is there? | |
Feb 11, 2014 at 14:51 | comment | added | Clive♦ |
It's a field so you'd normally alter it with field--type.tpl.php , probably field--file.tpl.php for a file field
|
|
Feb 11, 2014 at 14:43 | history | asked | Alex | CC BY-SA 3.0 |