Closed (fixed)
Project:
Upload path
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2008 at 22:42 UTC
Updated:
19 Sep 2008 at 00:13 UTC
Jump to comment: Most recent file
Is anyone working on 6.x version of Upload path module?
Or are there any alternatives (different modules) which allow uploading files into subdirectories?
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | uploadpath_5x_to_6x_for_2008-Jul-24-release.diff | 5.38 KB | Sirn |
| #10 | uploadpath_5x_to_6x_for_2008-May-05-release.patch | 4.76 KB | ar-jan |
| #4 | uploadpath_5x_to_6x.patch | 4.23 KB | sonnen |
| #3 | uploadpath.tar_.gz | 7.36 KB | pobster |
Comments
Comment #1
encho commentedI am interested in this as well. Looks like development is on hold.
Comment #2
maxiorelI'm interested too. Maybe this (http://drupal.org/node/242582) can help us.
Comment #3
pobster commentedTry this.
Pobster
Comment #4
sonnen commentedAttached is a unified patch that will take a stock distribution of Upload Path 5.x-1.x-dev up to a fully 6x compatible version. It includes a correction of the hook_nodeapi bug noted by mansion, but with 6x compatible code. (http://drupal.org/node/191571)
Comment #5
gregglesslightly better title.
Comment #6
ansorg commentedHi,
I think this patch contains an error when it tries to move the file.
this line tries to move the file from old location to the new "dest". But $dest does not contain the full path
I changed that to include the default "files" path in front of the newly assembled $dest filename
Jens
Comment #7
ar-jan commentedFrom reading these threads it seems Upload path with patches is working -more or less- with D6. Will there be a D6 release anytime soon?
Comment #8
ar-jan commentedHi, I applied the patch and it works on my D6 site! Many thanks, I think this module provides a quite vital functionality if one wants to keep files organized on server.
One note: the current tarball is a 2008-May-05 release and rolling the patch gives some errors:
patching file uploadpath.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file uploadpath.info.rej
patching file uploadpath.module
Hunk #2 FAILED at 56.
I don't know how to fix the patch, I just deleted the old parts and pasted the new ones in the uploadpath.info and uploadpath.module files manually. Maybe someone can fix this for current release?
Comment #9
coupet commentedCan we have a patch for current dev version or final working d6 package?
Comment #10
ar-jan commentedHere are the 6.x patched .module and .info files.
edit: replaced with the patch: here is the patch, modified to be used on the 2008-May-05 release of UploadPath.
Comment #11
greggles@ArjanLikesDrupal - ideally patches should be provided as actual patches - (see http://drupal.org/patch/create ).
Also, this module is currently "Unmaintained" and will need someone to take it over from Crell. Perhaps someone on this issue can do that? If so, just 1) get a CVS account (if you don't have one point to this issue as the reason 2) contact Crell and/or file an issue in the webmasters queue about this module.
Comment #12
ar-jan commentedDone. I had never used/created patches before so didn't know how to do so, but it wasn't hard.
As for the unmaintained status: agree, a 6.x release would also be nice. I'm afraid I'm of no use here, being at the start of my Drupal learning curve ;)
Comment #13
gregglesWell, everyone has to start somewhere. I hope you will consider becoming the maintainer ( http://drupal.org/handbook/cvs is a good section to read to understand what is involved).
Comment #14
coupet commentedThanks ArjanLikesDrupal.
Comment #15
sprugman commentedsubscribing
Comment #16
Sirn commentedUpdated patch for 2008-Jul-24 release.
Comment #17
davidwhthomas commentedThanks for the interest, I will be releasing a D6 version in the near future.
Comment #18
davidwhthomas commentedDrupal 6 development version has been released and will appear for download once the packaging script has run
Comment #19
ar-jan commentedThanks!