Closed (fixed)
Project:
SWFUpload
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2009 at 13:51 UTC
Updated:
26 Feb 2010 at 03:50 UTC
I installed swf upload and swf field appears, but there's also regular upload field, when I turn off reglar upload at node type configuration page then files attached into node thru swf upload module aren't displayed.
Comments
Comment #1
mv1 commentedSame thing happens to me! Probably something simple... I've been looking around but I am new.
Comment #2
mv1 commentedI've been working on this but still can't figure out the problem...
it seems like the attachments form is being unset properly but still shows up!
Comment #3
dabellator commentedLooks like other people are having this same issue, anyone found a solution yet? I'm using swfupload as a way for my clients to transfer files to me, so its a little distracting I feel to have an instruction field telling them to "open the file upload field, no, not the bottom one, make sure you use the top and just ignore the bottom..."
anyway to work around this? any ideas on customizing the look of the upload field? thanks guys, I'm really loving how easy this module makes uploading.
-JB
Comment #4
dabellator commentedProblem solved. you need to call a new template file the theme your cck form in your theme, or create a module to do it for you and not mess with your template.php file. In that new file, you need to unset 'attachments' and then print your form:
the placement of this is very important, as I discovered. if you unset attachments after you render form, it will override and still display. i think this is the issue the swf module runs into, that it is trying to turn off attachments after it has already been displayed.
let me know if you need some more help, i dont really want to type the whole thing unless people are still checking this out.
-JB