Export taxonomy multi-term to csv as single terms in multiple columns

Created on 21 October 2011, over 13 years ago
Updated 8 March 2023, almost 2 years ago

I need to find a way to generate a csv export of a view such that a multi-term taxonomy field is developed into the generated csv as a single term in multiple columns.

I realise that developing a taxonomy in this way would generate a varying number of columns per row, but as long as the taxonomy is the last field in the view, this will not be a problem.

I've tried to intercept the relevant field at templating time in views-view-field.tpl.php (or specific equivalent for the taxonomy field in question) to see if it is possible to modify the output from "term1, term2" into "term1", "term2", but this doesn't work. I still get a single cell output with the modified contents.

I am now thinking it is not possible. Has anyone any other suggestions?

Cheers

Mike

πŸ’¬ Support request
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom peamik123

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024