We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    The funky QuickEdit page? Yes.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 25663 MODX Staff
      • 12,272 Posts
      Quote from: Bravado at Oct 25, 2005, 10:14 AM

      /manager/includes/document.parser.class.inc.php
      Added a REDIRECT_ERROR type for the sendErrorPage function to force a 404 error before redirecting to the error page.  This will help with spiders and such expecting a 404 error rather than getting a 302.

      Can you follow up with Raymond on this one please. Others committed to Trunk... thanks again!
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 4018
        • 1,131 Posts
        Already done, Ryan! Oh yeah...I just did a test with a fresh install on my test server. Err...looks like the option for installing the default content doesn’t work right. Regardless of whether it’s checked off or not causes the installer to install the default content anyways. Just thought you should know. smiley
          Jeff Whitfield

          "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • 25663 MODX Staff
          • 12,272 Posts
          Rev 409 (update 2) now available for download (that’s a direct download link). Details here
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 4018
            • 1,131 Posts
            Just noticed something in the last uploaded update. In /manager/frames/l4mnu.php, the javascript towards the top doesn’t look right:

            <script language="JavaScript" type="text/javascript">
            function showWin() {
            	window.open('../');
            }
            startList = function() }
            if (document.all && document.getElementById) }
            navRoot = document.getElementById("nav");
            for (i=0; i<navRoot.childNodes.length; i++) {
              node = navRoot.childNodes[i];
              if (node.nodeName=="li") }
              node.onmouseover=function() }
              this.className+=" over";
                }
              node.onmouseout=function() }
              this.className=this.className.replace
                  (" over", "");
               }
               }
              }
             }
            }
            function stopIt() }
            	top.scripter.stopWork();
            }
            window.onload=startList;
            </script>
            


            Shouldn’t it be this?

            <script language="JavaScript" type="text/javascript">
            function showWin() {
            	window.open('../');
            }
            startList = function() {
                if (document.all && document.getElementById) {
            		navRoot = document.getElementById("nav");
            		for (i=0; i<navRoot.childNodes.length; i++) {  
            			node = navRoot.childNodes[i];  
            			if (node.nodeName=="li") { 
            				node.onmouseover=function() {  
            					this.className+=" over";    
            				}  
            				node.onmouseout=function() {
            					this.className=this.className.replace (/ over/, '');   
            				}
            			}
            		} 
            	}
            }  
            
            function stopIt() {
            	top.scripter.stopWork();
            }
            window.onload=startList;
            </script>
            


            Plus I noticed that the arrangement for Users and Settings has changed in this file. Is this correct? Just wanted to make sure...though I don’t think it really matters. smiley

            Jeff
              Jeff Whitfield

              "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
              • 25663 MODX Staff
              • 12,272 Posts
              I think the arrangement is supposed to be different, but the JS may in fact may be a minor oversight.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Plus I noticed that the arrangement for Users and Settings has changed in this file. Is this correct?

                Yes, it is. This is so the drop-down menu will be able to have the secondary menu immediately beneath its parent link instead of shifted to the far left. The menu with the most secondary links has to be on the left so there will be room for them all.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 34162
                  • 1 Posts
                  Bug: Missing "Values" on line 63 in setup.data.sql.

                  Here is the corrected file.
                    • 34162
                    • 1 Posts
                    Here are the 3 instances that I found to produce "double slash"

                    document.parser.class.inc.php:463: $basepath = $this->config["base_path"]."/assets/cache/";
                    document.parser.class.inc.php:507: $basepath = $this->config["base_path"]."/assets/cache";
                    document.parser.class.inc.php:523: $basepath = $this->config["base_path"]."/assets/cache";


                      • 34162
                      • 1 Posts
                      Here is my proposal to handle cache file problem for a site that can not allow cache. If the file is not there don’t even try to wrtie to the cache thus will prevent any error to show.

                      document.parser.class.inc.php
                      line 526: $fname=$basepath."/docid_".$this->documentIdentifier.".pageCache.php";
                      line 527: If (file_exists($fname)) {
                      line 538: }

                      Please let me know what you think.