where-json-string 내부 변수 사용에 약간 문제가 있습니다. 다른 MIGX getImageList -template 내에서 MIGX getImageList를 실행하고 있습니다.json 문자열의 MODx MIGX 변수
[[getImageList?
&tvname=`migxProducts`
&where=`{"productGroupName:=":"[[+productGroupName]]","productItemType:=":"product"}`
&tpl=`migxProductsListRowTpl`]]
모든 것을 망가 뜨리는 것은 [[+ productGroupName]] 것 같습니다. 그 변수를 where 문자열에서 사용해야합니다.
무엇이 잘못되었거나 해결책이 있는지 실마리가 있습니까?
미리 감사드립니다.
나는 그렇게 생각하지 않는다. 변수는 이전에 몇 줄 더 잘 작동합니다. 그것이 코드를 깨뜨리는 json 문자열 안에서 실행될 때입니다. MIGX를 사용하고 있습니다. http://rtfm.modx.com/display/ADDON/MIGX – Emin