<![CDATA[ Multiupload? - MODX Community Forums]]> https://forums.modx.com/thread/?thread=79232 <![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-551496 https://docs.modx.com/extras/revo/migx/migx.tutorials/migx.use-resource-specific-mediasource-and-multifile-uploader. There, as the path by which the files are available, the expression is used:
[[migxResourceMediaPath? &pathTpl=`assets/resourceimages/{id}/` &createFolder=`1`]]
When downloading files, a folder is created with the resource id.

But this method is suitable if the gallery in the resource is one. If you use the nesting of migx and add several galleries, you get some jamb. It seems to me that the expression above should look something like:
[[migxResourceMediaPath? &pathTpl=`assets/resourceimages/{id}/{migx_id}/` &createFolder=`1`]]
, Where the id migx of each gallery should be considered.

Can someone tell me how to pull out the id and modify this expression?

Sorry for my English.

]]>
kos0760 Jun 05, 2017, 08:53 PM https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-551496
<![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-528561 i_0leg_i Jul 19, 2015, 12:23 PM https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-528561 <![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-515694 voklee Nov 26, 2014, 07:10 AM https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-515694 <![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-488234 michelle84 Jan 24, 2014, 02:21 AM https://forums.modx.com/thread/79232/multiupload?page=5#dis-post-488234 <![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-488150
You have allways to use the name, not the unique MIGX-id for the configurations-field.
The unique MIGX-id is only used internally for window- and form-ids, to be sure they are unique for every different form-window.]]>
Bruno17 Jan 23, 2014, 11:42 AM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-488150
<![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-488144 http://rtfm.modx.com/extras/revo/migx/migx.tutorials/migx.use-resource-specific-mediasource-and-multifile-uploader)

I followed all the steps and everything is working, except I can't seem to change the contextmenu and columnbuttons. The contextmenu-buttons remain edit, duplicate and remove, no matter what I try. And I can only see the 'edit' column button but no other buttons that I have checked in the MIGX configurator screen. What could be the problem? Are these buttons set somewhere else?

Also there's a small thing in the tutorial I'm not getting. We create a new configuration with name 'resourcealbum', but the unique MIGX-id is 'resourcegallery'. In the TV we have to use 'resourcealbum' for the configurations field. I thought you had to use the unique MIGX-id for this?

Thanks for any help!]]>
michelle84 Jan 23, 2014, 10:29 AM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-488144
<![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-482190 Have create a MIGX-TV and the mediasourse exactly as in the rtfm-tutorial, but did not add this TV to the template.
And created another MIGX-TV for the albumsets, which I added to the template.

The albumset-TV has this configuration (copied from MIGX-configurator-formtabs):

[{"MIGX_id":"1","caption":"set","print_before_tabs":"0","fields":[{"MIGX_id":"2","field":"title","caption":"Title","description":"","description_is_code":"0","inputTV":"","inputTVtype":"","configs":"","sourceFrom":"config","sources":"[]","inputOptionValues":"","default":""},{"MIGX_id":"1","field":"albumset","caption":"albumset","description":"","description_is_code":"0","inputTV":"resourcealbum","inputTVtype":"","configs":"","sourceFrom":"config","sources":"[]","inputOptionValues":"","default":""}]}]


And its working.]]>
Bruno17 Nov 08, 2013, 09:24 AM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-482190
<![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481924
Just checking in to see if you've had any luck with this in your tests. Let me know!]]>
presson83 Nov 05, 2013, 08:46 PM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481924
<![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481905 Bruno17 Nov 05, 2013, 03:21 PM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481905 <![CDATA[Re: Multiupload?]]> https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481898
Thanks for the reply and suggestion. I think I follow but that sounds like it might be more than I need. I'm actually okay with all of the homepage images going inside one folder (and yes - they just appear on the homepage).

So if I'm fine with just having all homepage images in one directory, is there a way to get this more simplistic setup to work?


Let me know!]]>
presson83 Nov 05, 2013, 01:12 PM https://forums.modx.com/thread/79232/multiupload?page=4#dis-post-481898