We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44870
    • 35 Posts
    After upgrading from beta version to 1.0.0-rc3 I try to use TV-placeholders for resourcefields like [[+pagetitle]] to use default resource-fields. I followed tutorial from https://github.com/Bruno17/migxmultilang. Migxmultilang fields in default language are empty but there is no result on frontend. Standard method (usinng mml_content) works fine.
    My error log:
    [2014-02-13 09:37:59] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlFormtabsTemplate from mysql.mmlformtabstemplate.
    [2014-02-13 09:37:59] (ERROR @ /assets/components/migx/connector.php) mmlFormtabsTemplate::load() is not a valid static method.
    [2014-02-13 09:37:59] (ERROR @ /assets/components/migx/connector.php) Could not load class: mmlFormtabs from mysql.mmlformtabs.
    [2014-02-13 09:37:59] (ERROR @ /assets/components/migx/connector.php) mmlFormtabs::load() is not a valid static method.
      • 44870
      • 35 Posts
      There is a problem with searching migx or migxmultilang TVs (simplesearch or advsearch).
      Phrases with language-specific signs are not found, eg. polish ąęńłżź or russian alphabet.
      My database encoding is UTF8, collation: utf8_general_ci.
      P.S. When searching standard content or TVs everything is ok.



      • Search in custom packages
        By using "joined" query hook declaration you can add joined resources to the default modResource
        The "main" declaration allow to replace modResource by an another main resource.
        http://www.revo.wangba.fr/join-custom-packages/
          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
          • 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
            • 4172
            • 5,888 Posts
            I will create a custom - searchdriver for simplesearch, as soon as I have a bit more time or as soon as a customer will need this.
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 44870
              • 35 Posts
              Thanks.
              I observed also problem when searching in standard migx TV (db table site_tmplvar_contentvalues)
              Words with language-specific characters are not found.

              - I'm sorry that I write about MIGX in this thread.
                • 4172
                • 5,888 Posts
                I think, this is because they are stored as json and some characters may be escaped.
                Its possible to store the content of MIGX-items with a plugin, which runs on the event OnDocFormSave into another searchable TV
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                  • 41121
                  • 27 Posts
                  Quote from: sottwell at Feb 13, 2014, 11:07 AM
                  SimpleSearch also has "custom packages" so you can search custom tables.
                  http://rtfm.modx.com/extras/revo/simplesearch/simplesearch.simplesearch#SimpleSearch.SimpleSearch-SearchingCustomTables

                  Hi Susan,

                  i have little to none experience in coding with xpdo.
                  Is there a ready to use package included in migxMultiLang, i can refer to for:
                  &customPackages=`className:fieldName(s):packageName:packagePath:joinCriteria||class2Name:fieldName(s):package2Name:package2Path:join2Criteria`

                  Can you please elaborate on this matter?
                    • 44870
                    • 35 Posts
                    I tried to use default languge values for fields like [[*content]] with no success.
                    I checked option "Hide default language from Translations - grid" (defaul language fields left blank ), I used [[+content]] in my template and I have no output in default language.
                    It only works with migxmultilang fields of default language filled.
                    I followed tutorial: https://github.com/Bruno17/migxmultilang
                    My configuration: Modx 2.2.12, MigxMultilang 1.0.0rc3, Migx 2.6.7 pdotools 1.9.0 pl2


                    How can I find what's wrong?
                      • 44870
                      • 35 Posts
                      Quote from: pawelmil at Feb 28, 2014, 04:34 PM

                      I checked option "Hide default language from Translations - grid" (defaul language fields left blank ), I used [[+content]] in my template and I have no output in default language.
                      P.S I noticed that field [[+pagetitle]] is working correctly! So problem may be only with [[+content]]