Closed (fixed)
Project:
Drupal core
Version:
7.0-beta3
Component:
token system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2010 at 13:38 UTC
Updated:
13 Dec 2010 at 19:20 UTC
I am unable to specify the tokens, or determine what the new tokens are for the following. I want photos uploaded to be stored in specific user/date directories.
In Drupal 6, I was using "photos/[user]/[site-date-yyyy]/[site-date-month]" for the File directory. In Drupal 7 - Beta 3, this is creating that specific directory structure, not "photos/carolyn/2010/november" as I was expecting.
Any suggestions?
Thanks, Carolyn
Comments
Comment #1
dave reidYou have to use the updated Tokens for D7. Make sure you have Token module downloaded for Drupal 7 and view admin/help/token to view available tokens on your site.
Comment #2
dave reidFurthermore, I think you'll have to wait for the Drupal 7 port of FileField paths.
Comment #3
dave reidI've opened an issue to add the token UI to the file and image field settings: #984470: Provide a token tree for the File and Image fields' file_directory settings - this will be supported via token.module.