Project:Upload path
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

It is possible to make support for comment upload module?

Comments

#1

Category:support request» feature request

If I submit a patch for this, will it actually get committed?

#2

i need this feature too.
I can´t confiure the path for comment uploads.

thx 4 any help.

lg

#3

You could use http://drupal.org/project/filefield_paths - or am I wrong?

#4

I had an overriding need to control the location of comment attachments so I took some time to modify the uploadpath module to suit my needs. Attached is a patch that supports comment uploads to the degree that I required. There are no new admin options, it simply uses the path information for the node to which the comment is related. As this is my first code contribution to drupal.org, I welcome all comments and suggestions. I will be happy to tweak on it as needed.

I have been running the patched version on a fairly active Open Atrium beta8 site and a Drupal 6.19 without any issues for about a month.

Take Care

AttachmentSize
uploadpath-comment-1.patch 7.87 KB

#5

I too need this support... I will look at the patch provided within the next few days.

#6

I actually just found that the filefield_paths module supports this function out of the box... Not really sure what the difference between the two is.... other than one works....

#7

this patch doesn't work (error: Hunk #1 FAILED at 29.) any idea?