We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    what do you mean with 'breaks the translater' ?
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 50429
      • 14 Posts
      Quote from: Bruno17 at Sep 30, 2015, 03:01 PM
      what do you mean with 'breaks the translater' ?

      If you were to add a chunk [[$something]] to one of the input fields like "mml_content" for example, when the page renders it no longer uses the translated field it defaults back to the default content field.
        • 4172
        • 5,888 Posts
        allways call everything, what has translated stuff, with uncached tags

        [[!$something]]


        this will get cached for each language, then.
        if you need real uncached stuff, you have to call it like:

        [![!getPage? &properties.....]]


        [![!Formit? &properties.....]]


          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 50429
          • 14 Posts
          Quote from: Bruno17 at Oct 01, 2015, 02:47 PM
          allways call everything, what has translated stuff, with uncached tags

          [[!$something]]


          this will get cached for each language, then.
          if you need real uncached stuff, you have to call it like:

          [![!getPage? &properties.....]]


          [![!Formit? &properties.....]]



          Thanks for the fast reply, but when I do use chunks, even with "!", other fields on that page don't get translated either; longtitle, pagetitle and the content.
            • 50429
            • 14 Posts
            If I have a TV that is already created and I want to translate it, would I just add it to the migxmultilang table?

            Thank you in advance!
              • 50429
              • 14 Posts
              Quote from: wintertribe at Mar 04, 2015, 09:07 AM
              Chunk inside mml_content works both ways cached or uncached.

              mml_content content
              [[$test]] //works
              [[!$test]] //works


              But if that particular Chunk has chunk call in it - even uncached, it won't work > displays default lang.

              "test" Chunks content
              <p>Lorem Ipsum</p> //Works


              <p>Lorem Ipsum</p>
              [[!$YesImAProblem]] //Not working


              Hey, did you ever find a solution to this issue?

              Thanks in advance!
                • 51431
                • 1 Posts
                Hello dear MODx-pros,

                is there a possibility to add new TVs to the migxmultilang translation? Now I only have mml_content, and so on. Can I add TVs to this?
                  • 4172
                  • 5,888 Posts
                  you create another configuration for that template and add a field for each TV
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 30912
                    • 463 Posts
                    Testing this as a potential solution to our new website, however when running 2.5.0, everything in the manager works fine apart from the bug listed:

                    https://github.com/Bruno17/migxmultilang/issues/9

                    EDIT: Following the commit here: https://github.com/Bruno17/migxmultilang/commit/56cc149dfcab046700bad243db9913d163543a76 this issue is no longer an issue - not sure why its not in the installed package

                    However the front end doesnt work, i followed Susans example to the letter at:

                    https://rtfm.modx.com/revolution/2.x/case-studies-and-tutorials/create-a-multilingual-website-with-migxmultilang

                    But in the error log i get:

                    [2016-04-27 09:47:34] (ERROR @ /snip/public_html/core/cache/includes/elements/modplugin/11.include.cache.php : 161) PHP warning: array_intersect_key(): Argument #1 is not an array
                    [2016-04-27 09:47:34] (ERROR @ /snip/public_html/core/cache/includes/elements/modplugin/11.include.cache.php : 161) PHP warning: array_flip() expects parameter 1 to be array, null given

                    Edit: I've just seen the same issue opened on github >.<

                    Edit 2: Further Error messages in the log:

                    [2016-04-27 10:02:21] (ERROR @ /snip/public_html/core/xpdo/xpdo.class.php : 643) Could not load class: mmlFormtabsTemplate from mysql.mmlformtabstemplate.
                    [2016-04-27 10:02:21] (ERROR @ /snip/public_html/core/xpdo/xpdo.class.php : 761) mmlFormtabsTemplate::load() is not a valid static method.
                    [2016-04-27 10:02:21] (ERROR @ /snip/public_html/core/xpdo/xpdo.class.php : 643) Could not load class: mmlFormtabs from mysql.mmlformtabs.
                    [2016-04-27 10:02:21] (ERROR @ /snip/public_html/core/xpdo/xpdo.class.php : 761) mmlFormtabs::load() is not a valid static method.

                    Any ideas? [ed. note: Tyreal2012 last edited this post 8 years ago.]
                      • 30912
                      • 463 Posts
                      So, I've installed a fresh version of Modx (2.3.1.pl) and done a fresh install of the MML and PDO etc and still no luck, so it looks like its not MODx version specific, looking at the error log i now get the following

                      [2016-04-28 09:33:49] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:33:49] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlFormtabsTemplate from mysql.mmlformtabstemplate.
                      [2016-04-28 09:33:49] (ERROR @ /assets/components/migx/connector.php) mmlFormtabsTemplate::load() is not a valid static method.
                      [2016-04-28 09:33:49] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlFormtabs from mysql.mmlformtabs.
                      [2016-04-28 09:33:49] (ERROR @ /assets/components/migx/connector.php) mmlFormtabs::load() is not a valid static method.
                      [2016-04-28 09:34:13] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:13] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:13] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:14] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:15] (ERROR @ /connectors/index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:16] (ERROR @ /connectors/index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:17] (ERROR @ /connectors/index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:17] (ERROR @ /index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:17] (ERROR @ /index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:18] (ERROR @ /index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:18] (ERROR @ /index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:19] (ERROR @ /index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:24] (ERROR @ /connectors/index.php) Could not load class: mmlfetch from pdotools.mmlfetch.
                      [2016-04-28 09:34:25] (ERROR @ /manager/index.php) Could not load class: mmlfetch from pdotools.mmlfetch.

                      Either im doing something wrong or there is an issue somewhere i dont know *shrug*

                      Edit: Doh thought i was editing the previous post