Closed (fixed)
Project:
File Entity Paths
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 May 2012 at 16:19 UTC
Updated:
29 Sep 2012 at 12:11 UTC
I saw this module listed here #1399098: The WYSIWYG plugin does not respect File directory path, what options do we have?
When I use the Wysiwyg plugin to open the media browser and upload an item, the file always ends up in /sites/default/files instead of the location specified for that filetype. If you edit the file entity, the file is moved to the correct location on the local filesystem. FE_path also works great when used with a filefield upload instead of the wysiwyg plugin. I'm not sure what is different about the upload from the wysiwyg plugin. I'm also not sure whether this is a problem for Media or FE_paths. Any help/ideas would be appreciated.
Comments
Comment #1
ultimikeYou may want to check out the patch I just posted that (hopefully) addresses your issues: http://drupal.org/node/1645178#comment-6132256
Thanks,
-mike
Comment #2
presleyd commentedWhen I applied that patch and went to admin/structure/file-types/manage/*/file-paths I see the following errors:
Comment #3
ultimikeThe patch was created from the latest version of the 7.x-2.x branch (via
git clone --recursive --branch 7.x-2.x http://git.drupal.org/project/fe_paths.git). Make sure you're patching the same version and not something older.Thanks,
-mike
Comment #4
presleyd commentedI did patch the latest snapshot from git.
Comment #5
ultimike@presleyd: Which version of Media are you using? I'm using 7.x-1.1
Thanks,
-mike
Comment #6
presleyd commentedAh I see, I'm using Media 7.x-2.x-dev
Comment #7
szantog commentedI'm on it.
Comment #8
szantog commentedCommited to http://drupalcode.org/project/fe_paths.git/commit/d5ed481