We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4195
    • 398 Posts
    Jot 1.1.1 is here!

    Fixes a problem with custom fields not showing in edit/moderate mode.
    Updating is recommended.

    Download: http://modxcms.com/Jot-998.html
    Jot Demo Site: http://projects.zerobarrier.nl/modx/
    Documentation: http://wiki.modxcms.com/index.php/Jot (wiki)

    If you think you can contribute to the Jot "experience" by adding examples and/or tips, feel free to add them to the wiki page.
      Armand Pondman
      MODx Coding Team
      :: Jot :: PHx
      • 16886
      • 40 Posts
      Hi bs,
      thanks for the new version, but in the snippet part is a bug:

      you have to change this part in the snippet:
      Old:
      $Jot->VersionCheck("1.1.0");
      
      New:
      $Jot->VersionCheck("1.1.1");


      although this part is shown in the content area:
      $value) {
      			if (!is_null($value)) {
      			  $urlstring[] = $name . '=' . urlencode($value);
      			}
      		}
      		
      		$url = join('&',$urlstring);
      		if ($suffix) {
      			if (empty($url)) { $url = "?"; }
      			 else { $url .= "&"; }
      		}
      
      		return $modx->makeUrl($docid, $alias, $url);
      	}
      	
      }
      ?><<


      or did you forget to update the snippet part in the zip-package.
      thx for any suggestion
      greetings
      LeftHanded
        I love ModX!
      • After updating the version check per the above so it would run, when trying to use the unpublish or the edit functions with Jot 1.1.1, I get the following error when trying to use it:

        PHP error debug
        Error: Invalid argument supplied for foreach()
        Error type/ Nr.: Warning - 2
        File: /blahblahblah/assets/snippets/jot/includes/jot.db.class.inc.php
        Line: 143
        Line 143 source: foreach($this->cfields as $n=>$v) {
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • Update... It appears that it is in fact making the edits, but just dying in the DB class.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 10470
            • 48 Posts
            i have the same problem ^
              • 4195
              • 398 Posts
              Will get to fix this asap..
                Armand Pondman
                MODx Coding Team
                :: Jot :: PHx
              • Thanks Armand smiley
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me

                This discussion is closed to further replies. Keep calm and carry on.