Views fields combine

Component ID

1772140

Component name

Views fields combine

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3901

Component created

Component changed

Component body

This module allows you to combine the output of Views fields separated by a custom text.

Say, you'd like to put the title and the date of an article next together and separate both fields by ", ". Normally you would add a field of type "Global: Custom text" to your view (or use field rewriting) and enter the tokens of the fields (e.g. [field_article_date], [title]).
This works until some of the fields are optional. In this case the output will contain an unwanted separator (unless you are rewriting each field on its own and add the separator there).
Views fields combine solves this problem allowing you to combine fields using the UI.

Usage

Simply add a field of type "Global: Combined fields" to your view and select the fields you would like to combine.

Development on Views fields combine is sponsored by undpaul.