I am having the following issue and I just can't find out what's causing it:
For my filefield I have set the following File alias to be created by FileField Paths:
[termpath-raw]/[title-raw]/[filefield-onlyname-original].[filefield-extension-original]
The alias is set to be cleaned up by Pathauto.
The alias is created but the Token [termpath-raw] is not cleaned using Pathauto. It's only converted to lower case, which is also checked in FileField Paths settings.
So I have all the special characters, spaces etc. left.
In Pathauto I'm using
[termpath-raw]/[title-raw]
for nodes, which works beautifully. So Pathauto does what it should do, it just seems FileField Paths isn't invoking it correctly.
Could you guys give me any help?
Comments
Comment #1
dunx commentedSame as http://drupal.org/node/1067378
Implication is that filefield_paths doesn't actually use the Pathauto code, but does something of its own... currently incorrectly as we've both discovered. I will try to delve a bit this weekend.
Comment #2
dunx commentedSee http://drupal.org/node/1067378#comment-4314502
Comment #3
lmshawl commentedI am having the same problem, except I am using [menupath]. With earlier versions of Pathauto, Token, and Filefield paths, my folders were created as expected.
Since upgrading to Pathauto 6.x-1.5, Token 6.x-1.5, and FileField Paths 6.x-1.4, any files I attach to my pages are being placed in new folders.
The names are converted to lowercase, but no dashes, and punctuation is not being stripped. Is this to be expected with [menupath] after the upgrades?
E.g. For a page under Animals --> Dogs and Cats with an image "kitty.jpg" attached, it previously would have gone here: "animals/dogs-cats/kitty.jpg", now new files I attach go to a new folder here: "animals/dogs and cats/kitty.jpg".
Any help would be appreciated.
Thank you!
Comment #4
lmshawl commentedNot sure if this is a FileField Paths issue or a PathAuto issue. Seems like it could be the same as or related to: http://drupal.org/node/881270
Comment #5
dunx commentedYes, that's a long discussion on the issue. The underlying cause (and why it's a tricky one to address) is covered in my link.
Comment #6
kallekwd commentedFor me using FileField Paths 6.x.-2.x-dev and Pathauto 1.6 solved transliteration and separator problem. Couldn't get it to work with 6.x-1.4 version.
I used [bookpath]/[title] and in Pathauto settings under "Punctuation settings" i chose "Slash : no action (do not replace)".
Thanks for the great module!
Comment #7
decipheredNo longer supporting Drupal 6 issues for this module.