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

sketman’s picture

subscribing, I think that this would be an excellent feature...

recrit’s picture

Status: Active » Fixed
sketman’s picture

Works perfectly! Great addition to this module, thank you very much.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added some other modules I'm trying.