Tell me how to make a condition for the withdrawal so that [[* id]] - 1 was
[[getImageList? &tvname=`slider` &tpl=`slider` &docid=`1` &where=`{"MIGX_id:IN":"id"-[1]}` ]] Tell me how to make a condition for the withdrawal so that [[* id]] - 1 was
[[getImageList? &tvname=`slider` &tpl=`slider` &docid=`1` &where=`{"MIGX_id:IN":"id"-[1]}` ]] This can be done through modx I / O filters:
&where=`{"MIGX_id:=":"[[*id:decrement=`1`]]"}` Source: https://ru.stackoverflow.com/questions/618844/
All Articles