Rendering lists

Created on 22 June 2023, almost 2 years ago

I am using the 'Entity Word' module to get docx output from a node. I can get the output for many of my fields, but not a multi-value field (list).

My problem is that I cannot seem to see how to iterate through list items.

If I include the field in the template as:

${field_list}

the output is a single line with all values separated by commas.

I've had a look at the PHPWord/PHPoffice docs, but I can't see how to get a list using the ${field} syntax.

💬 Support request
Status

Active

Version

3.1

Component

Miscellaneous

Created by

🇬🇧United Kingdom gmak

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

Comments & Activities

Production build 0.71.5 2024