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
Description

Hi,
I want to uploaded file name node id. ,
I use nid but it not work. Help me please.
Thanx
Surfer_1

#1

nath - August 5, 2008 - 16:33

The [nid]-pattern seems to work only when editing an existing node, not when creating a new one.

#2

nath - August 5, 2008 - 16:36

Seems to be duplicate of #191571: Wrong use of hook_nodeapi

#3

davidwhthomas - September 8, 2008 - 08:33
Status:active» closed

fixed in Drupal 6 version

 
 

Drupal is a registered trademark of Dries Buytaert.