We should provide a field formatter that allows people to show a multi-value field as a comma separated list of items. In Drupal 7 this was done by using the https://www.drupal.org/project/field_delimiter module.
Leaving this out will be a regression from Drupal 6. In Drupal 6 you could choose to display taxonomy terms on a node as a comma separated list of links. In Drupal 7, the only way to achieve the same thing was to use the taxonomy formatter module.
I would love to see this common-use-case feature restored to backdrop.
MVP:
- Allow separating items by a comma ,
- Apply this new formatter to any multi-valued field
- Allow formatting multi-valued fields as HTML lists (e.g. <ul>, <ol>)
Nice to have:
- Allow separating items by any custom delimiter (e.g.
,,;,-, etc.) - Allow specifying a different custom delimiter for the last two items (e.g.
&)
Backdrop contrib module: backdrop-contrib/textformatter
Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists