Closed (fixed)
Project:
Display Suite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2011 at 17:51 UTC
Updated:
19 Sep 2013 at 13:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedVery interested, even for D7 :)
Comment #2
brunodboFollowing your approach for the other taxonomy term formatters (jeuj for copy/paste :)), this patch ...
1) Adds two new formatters to nd_ds_fields():
2) Passes these formatters in nd_theme() to nd_terms_per_vocabulary().
3) In nd_terms_per_vocabulary(), checks for the new formatters and outputs $terms as a list if $list is set.
Comment #3
brunodboSome irrelevant stuff in previous patch. Here's a new one.
Comment #5
brunodboHmm, not sure why testing fails, patch applies cleanly locally.
Comment #6
dave reidTrying against a branch rather than tag...
Comment #7
dave reid#3: ndtermsaslist-1141524-3.patch queued for re-testing.
Comment #8
brunodboShouldn't the re-test have run by now?
Comment #9
brunodboUploading it again, to re-send it to testbot.
Comment #10
swentel commentedCommitted and pushed, thanks! IIRC I guess the test bot has troubles with dependency projects no ?
Moving to DS to see if I can reuse some of this stuff for taxonomy formatters in D7.
Comment #11
swentel commentedMarking this as won't fix, the field template option now has this option.
Comment #12
vasikehow does it works, as i can't this find this formatter for term reference.
What about having a comma separated terms.
Comment #13
heyyo commentedFormatter for term reference works great to make an ordered list or unordered list but how could I add rel="tag" on the anchor HTML tag ?
Comment #14
swentel commentedGoing to add comma separated stuff in #1276966: View modes for taxonomy terms are inconsistently available for ds_field_formatter_info().
Edit: this already works with the expert field template. Extra attributes will be added soon.
Comment #15
botrisI've attached a screenshot of settings on how to achieve this.
