No upload form
sjtout - July 8, 2009 - 00:28
| Project: | Comment Upload |
| Version: | 6.x-1.0-alpha5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I've enabled the Comment Upload module but the comment creation form doesn't have a file upload field -- nothing seems to have changed. Attachments are enabled for my content types. Is there something else that needs to be done? Thanks.

#1
I should also mention that I've configured the permissions to allow me to upload.
#2
I ran into the same issue when I upgraded from Drupal 5 to Drupal 6 and went over to the Drupal 6 version of Comment Upload. I'm pretty sure I had to enable comment attachments for the specific content type I wanted them available for (forum posts) before the attachment area of the form would appear.
#3
I've been looking on the content type for a box to check but haven't found one -- do you know where the option should appear?
#4
Hmm, I don't remember but I'll look it up and post a reply tomorrow.
#5
Thanks -- the problem's puzzling as I'm not sure where to look to start troubleshooting.
#6
Has anyone else seen this issue, or have any ideas for things I might try to troubleshoot? I'd really appreciate help with this.
#7
I think this issue is the same as: http://drupal.org/node/512132
Does that seem right?
#8
On http://drupal.org/node/512132 , Justin Freeman says he had this problem and changed the weight of the comment_upload module to '1' in the system table of the drupal db to make the 'enable' option for comment upload appear on the 'edit content type' form. I tried that and it worked.
#9
Sorry, one last note -- for those unfamiliar with it (as I was), here's a description of the purpose of a module's weight, from the 'Weight' module:
"For most operations involving any module that defines a particular hook, the modules are invoked in order first by weight, then by name."
Module weights can be manipulated via a module (rather than by directly writing in the db), through the Utility module available here:
http://drupal.org/project/util
#10
Marking as duplicate of #512132: Module weight causing node_type_form form_alter to not work (only on install - not update)