We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Is it possible to reproduce the following using a output filter?
    [[!If? &subject=`[[!UltimateParent]]` &operator=`EQ` &operand=`1` &then=` id="item1"` &else=` id="item2"`]]
      • 1778
      • 659 Posts
      Hello

      Of course you can do that :
      [[!UltimateParent:is=`1`:then=`ITEM1`:else=`OTHER ITEM`]]
      


      You can replace the ITEM1 text and OTHER ITEM text by a chunk too

      [[!UltimateParent:is=`1`:then=`[[$myChunk1]]`:else=`[[$myChunk2`]]
      


      Hope this can be of use to you
      Cheers