-
- 223 Posts
Hi Bruno,
I've figured out the issue. The initial configuration of "resourcealbum" works correctly. I then duplicated that configuration twice, for two additional MIGX TVs and named them "clientalbum" and "clientfiles", respectively. These two duplicated versions of the "resourcealbum" config are the ones that are not correctly sync'ing up when using the "load from mediasource" button.
Outside of duplicating and renaming the "resourcealbum" config, are there extra steps I need to take in getting this to work? Let me know!
-
- 5,888 Posts
you will allways need a unique MIGX id for each configuration, which you are using at same time.
this can be the names (clientalbum,clientfiles)
-
- 223 Posts
Hi Bruno,
I believe that's what I've done here, specifying a unique MIGX ID for each config, and it's still a no go. (see attached)
-
- 5,888 Posts
I will try it out. Perhaps there is a bug somewhere.
-
- 223 Posts
Okay, thanks Bruno. Need this pretty desperately for tomorrow...let me know what you find.
-
- 5,888 Posts
hmm...
This test did work well on all three TVs (uploading and load from mediasource)
anything else what you did change on your duplicated TVs or configs?
did you change the fieldname for the 'image' - field ?
you can change the fieldname, but then you need to add a new property to your mediasource:
migxFileFieldname
[ed. note: Bruno17 last edited this post 11 years, 4 months ago.]
-
- 223 Posts
Bruno,
I HAD changed the file/image TV name. I created that new property with each and it works perfectly now. Thanks so much for the help here.
-
- 223 Posts
Bruno,
One more question. I'm looking to have my multi-upload migx TV on a parent document, and then show the files on child documents of that parent. Because the standard setup uses {id} in the media source path, this is breaking the file path on the child docs.
I tried changing my Media Source's path to:
[[migxResourceMediaPath? &pathTpl=`assets/clientfiles/{parent}/`]]
but that didn't work.
Any ideas on how to get this to function would be amazing! Thanks so much.
-
- 5,888 Posts
Use the dynamic source only for the manager:
[[migxResourceMediaPath? &pathTpl=`assets/clientfiles/{id}/`]]
At frontend you can build the path by yourself in the MIGX-tpl-chunk
use the property
and build your path to your file like that if its getImageList in getResources:
assets/clientfiles/[[+property.docid]]/[[+file]]
or
assets/clientfiles/[[*parent]]/[[+file]]
-
- 223 Posts
Worked perfectly. Thanks Bruno!!