We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15152
    • 360 Posts
    I have been asked to re-design a website. The site was built using MODx - imagine my luck! The person who did it completely customized the admin area with their own labels and version numbers. I need to know what version is being used. Any way to find that in some of the code?

    Thanks for the help.
      There are no boring projects. Only boring executions. ~ Etzkorn
      www.impress-design.com
      • 3749
      • 24,544 Posts
      You can look in manager/includes/version.inc.php

      or put this in a snippet:

                 $v = $modx->getVersionData();
                  $version = $v['version'];
                  $smallVersion = $v['small_version']
                  echo "Version: ".$version."<br>";
                  echo "Small Version: ".$smallVersion."<br>";

        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
        • 15152
        • 360 Posts
        Bob
        Not sure that will work The guy changed it to his own version, as well (1.0) Ditto is version 2.0 so I was thinking it should at least be v 0.9.5, but I’m not certain.
          There are no boring projects. Only boring executions. ~ Etzkorn
          www.impress-design.com
          • 4041
          • 788 Posts
          I looked in a 095 version I have and in the (manager/includes/footer.inc.php) this line is not there:
          if(IN_MANAGER_MODE!="true") die("<b>INCLUDE_ORDERING_ERROR</b>

          Please use the MODx Content Manager instead of accessing this file directly.");

          It is present in all versions after that though. Maybe that will help smiley
            xforum
            http://frsbuilders.net (under construction) forum for evolution
            • 3749
            • 24,544 Posts
            Quote from: JWMSales at May 27, 2009, 06:22 PM

            Bob
            Not sure that will work The guy changed it to his own version, as well (1.0) Ditto is version 2.0 so I was thinking it should at least be v 0.9.5, but I’m not certain.


            Does the snippet I posted report 1.0?
              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
              • 15152
              • 360 Posts
              Bob
              Won’t have access for a few days. Will report then.
                There are no boring projects. Only boring executions. ~ Etzkorn
                www.impress-design.com