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

dave reid’s picture

Status: Active » Fixed

You 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.

dave reid’s picture

Furthermore, I think you'll have to wait for the Drupal 7 port of FileField paths.

dave reid’s picture

I'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.

Status: Fixed » Closed (fixed)

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