We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39325
    • 5 Posts
    Greetings!

    If the field «brand» is equal to the pagetitle, display results

    [[getImageList?
    &docid=`[[+id]]`
    &tvname=`address`
    &tpl=`tpl.address.data`
    &where=`{"brand:LIKE":"[[+pagetitle]]%"}`
    ]]

    «brand» is a fild in migx

    How to do it right?

    This question has been answered by ezersky. See the first response.

    • discuss.answer
      • 39325
      • 5 Posts
      Quote from: ezersky at Jun 14, 2017, 10:19 AM
      How to do it right?

      I will answer myself

      [[getImageList?
        &docid=`[[+id]]`
        &tvname=`address`
        &tpl=`tpl.address.data`
        &where=`{"brand:in_array":"[[*pagetitle]]"}` 
      ]]