File upload from node page (not edit page)

malcomio - April 29, 2009 - 07:05

Does anyone know of a way to add a block to a node giving users the ability to upload files (either as filefield or attached files, or similar) without sending them to the edit page?

I'm trying to make things as simple as possible for non-technical editors to upload files, and I think the range of options available on the edit page might scare some of them...

Thanks.

what should happen to the

smurfy - April 29, 2009 - 09:43

what should happen to the uploaded file? linked as attachment or just an method to upload files to the server to a spezific directory?

phil

nothing fancy needs to

malcomio - April 29, 2009 - 12:00

nothing fancy needs to happen.

It doesn't even need to be a specific directory.

I started using filefield, and created a 'file' content type to give the files a title and description, and used views to have a page showing all the files that have been uploaded, with a link to download.

That all works OK, but I think the number of options on the create content page might be a bit daunting for some of the users, so I just want to have the upload box appearing on the node page that lists all the files.

There's Form Block which

sapark - April 29, 2009 - 20:16

There's Form Block which turns a form into a block. I use this to put a form to create a news item at the bottom of a newsletter. The normal form still works after you enable it, so both can be themed different to hide some fields. You could just have it display the upload field.

*edit: it's just for creating nodes. I set it up to create a node which gets listed in a view. The form is at the bottom of the view. Hope that helps.

This one probably will help better: CCK Blocks turns any CCK field into a block so CCK Filefield might work.

thanks

malcomio - May 14, 2009 - 15:42

i ended up using form block which seems to be fine.

 
 

Drupal is a registered trademark of Dries Buytaert.