Timeline for How to display a field twice in a view mode?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2016 at 14:51 | vote | accept | oknate | ||
Oct 19, 2016 at 7:14 | answer | added | 4uk4 | timeline score: 3 | |
Oct 19, 2016 at 0:33 | comment | added | oknate | It's funny, in this case, I'm already using views, but rendering the node with a view mode. This is for my main search, and not all content types or entities have field_address, although, I like being able to have templates for each entity type. I guess you can do that with views as well, different templates for each content type? At this point, I don't think I would want to do it that way, as I'm 99% there, and I could just do some custom code in hook_entity_view to format the address. I'm just thinking in terms of future development, it would be nice to use a formatter. | |
Oct 18, 2016 at 23:48 | comment | added | No Sssweat | Have you tried/thought of using Views? | |
Oct 18, 2016 at 23:47 | history | edited | No Sssweat | CC BY-SA 3.0 |
added 3 characters in body
|
Oct 18, 2016 at 22:47 | history | asked | oknate | CC BY-SA 3.0 |