Answer the question
In order to leave comments, you need to log in
Why, when iterating over pdoPage resources and using getImageList(MIGX) and TV inside, the data of the first resource is substituted into getImageList?
UPD: Problem solved. I rewrote the code - it worked as it should. Suspicion that for example the sign "!" some was not correct, maybe the wrong encoding - copied from somewhere.
I display a list of resources on the page through pdoPage and using getImageList (MIGX) and TV inside, then the docid of the first resource is substituted in getImageList. And accordingly, all parameters added via MIGX are applied to all derived resources FROM THE FIRST RESOURCE. Ordinary (TV) additional fields are substituted normally - each resource has its own.
Conclusion:
<div class="item">
<a href="">
<img src="
" alt="">
</a>
<div class="info">
<a href=""><h3></h3></a>
<span></span>
<span></span>
<span></span>
</div>
</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Problem solved. I rewrote the code - it worked as it should. Suspicion that for example the sign "!" some was not correct, maybe the wrong encoding - copied from somewhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question