We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44870
    • 35 Posts
    For some reason MIGX file upload doesn't work for me in Modx 2.3 so I want to use
    MODX 2.3 modern file upload with MIGX resource speecific media source(not migx "upload file" button). The problem is that folder with specific ID is not created as it was when using "upload file" button. Can anybody tell me how can it be managed?
    • Using the MIGx snippet for your Media Source path and URL should work. Make sure to include the &createFolder=`1` property to the snippet. It's working fine for me, even with some extensive modifications to use a directory structure based on different criteria, like the user's username.

      As far as using the MODX File Manager for uploading files, it can't work because there is no specific resource being edited, so it can't create the folders. It can only work with TVs when editing a resource.
        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
        • 44870
        • 35 Posts
        I forgot about &createFolder=`1`
        Thanks a lot!