[development] hook_fileapi (file products and download permission)

Dave Cohen drupal at dave-cohen.com
Thu May 11 07:18:04 UTC 2006


This is a must.  I have something along those lines here:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/yogadex/modules/node_files/

On Wednesday 10 May 2006 20: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