Closed (duplicate)
Project:
File (Field) Paths
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2009 at 15:30 UTC
Updated:
23 Apr 2009 at 21:26 UTC
Hello,
Let me start to say Thank you for this module. You done a great job !
I see that FileField Paths do not support multiple tokens as subdirectory.
I want to put : [user-name]/[term]/[title] in the file path but only the [user-name] token is seen.
Is there a fix to not be limited to only one subdirectory?
Comments
Comment #1
Blue commentedUpdate to my post: Seems like the [term] token is not seen.
The [user-name] and [title] works great but not the [term] token . I tested on 2 drupal sites with Taxonomy required.
Also in preview mode a link to the image looks like this: /imagefield_thumbs/blue/%5Btitle%5D/imagetest.jpg ( [title] token is lost so if you check the FTP 2 folders will be created one with [title] and one with CorrectNodeTitle . Basically the same image is uploaded twice in 2 separate folders.)
Comment #2
decipheredHi Blue,
At first glance I would guess this issue is the same as: #415948: Issue with Taxonomy node tokens
The cause of the issue is the location of the FileField Paths module. If you have it installed in the /modules directory along side with the Taxonomy module it will fire before the Taxonomy module and not process the Taxonomy tokens correctly.
Contrib modules should never be installed in the /modules directory, their default location should be /sites/all/modules or if they are site specific they should be /sites/[site]/modules.
See http://drupal.org/node/70151 for more information.
If this is the issue, please post a reply in #415948: Issue with Taxonomy node tokens as clearly something has to be done to prevent this issue from occurring if it is installed in the wrong directory.
If this is not the issue, then I apologize for rambling on :)
Also, if it is not the issue, please mark it back to active and provide as much detail on the issue so I can further investigate.
Cheers,
Deciphered.