First: Thanks for a great plugin! Very useful.
I have a little problem with using a variable inside the where-json-string.
I'm running a MIGX getImageList inside an other MIGX getImageList -template.
[[getImageList? &tvname=`migxProducts` &where=`{"productGroupName:=":"[[+productGroupName]]","productItemType:=":"product"}` &tpl=`migxProductsListRowTpl`]]
It's seems that it's thethat breaks it all. I need to use that variable in the where string.[[+productGroupName]]
Any clue of what's wrong or if there's a solution?
Thanks in advance.
Also, for MIGX + Revo 2.2 compatibility this patch came in handy: https://gist.github.com/1266540added this patch with the last github-commit, but didn't test it myself.
https://github.com/Bruno17/multiItemsGridTV/commit/e2c41d409732515dfb50a37298129745e559ddad
Thanks!
Quote from: Eminos at Oct 17, 2011, 08:05 AMFirst: Thanks for a great plugin! Very useful.
I have a little problem with using a variable inside the where-json-string.
I'm running a MIGX getImageList inside an other MIGX getImageList -template.
[[getImageList? &tvname=`migxProducts` &where=`{"productGroupName:=":"[[+productGroupName]]","productItemType:=":"product"}` &tpl=`migxProductsListRowTpl`]]
It's seems that it's thethat breaks it all. I need to use that variable in the where string.[[+productGroupName]]
Any clue of what's wrong or if there's a solution?
Thanks in advance.
Could test your scenario succesfully on mine.
[ed. note: Eminos last edited this post 14 years, 11 months ago.]
[[!getImageList? &tvname=`imageSlider` &tpl=`@CODE:["[[+image]]"],`]]
[[!getImageList? &tvname=`imageSlider` &tpl=`@CODE:["[[+image]]"][[+_last:ne=`1`:then=`,`]]`]]
[[!getImageList? &tvname=`imageSlider` &tpl=`@CODE:["[[+image]]"][[+_last:default=`,`]]`]]
[[!getImageList? &tvname=`imageSlider` &tpl=`@CODE:["[[+image]]"]` &outputSeparator=`,` ]]

This discussion is closed to further replies. Keep calm and carry on.