- This topic has 2 replies, 2 voices, and was last updated 3 months, 3 weeks ago by .
-
Topic
-
Hi,
I’ve extended the User with an File Advanced field in which I connect multiple Media files from the library to the user. Now I would like to show that on a page, so I thought to use MB views for that. I’ve added the following code:
{{ user.first_name }} {{ user.last_name }} <ul> {% for post in query.posts %} <li>{{ user.downloaded_files }}</li> {% endfor %} </ul>
The first and last name are being displayed. However, for the downloaded_files it shows ‘array’. It has 2 connected files, so I understand that it is an array, but how do I need to change the code so that the files are shown? Or is this not the way to accomplish my use case?
Kind regards, Henri
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.