We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17422
    • 225 Posts
    Hi Bruno,

    i have test with :

    [{"caption":"Info","fields":[{"field":"title","caption":"Title"},{"field":"image","caption":"Image","inputTV":"image"}]}]


    and i have this :

    see attachments file
      • 168
      • 15 Posts
      I’ll test it at home with a fresh install..

      Anyway.. i did not assign them to any template at all
        • 4172
        • 5,888 Posts
        @ lolotlm:

        import the example-property set.

        then you have two properties: formtabs and columns.
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 17422
          • 225 Posts
          ok I done this,

          when i want edit the row i have a javascript error :

          Erreur : missing ; before statement
          Fichier Source : http://localhost/manager/assets/ext3/ext-all.js
          Ligne : 10, Colonne : 4
          Code Source :
          var fld-1 = MODx.load({  
            • 33976 ☆ A M B ☆
            • 571 Posts
            So far, all the JS work seems to work, besides some visual glitches.The "popup" shows up and i can add stuff. The problem i’m facing : data aren’t saved.
            So from your example, no matter how many items i add, i can edit them, but title, description & image datas aren’t saved (tests done with Google Chrome dev build + Fx 3.6.13 on win7)

            Anyway, thanks for the awesome work Bruno smiley
              • 4172
              • 5,888 Posts
              search for this field in firebug:
              <input type="hidden" tvtype="multiitemsgrid" value="............... " class="textfield" name="tv18" id="tv18">


              this should change after clicking ’done’ at popup-window or when you resort records.
              does It?
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 33976 ☆ A M B ☆
                • 571 Posts
                I found it (value seems to be some ExtJs stuff [{fieldname}]), but nothing changed after submit. But i probably have done things the wrong way with Firebug…

                Edit : seems i’ve done things properly, while i add an item, i see some more values in the input, but they all are empty
                Ex. for 3 items, input value =
                [{"title":"","description":"","image":""},{"title":"","description":"","image":""},{"title":"","description":"","image":""}]
                
                  • 4172
                  • 5,888 Posts
                  and now when you edit the Title-field in the editor-window and save it with ’done’ nothing changes?
                  Also not in your grid-column under Title?
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 33976 ☆ A M B ☆
                    • 571 Posts
                    Nothing change either. The only way i succeded is by adding value in Firebug & save the resource.
                    If it helps you, i can give you access over the installation. Just let me know.
                      • 17883
                      • 1,039 Posts
                      Hey Bruno, it works for me. Somehow ;-)

                      Went through the tutorial, followed exactly the instructions. Using Chrome 8 on a local Mamp (Mac).

                      Beside some visual problems (see screenshots) something weird occured. After adding two rows - which worked fine beside the visual problems - I also get an empty popup in Chrome. In FF the popup is filled and works. In Chrome I could get the content back by logging out and emtpying the cache. Popup size after that was another than before, but also not usable tongue

                      Looking forward to a snippet which can display the stored data smiley

                      One more thing: Do you know if it is possible to set an autoheight for the grid? The scrollbar is annoying.

                      Go on, awesome work!