Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when you uploading image with the same name, like image in imce, it's path will be altered by path, specified in filefield paths
and this is the bug, because if for image uploaded into filefield it will works fine - path will be altered like "files/.." to "files/images/.." and file will be moved.
But in the case of textfield with WYSIWYG (+imce, ckfinder probably too) path will be changed from "files/imce/.." to "files/imce/images/.."
patch attached
Comment | File | Size | Author |
---|---|---|---|
filefield_paths-6.x-1.x-dev-wysiwyg-imce-integration.patch | 922 bytes | chingis | |
Comments
Comment #1
chingis CreditAttribution: chingis commentedComment #2
Deciphered CreditAttribution: Deciphered commentedFormatting of this conditional statement doesn't comply with the Drupal coding standards, I'd recommend assigning the $profile value outside of the condition to keep it cleaner.
wysiwyg_get_profile() will cause critical error if Wysiwyg module is not present.
Chees,
Deciphered
Comment #3
Deciphered CreditAttribution: Deciphered commentedNo longer supporting Drupal 6 issues for this module.