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.
I tried to use the token of node id in the file path. The path I set for a file field is: abc/[nid], but the folder where the file is uploaded is named [nid] instead 1 or 2. I know I probably don't get it right. I would really appreciate it if someone can tell me the correct way to do this. Thank you!
Comment | File | Size | Author |
---|---|---|---|
screenshot.png | 3.03 KB | DrupalDan |
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedThe correct token is [node:nid] not [nid].