I wonder if it is possible to add a token to the "file directory" setting for the attached commerce file uploads ?
The "file directory" is an optional subdirectory within the upload destination where files will be stored.
When you do add a subdirectory into the 'file directory" field; the file api seems to handle creation of new directories for you.
I would like to separate the files on the file system by the owner of the file (by token?). In my case; by the artist who created the song or video and its producer.
I also have the filefield_paths and custom token modules installed but do not seem to show up on the commerce file widget configuration page.
Any suggestions are appreciated.
Comments
Comment #1
sketman commentedsubscribing, I think that this would be an excellent feature...
Comment #2
recrit commentedI added filefield_paths integration per commit http://drupalcode.org/project/commerce_file.git/commit/3994ff8
Comment #3
sketman commentedWorks perfectly! Great addition to this module, thank you very much.
Comment #4.0
(not verified) commentedAdded some other modules I'm trying.