[development] Attach a file

Carl Wiedemann carl.wiedemann at gmail.com
Mon Feb 14 16:49:52 UTC 2011


If you are using Drupal 6, consider http://drupal.org/project/upload_element

On Mon, Feb 14, 2011 at 12:31 AM, questions and doubts <issues4all at gmail.com
> wrote:

> I have a custom module with form fields...I want to have file attachment
> below the form field...My custom module doesn't have any nid..
> I tried doing the file attachment without nid...I am getting error...
> I want the functionlaity that we see when we enable the Upload module and
> go to create content type like page there we see file attachments...
> How can I do this for my custom module? Suppose If I create a custom
> content type and enable the upload module will I get the file attachments
> option in my custom content type? If so, how can I get this content type
> into my custom module which has the forms?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110214/b578d555/attachment.html 


More information about the development mailing list