This module is an extension to media module functionality. This provides for saving the files uploaded via media module in a directory structure formed based on tokens used.
e.g., A file
test.png
uploaded on 10/04/2012 will be saved in
sites/default/files/2012/04/10/test.png
if we set up the token path as "[current-date:custom:Y]/[current-date:custom:m]/[current-date:custom:d]"
This feature was available for filefield module through the use of tokens but,doesn't seem to be available for this media module.
Sandbox link :
http://drupal.org/sandbox/piyuesh23/1525142
GIT Clone :
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/piyuesh23/1525142.git media_path_tokens
Reviews of Other Projects:
Comments
Comment #1
klausiPlease open an issue in the media module issue queue if this should be included in media core in the first place. Module fragmentation is a huge problem on drupal.org and we prefer collaboration over competition. So please get in touch with the media maintainers and reference the issue here.
If that fails for whatever reason please get back to us and set this back to "needs review".
Comment #2
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #3
piyuesh23 commentedComment #4
piyuesh23 commented@klausi,
Apologies for re-opening this issue so late.
There was already a feature request for this support in the issue queue for media module (https://drupal.org/node/1174802). However, due to no full support of field tokens, this cannot go into media module right now. Also, there has been no work on that issue since long. This module provides a very generic functionality that would be required for any projects using media module. Hence, i am reopening this issue.
Comment #5
deepakaryan1988@Piyuesh,
It's a pretty good module. But I believe you need to delete master branch and make separate 7.x-1.x branch for it.
Comment #6
deepakaryan1988Comment #7
piyuesh23 commented@deepakaryan1988, Thanks for noticing. Removed master branch.
Comment #8
piyuesh23 commentedComment #9
piyuesh23 commentedClosing this as this feature has been moved as a part of multimedia widget using file field.
Comment #10
dipen chaudhary commented@piyuesh23,
Would be nice if you update the sandbox project with the this information. So that people looking for this starts using multimedia widget.