Page 1 of 1

CA: Changing media location paths

Posted: Mon May 25, 2015 4:40 am
by peter_b
I'm currently trying to configure a CollectiveAccess Providence installation in such a way, that the institution can keep their desired folder structure. Usually, CA puts all uploaded media files in its own (default) folder structure in "media/collectiveaccess" - by default, as subfolder of the CA providence installation.

I'll try to document here my findings and instructions on how to modify and configure the media paths throughout CollectiveAccess.
NOTE: This is still unfinished, work in progress!

1) Find files that contain media-path relevant code:
The variable for the media url/path is called "<ca_media_root_dir>" in CA's config files.

2) Basic config file:
The basic configuration file for media locations is "app/conf/media_volumes.conf"

Re: CA: Changing media location paths

Posted: Mon Jun 01, 2015 11:08 pm
by peter_b
I've created a thread on CollectiveAccess forums about this, titled "Configure custom media folder/filename layout".

The reply from one of CA's maintainers was:
This is not possible right now. You don't want to access or modify the media files in that directory directly anyway. CollectiveAccess manages media for you.
Very unfortunate, but I'll live with it for the moment.
Still, it should be possible when exporting the data though, but I haven't verified that yet.