We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21838
    • 284 Posts
    Quote from: Bruno17 at Dec 15, 2010, 04:44 PM

    try this in multiitemsgrid.tpl, l. 117:
    	this.setWidth('95%');//add this line

    works but there are more display „errors“: 2nd line with grey background seems to have a border and has now more width (2px) than first line in multiple-object-list. And, of course, the width of the whole container should be at least 772px to fit to the default width of the other items like resource title, etc.

    EDIT: commited an update via GitHub.

    2nd thing: seems that for the first row a css class is missing: x-grid3-row-alt which defines a 1px border and is set in 2nd row.
      MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
      • 4172
      • 5,888 Posts
      the fix width didn’t work for me.
      The Best what I could find for me was
      this.setWidth('110%');
      tongue
      commited.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 21838
        • 284 Posts
        Quote from: Bruno17 at Dec 16, 2010, 02:10 AM

        the fix width didn’t work for me.
        The Best what I could find for me was
        this.setWidth('110%');
        tongue
        commited.
        works for me, too. But isn’t that well you think of. Try to resize your browser window to a lower resolution and you’ll see what I mean.
        Think there must be another option to get the right width.

        Best for now seems to set width to ’100%’ which is default 799px value as for other resource-form-elements.


        Another thing: How can I solve this:
        I need multiple multi-tv-elements in my backend. That’s because I want to have one multi-tv for page1 and another with other properties in page2.
        When I create a 2nd multiitemsGrid TV I get some serious errors in handling both of the TVs and form customization of the whole resource fails totally.
          MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
          • 33976 ☆ A M B ☆
          • 571 Posts
          After some more testing, it seems difficult to use multi items grid with french GUI (the grid just doesn’t appear, while in the same setup with "en" GUI, everything works smoothly).
          I guess it’s TinyMCE related, gonna try to find what’s wrong smiley
            • 21838
            • 284 Posts
            Quote from: Romain at Dec 16, 2010, 02:25 AM

            After some more testing, it seems difficult to use multi items grid with french GUI (the grid just doesn’t appear, while in the same setup with "en" GUI, everything works smoothly).
            I guess it’s TinyMCE related, gonna try to find what’s wrong smiley
            can you please provide a screenshot or screenrecording with both (en and fr) view?
              MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
              • 4172
              • 5,888 Posts
              Quote from: smooth-graphics at Dec 16, 2010, 02:20 AM

              Quote from: Bruno17 at Dec 16, 2010, 02:10 AM

              the fix width didn’t work for me.
              The Best what I could find for me was
              this.setWidth('110%');
              tongue
              commited.
              works for me, too. But isn’t that well you think of. Try to resize your browser window to a lower resolution and you’ll see what I mean.
              Think there must be another option to get the right width.

              Best for now seems to set width to ’100%’ which is default 799px value as for other resource-form-elements.


              Another thing: How can I solve this:
              I need multiple multi-tv-elements in my backend. That’s because I want to have one multi-tv for page1 and another with other properties in page2.
              When I create a 2nd multiitemsGrid TV I get some serious errors in handling both of the TVs and form customization of the whole resource fails totally.


              when I remove this.setWidth(’110%’); here, it works , but grid is to small again.

              						grid.collectItems();
              
               
                                      // ************************************
                                    }
                                 }) 
              		
              		//this.setWidth('110%');
              		//this.syncSize();


              Shaun!! Help!!!

              ??? tongue rolleyes

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

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 21838
                • 284 Posts
                Quote from: Bruno17 at Dec 16, 2010, 03:19 AM

                when I remove this.setWidth(’110%’); here, it works , but grid is to small again.
                It doesn’t behave like the normal fields in width while resize your browser window. Even not when removing this line of code.
                Isn’t there a policy for those elements to their width/resize behaviour in extJS? Or, I’m just to dumb... tongue

                Any thoughts ’bout my other issue (multi-instances)?
                  MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
                  • 33976 ☆ A M B ☆
                  • 571 Posts
                  @smooth-graphics in fact i found out why, it’s not multi items grid related, that’s a TinyMCE problem. If i change the mangaer_language to fr, tiny doesnt load up (neither for editing my [[*content]] nor in multi items) If i change manager_language to "en", everything’s fine.
                  Gonna check if i’ve got the same behavior in other languages smiley
                  (& no more reports here, since it’s not related)
                    • 17422
                    • 225 Posts
                    i have make a sreencast for see my problem.

                    i can see the popup for modify the row just once time.

                    i must clear cache for work again.

                    Bizarre !! smiley

                    with modx 2.0.5
                    http://vimeo.com/17879019
                      • 21838
                      • 284 Posts
                      Quote from: lolotlm at Dec 16, 2010, 05:19 AM

                      i must clear cache for work again.
                      Do you tried this with browser-cache off? Do it (for example with web-dev-toolbar) and say if it’s the same.
                      Does it happen only in Firefox or in other browsers, too?
                      Do you have caching system active on your server?
                      Did you already flushed permissions once?
                        MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)