Answer the question
In order to leave comments, you need to log in
How to output through pdoresources contents of migx fields with multiload?
Hello!
The task is as follows: there is a page that displays albums of projects. I made the albums themselves separate resources in order to use migx multi-download for each album (read below why). All album resources are displayed on the parent page via pdoresources as follows:
<div class="portfolio_our-houses_albums">
<a href="" class="album-image"><img src="" alt=""><span class="album-title"></span></a>
</div>
<a href=""></a>
Answer the question
In order to leave comments, you need to log in
Question removed! As I thought - it's in the cache. I just didn't know where to look for it. And I deleted the cache from the core folder, and that I just didn’t do it. But I couldn’t think that even in File Sources you need to make the call non-cached)
Thanks to the author of the question here https://modx.ru/vopros-answer/info/2663/
Well, or here too: https://forums.modx.com/ thread/99755/migx-multiupl...
PS Prior to this, I did not come across these links in Yandex when searching (This would save a couple of days of searching for an answer.
If anyone is interested, the answer is simple: in the paths in the file source, we prescribe a non-cached call to migxResourceMediaPath:
[ [!migxResourceMediaPath?&pathTpl=`img/portfolio/projects/{id}/` &createFolder=`1`]] :-)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question