Use separators between multiple values

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
gardensnake's picture

Hi all,

I have a field called curators which can refer to multiple users.

When displaying an article, I can nicely access that field with Display Suite, but all its values are bumped up against each other. Person1Person2Person3

What is the best way to format them to read: Person 1, person 2, and person 3 ?

I've made a "view" to do it, but this seems to open up other cans of worms (contextual filters) and I wonder if there isn't a simple way to do it right within Display Suite.

Many thanks!

Comments

use css

mepperly's picture

.field-type-taxonomy-term-reference .field-item a:before {content: "◆ "; color #ff9933;} gives me an orange diamond and a space before each tax term

Display Suite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: