V
V
Vechkov Alexander2019-10-22 13:23:00
CMS
Vechkov Alexander, 2019-10-22 13:23:00

How to make a selection in getimagelist (&where)?

I need to make a selection via the &where parameter in getimagelist .
like this:
&where=`{"id-list":"2"}`
where id-list is a list of resources separated by commas (eg "21,34,52")
and 2 is the id of the current resource.
The following condition is needed:
We display those migx fields in which the id of the current document is present in the id-list field. What should I write in &where??? PS: the fields are not drawn from the current resource. Those. in getimagelist I specify the parameter &docid=``

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question