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
    There isn’t much doku yet.
    I would create a rtfm-page, but still haven’t write-access to it.
    Perhaps my mail to the modx-team landed at the wrong adress.
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 5154
      • 15 Posts
      Quote from: 7U at Dec 14, 2010, 10:36 AM

      Nope it doesn’t work either..

      I think it has something to do with my TemplateVars ’image’ and ’richtext’

      Although i named and configured these like you said in the wiki.
      I didn’t put them in a category either.

      I have had exactly the same issue as you (?), a javascript error, blank MIGX and tinyMCE not working.

      I tracked this to a syntax error in the property value (a stray comma), is now working fine.
        • 5154
        • 15 Posts
        Quote from: Bruno17 at May 02, 2011, 09:49 AM

        There isn’t much doku yet.
        I would create a rtfm-page, but still haven’t write-access to it.
        Perhaps my mail to the modx-team landed at the wrong adress.

        OK.

        So one thing, how to I render the output in the template? I got the edit side working, now my webpage displays its knickers;

        [{"title":"Ludoteca","description":"

        working with Pisco Sin Fronteras
        \n Pisco, Peru

        ","image":"assets/images/ludoteca/ludoteca7.jpg"},{"title":"Khuphuka","description":"

        Our work in KwaZulu Natal
        ","image":"assets/images/khuphuka/khuphuka-thumb.jpg"}] [{"title":"Ludoteca","description":"

        Pisco san Fronteras, Peru
        ","link":"ludoteca.html"}]


        PS it is a very useful bit of code, thank you.
          • 4172
          • 5,888 Posts
          Quote from: Bruno17 at Apr 22, 2011, 04:43 PM

          use the included snippet ’getImageList’ for example like this:

          <ul>[[!getImageList? &tvname=`multiItemsGrid`&tpl=`@CODE:<li><img src="[[+image]]"/></li>`]]</ul>


          you can also create a chunk and use
          &tpl=`yourChunk`


          in your chunk you can use placeholders for all your fields
          [[+title]] [[+link]] [[+image]]
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 29597 ☆ A M B ☆
            • 350 Posts
            Quote from: Bruno17 at Apr 26, 2011, 03:36 AM

            Quote from: lucas at Apr 21, 2011, 06:42 AM

            Bruno - is there any version available for download that is working for 2.08 or below? I’m happy to wait to try this for future projects (2.1+), but just wondering smiley

            the latest on github should work also on 2.0.8 with properties for columns and form-tabs

            Could you explain a bit more on how to get it to work in 2.08pl?

            How do I add the properties?
            This code?
            [{"name":"formtabs","desc":"","xtype":"textarea","options":[],"value":"[{\"caption\":\"Info\", \"fields\": [{\"field\":\"title\",\"caption\":\"Title\"}, {\"field\":\"description\",\"caption\":\"Description\",\"inputTV\":\"richtext\"}]  }, {\"caption\":\"Image\", \"fields\": [{\"field\":\"image\",\"caption\":\"Image\",\"inputTV\":\"image\"}] }]","lexicon":null,"overridden":false,"desc_trans":"","menu":null},{"name":"columns","desc":"","xtype":"textarea","options":[],"value":"[{\"header\": \"Title\", \"width\": \"160\", \"sortable\": \"true\", \"dataIndex\": \"title\"}, {\"header\": \"Image\", \"width\": \"50\", \"sortable\": \"false\", \"dataIndex\": \"image\",\"renderer\": \"this.renderImage\"}]","lexicon":null,"overridden":false,"desc_trans":"","menu":null}]
              MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
              DESIGNfromWITHIN, MPThemes and Any Screen Size
              Follow me on Twitter | Read my blog | My code on GitHub
              • 4172
              • 5,888 Posts
              there is a .js file in examples-folder.

              Go to properties-tab of your TV and click ’import properties’ to import this file from your local machine
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 29597 ☆ A M B ☆
                • 350 Posts
                Thx, I added it, but all I see in my TV is:

                TV

                (a tab with) Default

                Title



                No other options....

                My TV name is:
                multiItemsGrid
                input type is
                MIGX
                  MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
                  DESIGNfromWITHIN, MPThemes and Any Screen Size
                  Follow me on Twitter | Read my blog | My code on GitHub
                  • 4172
                  • 5,888 Posts
                  after importing the properties you should have two new properties in the default-property-set of your TV: formtabs and columns. Have you?
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 29597 ☆ A M B ☆
                    • 350 Posts
                    Yes I do, But I don’t see them when I edit a resource and change the TV.

                    The basic name seems to work fine, it simply does not get the extra fields....
                      MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
                      DESIGNfromWITHIN, MPThemes and Any Screen Size
                      Follow me on Twitter | Read my blog | My code on GitHub
                      • 4172
                      • 5,888 Posts
                      did you download the package by package-management or did you use the package from github
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!