We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3864
    • 16 Posts
    I’ve got a frustrating problem with wrapping QuipReply in an If conditional. My code is as follows. Line 1 renders OK, line 2 doesn’t render at all and line 3 renders OK.

    [[!If? &subject=`[[*isfolder]]` &operator=`notequal` &operand=`1` &then=`[[!Quip? &thread=`[[~[[*id]]]]` &threaded=`1`]]`]]
    [[!If? &subject=`[[*isfolder]]` &operator=`notequal` &operand=`1` &then=`[[!QuipReply? &thread=`[[~[[*id]]]]` &recaptcha=`1`]]`]]
    [[!If? &subject=`[[*isfolder]]` &operator=`notequal` &operand=`1` &then=`Hellooo`]]
    


    If I remove the If conditional wrapper all 3 lines output correctly.

    MODx setup and system:
    MODx: 2.0.4
    If: 1.1-pl
    Quip:1.2.0-rc1
    PHP: 5.2.10
    Apache: 2.0
    Mysql: 5.0.77
    Redhat Linux