Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

Fields inside nested migx not render mediasource base_path #301

Closed joeke closed 6 years ago

joeke commented 6 years ago

When using a migx inside a migx and using image fields inside the nested migx, the mediasource path is not correctly parsed. I think the problem lies in the getImageList snippet, somewhere around line 221. The $mediasource->prepareOutputUrl() function renders the mediasource path fine for the first level migx, but not for the nested migx image fields.

johanmolen commented 6 years ago

+1

joeke commented 6 years ago

Fixed it by adding the tvname property to the nested getImageList call. Thanks for your help @Bruno17