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

    Quick question - is there a way to add a "remove all items" button, perhaps next to "load previous uploads"? I'm envisioning this would delete all of the MIGX items below.

    Let me know!
      Nick Hoag
      Creative Partner
      The FutureForward

      http://thefutureforward.com
    • Quote from: presson83 at Nov 27, 2012, 01:33 PM
      Hi Bruno,

      Quick question - is there a way to add a "remove all items" button, perhaps next to "load previous uploads"? I'm envisioning this would delete all of the MIGX items below.

      Let me know!

      This would be a great feature to add to the multi uploader. Any update?

      Thanks
        Helen Warner
        Number one pixel!
        Proud to be linked with MODX at Crimson Pixel
        • 35103
        • 54 Posts
        Great work Bruno,

        I've had no problem with normal migx working but I can't get the multiupload functionality to work. I've followed the tutorial three times including uninstalling and reinstalling migx but when I try to upload images (using the 'Upload Files' button in the resource I have assigned my TV to) I get a browser alert window saying the upload directory isn't writeable! I have triple-checked and the permissions are set to 755. I've even set the path for ResourceMediaPath to be a different folder which has accepted images uploaded to it via the Gallery plugin. I've also tried giving it an absolute URL rather than relative one too. None of it has helped though.

        As I said I have followed the tutorial three times so I'm not sure what I'm doing wrong! Any advice???

        Thanks
          • 35103
          • 54 Posts
          OK I had my hosting company modify the mod_security php file in case that was causing problems but altering this has made no difference.

          Has anyone else had the same problem with images not being allowed to upload?

          Thanks
            • 35103
            • 54 Posts
            So I did a fresh install of modx and migx on my own server and got similar problems. Can someone tell me what permissions I need to set any folders to please? At the moment they are 755, is that correct?

            Cheers
              • 42876
              • 1 Posts
              Beschlossen, so hat die neue directory "img"
              [[migxResourceMediaPath? &pathTpl=`img/{id}/`]]
              • For some reason the config import won't save. I followed the RTFM steps exactly.

                Both on 2.2.8 and 2.2.9, with MIGx 2.5.6
                  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
                  • 4172
                  • 5,888 Posts
                  does it work with this one?

                  Can not longer edit on rtfm.
                  Did allready send two mails to [email protected] with no response.

                  would you change this on rtfm for me, if this is working, Susan?


                  {
                    "formtabs":[
                      {
                        "MIGX_id":1,
                        "caption":"Image",
                        "print_before_tabs":"0",
                        "fields":[
                          {
                            "MIGX_id":1,
                            "field":"title",
                            "caption":"Title",
                            "description":"",
                            "description_is_code":"0",
                            "inputTV":"",
                            "inputTVtype":"",
                            "configs":"",
                            "sourceFrom":"config",
                            "sources":"[]",
                            "inputOptionValues":"",
                            "default":""
                          },
                          {
                            "MIGX_id":2,
                            "field":"image",
                            "caption":"Image",
                            "description":"",
                            "description_is_code":"0",
                            "inputTV":"",
                            "inputTVtype":"image",
                            "configs":"",
                            "sourceFrom":"migx",
                            "sources":"[]",
                            "inputOptionValues":"",
                            "default":""
                          },
                          {
                            "MIGX_id":3,
                            "field":"description",
                            "caption":"Description",
                            "description":"",
                            "description_is_code":"0",
                            "inputTV":"",
                            "inputTVtype":"textarea",
                            "configs":"",
                            "sourceFrom":"config",
                            "sources":"[]",
                            "inputOptionValues":"",
                            "default":""
                          }
                        ]
                      }
                    ],
                    "contextmenus":"",
                    "actionbuttons":"upload||loadfromsource",
                    "columnbuttons":"",
                    "filters":"[]",
                    "extended":{
                      "migx_add":"Add Image",
                      "formcaption":"",
                      "update_win_title":"",
                      "win_id":"resourcegallery",
                      "maxRecords":"",
                      "multiple_formtabs":"",
                      "extrahandlers":"",
                      "packageName":"",
                      "classname":"",
                      "task":"",
                      "getlistsort":"",
                      "getlistsortdir":"",
                      "use_custom_prefix":"0",
                      "prefix":"",
                      "grid":"",
                      "gridload_mode":1,
                      "check_resid":1,
                      "check_resid_TV":"",
                      "join_alias":"",
                      "has_jointable":"yes",
                      "getlistwhere":"",
                      "joins":"",
                      "cmpmaincaption":"",
                      "cmptabcaption":"",
                      "cmptabdescription":"",
                      "cmptabcontroller":"",
                      "winbuttons":"",
                      "onsubmitsuccess":"",
                      "submitparams":""
                    },
                    "columns":[
                      {
                        "MIGX_id":1,
                        "header":"ID",
                        "dataIndex":"MIGX_id",
                        "width":20,
                        "sortable":"false",
                        "show_in_grid":1,
                        "renderer":"",
                        "clickaction":"",
                        "selectorconfig":"",
                        "renderoptions":"[]"
                      },
                      {
                        "MIGX_id":2,
                        "header":"Title",
                        "dataIndex":"title",
                        "width":20,
                        "sortable":"false",
                        "show_in_grid":1,
                        "renderer":"",
                        "clickaction":"",
                        "selectorconfig":"",
                        "renderoptions":"[]"
                      },
                      {
                        "MIGX_id":3,
                        "header":"Image",
                        "dataIndex":"image",
                        "width":20,
                        "sortable":"false",
                        "show_in_grid":1,
                        "renderer":"this.renderImage",
                        "clickaction":"",
                        "selectorconfig":"",
                        "renderoptions":"[]"
                      },
                      {
                        "MIGX_id":4,
                        "header":"Deleted",
                        "dataIndex":"deleted",
                        "width":10,
                        "sortable":"false",
                        "show_in_grid":1,
                        "renderer":"this.renderCrossTick",
                        "clickaction":"",
                        "selectorconfig":"",
                        "renderoptions":"[]"
                      }
                    ]
                  }
                  
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                  • Oh my! Works beautifully. Most impressive.

                    Can you say why the one in the RTFM doesn't work, and this one does?

                    RTFM page updated.
                      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
                      • 4172
                      • 5,888 Posts
                      Quote from: sottwell at Sep 01, 2013, 11:22 AM
                      Oh my! Works beautifully. Most impressive.

                      Can you say why the one in the RTFM doesn't work, and this one does?


                      I think, the issue was the surrounding double-quotes on the arrays in that json-string.
                      Don't know where they were coming from.

                      RTFM page updated.

                      Thanks!

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

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!