We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Quote from: splittingred at Aug 18, 2008, 03:05 PM

    Quote from: BobRay at Aug 18, 2008, 02:19 PM

    Still not working for me. I can edit the name but not the value of yes/no settings.

    Reload cache? I can do it no prob.

    Tried that a while ago. Doing a build seems to have fixed it.

    BTW, "yes" (with lowercase ’y’) is interpreted as "No" in "Create New System Setting" -- there must be an if( $input != $_lang[’yes’]) around somewhere that should maybe be if (strcasecmp($input,$_lang[’yes’]) ).  wink
      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
      • 28215
      • 4,149 Posts
      Quote from: BobRay at Aug 18, 2008, 03:48 PM

      Tried that a while ago. Doing a build seems to have fixed it.

      BTW, "yes" (with lowercase ’y’) is interpreted as "no" in "Create New System Setting" -- there must be an if( $input != $_lang[’yes’]) around somewhere.  wink

      Yeah input checks for a 1 or 0. I’ll add a check for is_string, and then interpret properly. Committed in r3946.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        I think I found the editability problem.

        If the xType is yes/no it works, but not if it’s set to boolean, which is still an option in create new.
          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