I have created an image field using cck imagefield for a custom content type. I tried using '[site-date-yyyy]' in the path setting field. For 'sites/default/files' folder I have given full permission. When I added new images it's not storing in the above said path. It's storing at the following path 'sites/default/files/Wed, 03/17/2010 - 17:33/file.jpg'.

CCK Version: 6.x-2.6

Comments

quicksketch’s picture

Title: Path settings not working » Date token in path settings not working
Version: 6.x-3.0-alpha2 » 6.x-3.2
Category: bug » support

ImageField is not responsible for the proper replacement of these tokens. If any token replacement is happening, then that's about as far as ImageField is responsible. However, I've tried to reproduce this problem without success. The [site-date-yyyy] token works perfectly fine for me. If you're using FileField Paths or some other add-on module, it might be responsible for changing your tokens. Please reopen as a bug report if you can provide steps to reproduce from a fresh Drupal installation.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of response.