Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
- I set an article node type image field path to: images/articles/[node:datecreatedcustom:Y/m/d]/[node:title]
- Then I created an article on Nov. 7, 2012 with the Title 'Test'.
But the files are getting saved in the following folder structure:
images/articles/nodedatecreatedcustomY/m/d/Test
[node:title] is correctly getting replaced, but [node:datecreatedcustom] is not. I also tried this with [node:datecreated] and had the same issue.
Tried this on both 7.x-1.0-beta3 and 7.x-1.x-dev with same results.
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedDid you mean[node:created:custom:Y/m/d]?
Otherwise, the token you supplied is not a token, or at least it isn't a token for me.
The working token worked for me however.
Comment #2
neRok CreditAttribution: neRok commentedClosing old issues.
#1 is the correct answer, the wrong token has been used. Note the missing colon :