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

    I am stumped and was wondering if anyone had an answer for this, I am trying to get multiupload to work with MIGXDB.

    I am able to get multiupload to work perfectly when using the standard MIGX (non db) by following this tutorial:

    http://rtfm.modx.com/display/ADDON/MIGX.Use+resource-specific+mediasource+and+multifile-uploader

    But I can't seem to get it to work with my MIGXDB setup which works fine normally, which I set up with this tutorial:

    http://rtfm.modx.com/display/ADDON/MIGXdb.Create+a+basic+gallery-management+from+scratch+with+MIGXdb

    I follow the same steps as outlined in the tutorial, and only deviate to hook it up to the migxdb instead of migx.

    I am able to get all the right fields and options in the Resource Template Variables tab, and I am able to "upload files" into the container, but I am not able to complete the process by loading them using the "Load from Media Source" button. When the button is selected nothing happens.

    I have gone through the multiupload pinned thread and searched through google but there is no specific answer on whether this is possible or not.

    Does anyone have an answer for this.

    Thanks.
      • 17249 ☆ A M B ☆
      • 165 Posts
      Bruno has made recently some modifications to make this possible.

      Make sure you are using
      [[migxObjectMediaPath? &pathTpl=`assets/res/{id}/`]]

      in your Media Source if you are using a custom Object instead of the migxResourceMediaPath snippet

      See some progress here
      https://forums.modx.com/thread/84228/using-multiupload-feature-with-custom-classes-and-migxdb-instead-of-modresource-migx#dis-post-465031

      Mine is already saving the images files and thumbs and creating the folder in the correct place.
      Still some modification needs to be done to actually save the migxdb rows in the table.
      Make sure you are using the latest .zip package from the github respository which has the new migxObjectMediaPath in it.
      https://github.com/Bruno17/MIGX/tree/master/packages
      [ed. note: lithiumlab last edited this post 13 years, 4 months ago.]
        • 42867
        • 5 Posts
        Thanks lithiumlab,

        I saw that thread earlier but since it didn't end with a complete solution I figure that there may be more to it.

        Will give the changes a shot and see how they work for me and will post back with hopefully my success story.

        Thanks again,
        Ian