We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I'm trying to make a simple TV with three fields, one text, one url, one textarea. To begin with, I'm just working with a very basic default configuration of three text fields.

    My forms tab:
    [
    {"caption":"Events","fields": [
    {"field":"title",
    "caption":"Title"
    },{
    "field":"url",
    "caption":"URL"
    },{
    "field":"description",
    "caption":"Description"
    }
    ]
    }]
    


    My grid columns:
    [
    {"header": "Title", "width": "60", "sortable": "false", "dataIndex": "title"},
    {"header": "URL", "width": "50", "sortable": "false", "dataIndex": "url"},
    {"header": "Description", "width": "50", "sortable": "false", "dataIndex": "description"}
    ]


    1. When setting up the migx component, at the top of the page I get these notices:
    Notice: Undefined variable: gridbuttons in /paas/c0120/www/core/components/migx/model/migx/migx.class.php on line 619
    
    Notice: Undefined variable: gridbuttons in /paas/c0120/www/core/components/migx/model/migx/migx.class.php on line 619
    
    Notice: Undefined variable: gridbuttons in /paas/c0120/www/core/components/migx/model/migx/migx.class.php on line 619



    2. I get these notices at the top of the resource editing page:
    Notice: Undefined variable: gridbuttons in /paas/c0120/www/core/components/migx/model/migx/migx.class.php on line 619
    
    Notice: Undefined variable: item in /paas/c0120/www/core/components/migx/elements/tv/input/migx.class.php on line 102


    3. The TV input is working, although the input fields are very short, cutting off the top and bottom of the text being entered. This may be because I have my browser set to a larger than normal font. Where will I find the .css for adjusting the height of the input fields? Probably I will want to set them to use ems instead of pixel sizes. The red corners on the new items don't disappear on save; they are gone if the resource is reloaded though.

    The output is as expected, using the supplied getImageList snippet.

    Very nice (I would say indispensable) package!

      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
    • Hi Susan, I'm also seeing this same error; did you figure out a solution?
        MODX Ambassador for Thailand. Managing Director at Monogon, a web design and development studio based in Bangkok, Thailand. - Follow me on Twitter.
        • 4172
        • 5,888 Posts
        I need to check this e-Notice - errors. In the meantime try setting the system-setting 'debug' to 0
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!