[support] nid token does not work in filefield path module

Greg Knaddison greg.knaddison at gmail.com
Fri Feb 26 20:50:27 UTC 2010


My guess: Filefield path's weight got changed to work relatively early
in the page request before the node has been saved. Therefore it
doesn't have a nid.

Did you recently update any of those modules?

Regards,
Greg

On Fri, Feb 26, 2010 at 12:42 PM, David Hautbois <david.hautbois at free.fr> wrote:
> Hello
>
> This work few month ago :
> CCK + Filefield + Filefield path
> I defined for the file path :
> [nid]
> when node was saved, [nid] was replaced with the node id.
>
> Today, this token does not work.
> And files stay in the files/[nid]/ folder.
>
> I don't know if the issue is in token, filefield or filefield path module.
> This [nid] token does not appear in the tokens list.
>
> All my modules are uptodate.
>
> Do You encounter the same issue ?
>
> Thanks.
>
> David.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com
Mastering Drupal - http://www.masteringdrupal.com


More information about the support mailing list