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!

CommentFileSizeAuthor
screenshot.png3.03 KBDrupalDan
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

Deciphered’s picture

Status: Active » Fixed

The correct token is [node:nid] not [nid].

Status: Fixed » Closed (fixed)

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