Closed (fixed)
Project:
FileField
Version:
6.x-3.2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2010 at 20:58 UTC
Updated:
27 Apr 2011 at 04:52 UTC
Hi,
I want to add an ajax filefield widget to my Product Add to cart form. I want exactly the same field as when we add a filefield cck to a node type. I have tried a million ways but there is still error.. Please help me out with this. Thanks in advance.
Muhammad.
Comments
Comment #1
quicksketchFileField is so deeply tied into CCK it is not possible to use it outside of the node form. You'll be happy to know this is fixed in the D7 version that is part of Drupal core, but there's not any way to do what you're trying to do in D6.
Comment #2
muhammad.tanweer commentedThanks for your response quicksketck.
Can you tell me of some other way in which I can attach an ajax file upload field to my add to cart form please??
Regards,
Muhammad.
Comment #3
quicksketchI don't know any way other than making an entirely new form element and writing it all manually. As the guy that wrote this functionality in FileField and again in D7, I can say that this is rather difficult thing to do.
Perhaps what you should do is use UC Node Checkout module and have the user "purchase" a node, which just contains a FileField directly.
Comment #4
quicksketch