We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20093
    • 81 Posts
    I have been having issues with output filters, specifically 'isnot' (related to Bug #7029). So, I took a look at modoutputfilter.class.php and I found these lines at the top of the switch statement that handles output modifiers:

    /* conditional operators */
    /* @todo these conditionals should be removed because there are cleaner ways to do this now */


    These lines were included in the initial commit of this file in 2009. I'm not sure what to make of this. Specifically which conditionals is this referring to, all of them? What cleaner ways are there of doing conditionals in MODX Tags? Or is this comment just totally irrelevant today?
      • 3749
      • 24,544 Posts
      That comment has been there for quite a long time. I'm not sure what it refers to.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 20093
        • 81 Posts
        Quote from: BobRay at Mar 25, 2013, 03:05 PM
        That comment has been there for quite a long time. I'm not sure what it refers to.

        I'm itching to find out now. smiley That commit was by Jason. I wonder if he remembers, after 5 years, what it refers to.