Can not use nid in file name
surfer_1 - November 14, 2007 - 08:49
| Project: | Upload path |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I want to uploaded file name node id. ,
I use nid but it not work. Help me please.
Thanx
Surfer_1

#1
The [nid]-pattern seems to work only when editing an existing node, not when creating a new one.
#2
Seems to be duplicate of #191571: Wrong use of hook_nodeapi
#3
fixed in Drupal 6 version