This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Custom Node with Multiple Img File Upload - Forms

I posted this as 4.7 but 5.0 applies as well.

I've reserched how to create a custom module and i feel pretty comfortable about creating a basic module with multiple fields, etc.

What i'm not so sure about is making one of those fields a file upload field. in particular a MULTIPLE FILE UPLOAD filed that assoicates multiple images with a given node but does NOT make the imgs nodes.

Would any body have a module that might model this behavior or provide some guidlines (note i do NOT need help with teh general module ONLY the multiple upload field and how to make it work in drupal forms api).

The main difficulty is this:

If you allow multiple img uploads without predefining how many you will allow, the user must be able to browse locally , select a file, submit and THEN be allowed to do that again for as many imgs as they want to associate and upload with the node withOUT losing the rest of teh form fields every time they hit submit to enter a new img. Hope you follow that.

I can see a couple of ways to handle this:

1) somehow (i don't know how??) make the img upload field part of the form a "sub"form of the main node so that when you submit on the img field, you do NOT lose the rest of teh form data or vice versa.

Email Notification for Registered and Anonymous users

I operate an informational website identifying and reviewing the best recreational roads in the Pacific Northwest. My userbase has expressed an appreciation for the Drupal style semi-blog layout that allows them to easily peruse the available information but not lock them into a blog format.

Hiding node types from create content page

Hi,

I'm working on a module that builds on CCK types. But the new types are special-purpose, and only intended to by linked from the module. Is there a way to hide them from the "create content" page? I can disable their menu items, and that removes them from the menu, but they still show up under /node/add.

/node/add/my-cck-type should still work, I'm just trying to prevent them from cluttering the create content page.

thanks,
Dylan

Example of Drupal Form creation not saved as a node

I am looking for a complete Drupal Forms (4.7) API example not saved as a node, with menu links and all that. Is there one around here?

upload.module

Hi everybody,

searching through the forums I have not found any solution to my problem:

my hosting provider have limited the max_upload_size at 5MB so I can't upload large files through the upload.module provided with Drupal.

I think a solution to this very common problem should be to have an FTP instead of a PHP upload module. What do you think about?

So, starting from this point of view, I found two pieces of software that could be integrated within Drupal:

shopping cart module

hi! i need a module that does pretty much what eCommerce does but without online payment.

instead of online payment i want the client to receive an email with an overview of his/her order, payment instructions and a unique order id. a copy should be sent to me.

although this is not so difficult to program (i've just programmed a simple such thing on a non-drupal website) i don't find an existing module that does just this and i don't know how to program it within drupal...

thanks for your help!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions