We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    Is it possible to build up conditional statement with output filters?

    I need something like that:
    [[*gallery:is=`_no_gallery`:than=` `:else=`[[Gallery@GalleryProp? &album=`[[*gallery]]`]]`]]

    regards,
    Luke
      Lucas from AroundCyprus.net
      • 17723
      • 221 Posts
      OK. I’ve found a snipped that does what I need.

      It goes like that:
      [[If?
      &subject=`[[*gallery]]`
      &operator=`is`
      &operand=`_no_gallery`
      &then=` `
      &else=`[[Gallery@GalleryProp? &album=`[[*gallery]]`]]`
      ]]

      LUKE
        Lucas from AroundCyprus.net