We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28000 ☆ A M B ☆
    • 397 Posts
    Hey, that was it!!!! Thanks a ton!
      Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
      • 23018
      • 353 Posts
      mGTV is a great enhancement to the MODx backend.

      Baisic things work for me (textfields and images), but I still have to figure out how to get a Richtext field as well as radio buttons.

      [
      	{"caption":"Infotext", "fields":
      		[		
      			{"field":"infotext","caption":"Infotext","inputTV":"richtext"}
      		]
      	},
      	{"caption":"Bild/Grafik", "fields":
      		[
      			{"field":"imageformat_details","caption":"Format","inputTV":"option"},
      			{"field":"image","caption":"Abbildung","inputTV":"image"}
      		]
      	}
      ]
      


      I can’t get richtext fields or radio buttons. What is it that I’m missing here?

      I have prepared TVs for infotext as well as imageformat_details. I don’t have to stick them to the page template thats using the MGridTV, right?

      As far as I know, the TV type of "radio options" is "options", or is it "radio" / "Radio options"?

      Regards,

      pepebe
        Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
        • 17883
        • 1,039 Posts
        I have prepared TVs for infotext as well as imageformat_details. I don’t have to stick them to the page template thats using the MGridTV, right?

        As far as I know, the TV type of "radio options" is "options", or is it "radio" / "Radio options"?

        No, you misunderstood the concept.

        You only need one TV of any kind you want to use (like the in the docs mentioned "image" and "richtext" for images and Richtext textareas. So you will need another one "option" with input filter "options". Your config should then look like this:

        [
        	{"caption":"Infotext", "fields":
        		[		
        			{"field":"infotext","caption":"Infotext","inputTV":"richtext"}
        		]
        	},
        	{"caption":"Bild/Grafik", "fields":
        		[
        			{"field":"imageformat_details","caption":"Format","inputTV":"option"},
        			{"field":"image","caption":"Abbildung","inputTV":"image"}
        		]
        	}
        ]


        So the value after "inputTV" refers to your TV for that type of TV. No need to create several TVs for any field of the grid.
          • 23018
          • 353 Posts
          @Marc:

          ... huh !!!. Now it works. Thanks.

          @All:

          Another Question: How can I add an incremental value to my ouput tpl (First item is number 1, the next one number 2, etc).
            Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
            • 17883
            • 1,039 Posts
            Another Question: How can I add an incremental value to my ouput tpl (First item is number 1, the next one number 2, etc).

            Already built in:
            [[+idx]]
              • 36493
              • 64 Posts
              ok I have to be missing something obvious but the multiItemsGrid input type is not turning up for me.
              embarrassed

              I’ve followed the installations instructions "copy all files to your server".

              but no extra input type

              (cache cleared etc.)


              Many Thanks,
                |
                • 26225
                • 14 Posts
                There was an error when edding or editing the images list in tv-field. The button on the save panel is unavaliable. It’s avaliable onli when you fill some content. How can I fix the problem?l
                  • 16845
                  • 26 Posts
                  Matrix by Pixel & Tonic for ExpressionEngine.
                  This is how it’s done properly. It’s slick, it’s easy and it’s solid.
                  In some ways MODx is a dream. In others, it’s so far behind.

                  http://pixelandtonic.com/matrix
                    • 4172
                    • 5,888 Posts
                    what exactly do you think, can matrix do, what mutliItemsgridTv (still a work in progress) can’t ?
                      -------------------------------

                      you can buy me a beer, if you like MIGX

                      http://webcmsolutions.de/migx.html

                      Thanks!
                      • 33968
                      • 863 Posts
                      Hi Bruno - never mind that last comment. This the ’In Development’ forum after all rolleyes

                      I’ve just downloaded this plugin from your gitHub, but am stumped at step 2 of installation.
                      Import properties to multiItemsGrid-TV’s default-properties from corecomponentsmultiitemsTVpropertysetsexample.properties.js

                      I’ve searched every folder and cannot find that .js file. Am I just confused or is the file missing?