[development] hook_fileapi (file products and download permission)

Sammy Spets sammys-drupal at synerger.com
Thu May 11 05:41:54 UTC 2006

+ 1 for this idea. Exactly how it should be done.

Ditto for images. Image resizing / format changes etc can also be done
using values passed to Form API. Modules should be free of this type of

I've done all this stuff before so am happy to contribute it if the need
be there.

Sammy Spets
Synerger Pty Ltd

On 11-May-06 05:42, Adrian Rossouw wrote:
> On 10 May 2006, at 6:50 PM, Dries Buytaert wrote:
> >I second that.  Core's file handling, both the file API and the  
> >upload.module need love.
> Perhaps what we need is proper FAPI'sation of the file api. So that  
> just putting a file field
> on a form, automatically saves it. Free the developer from every  
> having to call any of the
> file_ functions.
> Also, moving the upload ajax stuff out of the upload module, and into  
> the file element, so
> that all file elements get to do that.
> --
> Adrian Rossouw
> Drupal developer and Bryght Guy
> http://drupal.org | http://bryght.com

More information about the development mailing list