We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36931
    • 206 Posts
    Dear All,

    I ahve somehting like this
      [[IF? 
      &subject=`[[+wf.docid]]`
      &operator=`eq` 
      &operand=`1` 
      &then=`<a style="text-decoration:none; cursor:pointer;" onclick="deroulant('cat_deroulant')" title="[[+wf.title]]">[[+wf.linktext]]</a>`
    &else=`<a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>`
    ]] 
    


    But I need to use and or like in PHO
    if($something == 0 OR $sontingelse == 2){}


    Is it possible with the add-on IF?
    And how?
    In the documentation I saw nothing!

    Is it possible?
      • 32316
      • 387 Posts
      It might be time to get your hands dirty and write a little php code - create your own snippet!
      It is not hard to do!