I have a site with multiple contexts. Each context has been given access to a different media source. The media sources are working correctly with other assets - I can assign images to template variables and the MODX Resource Browser correctly shows the media source for the current context.
However, if I try to add a
static resource, then the resource browser attempts to load the main filesystem media source, even if the default_media_source setting has been changed for either the user, the context, or both.
I checked out the headers for what was being sent to directory.php when I attempt to select the file for the static resource - regardless of the context and associated media source - it's always sending a source param = 1.
for example:
For the template variables, it correctly sets the source to the correct id:
Changing the system default_media_source setting has no effect either - the resource browser always seems to want to pull from the media source with id 1 for static resources.
Any thoughts on this? I'm not sure where to start with fixing this issue....
[ed. note: webandflow last edited this post 12 years, 10 months ago.]