We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46950
    • 86 Posts
    I contunue exploring MODx and according to a lesson (sorry, it's in Russian) I created a new TV with the name ws.images, Input Type migx, Form Tab:
    [{"caption":"Image", "fields": [
    {"field":"set","caption":"Set"},
    {"field":"description","caption":"Description"},
    {"field":"image","caption":"Image","inputTVtype":"image"}
    ]
    }]

    and Grid Columns:
    [{
    "header": "Set", "sortable": "true", "dataIndex": "set"
    },{
    "header": "Description", "sortable": "true", "dataIndex": "description"
    },{
    "header": "Image", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"
    }]

    Then, according to that lesson, I tyope in this TV in one of my templates. Now, according to that lesson, I must be able to add pictures and text words to this TV if I choose Resources and the same template. But I don't see there any table! What did I wrong?

    This question has been answered by sottwell. See the first response.

      • 8274 ☆ A M B ☆
      • 222 Posts
      Did you add the TV to the Template so that it is available for the resource? Is there a caption for the grid on the resource, and just no grid, or is the TV completely missing from the Template Variables tab?
        • 46950
        • 86 Posts
        Quote from: dvstudiosinc at Aug 21, 2014, 10:26 AM
        Did you add the TV to the Template so that it is available for the resource? Is there a caption for the grid on the resource, and just no grid, or is the TV completely missing from the Template Variables tab?
        Yes, it is available for the resourrse because the template I added it to is simple a page of my training website. No, there are no caption and no grid sad
          • 4172
          • 5,888 Posts
          I think you didn't add this TV to your template.

          See the tab 'Template Access' where you've created this TV
          or the tab 'Template Variables' when you edit your template.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 46950
            • 86 Posts
            Quote from: Bruno17 at Aug 22, 2014, 07:34 AM
            I think you didn't add this TV to your template.

            See the tab 'Template Access' where you've created this TV
            or the tab 'Template Variables' when you edit your template.
            Hmmm... it seems to me that what you can see on the picture atteched to me previous msg shows that I created it properly. If not, tell me pls what can be wrong.
            • discuss.answer
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              When you first create a TV, you have to assign it to the templates used by the resources that will be using the TV.
                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
                • 46950
                • 86 Posts
                Quote from: sottwell at Aug 22, 2014, 11:24 PM
                When you first create a TV, you have to assign it to the templates used by the resources that will be using the TV.

                Believe me or not, but you were completely right! smiley