We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Try re-installing your pdoTools.
      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
    • The three add-ons specifically for multilanguage are Babel, Lingua, and migxMultiLang.

      All three have their quirks and their benefits.

      Babel works with contexts, with separate resources for each page's different languages. Sometimes having the separate resources is an advantage.

      Both Lingua and migxMultiLang work with single resources using TVs for the languages for each page. Sometimes this is an advantage, sometimes it can be a problem. It all depends on what kind of pages the site will have.
        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
        • 44195
        • 293 Posts
        Actually I just had a look. Looks like the new version of pdoTools doesn't come with this setting anymore.
        I'd suggest trying to create the setting and see if it works.
        Otherwise, it may be an issue to work to work around for migxmultilang
          I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
          Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com
        • I see, upgraded to the latest version and those settings are indeed gone. Hm. I will ask bezumkin what that means.
            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
          • I spoke with bezumkin on Slack, and he had this to say about it:
            Teleport not working with classes that is was copied into core directories, so @opengeek and @elizabeth asks me to rewrite this part so snapshots on MODX Cloud with pdoTools could work

            I will talk to bruno17 and bezumkin and see what can be worked out.
              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
            • The problem was that bezumkin had some of his classes directly in core/model/modx/, and that is a definite no-no. All extras must have their code in core/components and their web-accessible files in assets/components.

              So he is patching pdoTools to work with a system setting, and bruno17 is discussing the issue with him now. If you are on the MODX Slack team, you can follow the conversation on the Extras channel.
                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
              • The issue should be resolved with version 2.3.3 of pdoTools. migxMultiLang, and any other extras that want to use custom classes from pdoTools, can set their custom class name and path in the System Settings.

                  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
                  • 2475
                  • 3 Posts
                  Is this working with Pdotools-2.4.0 on Modx 2.5.0-pl?

                  Changing pdoFetch.class to pdotools.mmlfetch appears to break pdoMenu snippet? I stop at this point as it does not seem logical that following the migxMultiLang tutorial should break pdoTools snippets.

                  I found this: https://github.com/Bruno17/migxmultilang/issues/10

                  and so I've applied this: "Confirmed, on modx 2.5.0 and pdoTools 2.4.0 one should set system setting
                  pdofetch_class_path = {core_path}model/modx/
                  so the system could find mmlfetch class.

                  by default pdofetch_class_path equals {core_path}components/pdotools/model/"

                  which leads pdoMenu to send this error:

                  "Fatal error: Call to a member function addTime() on null in C:\xampp\htdocs\testsite\core\cache\includes\elements\modsnippet\8.include.cache.php on line 137"

                  Has anyone else run into this or can offer a suggestion? Cheers.
                    • 2475
                    • 3 Posts
                    I found my issue-
                    pdofetch_class_path = {core_path}model/modx

                    is missing the trailing slash... Once added, the pdoMenu is working again. Now on to the actual task at at hand.

                    Thanks again- Cheers