[development] [support] File upload and convert

Earnie Boyd earnie at users.sourceforge.net
Tue Nov 27 13:21:39 UTC 2012


Please use the support at drupal.org for this and do not cross post to
both.  If you're unsure of which to use always choose support.

Earnie

On Mon, Nov 26, 2012 at 7:32 PM, Chris Miller <cjm at tryx.org> wrote:
> Hi Folks,
>
> I have a content type with TWO file fields, in which I will designate TWO
> PDFs.  On upload completion I want to run something like: "exec(pdftk f1.pdf
> background f2.pdf output f1.pdf)".  This will "brand" f1.pdf.
>
> I don't see any standard mechanism and so I'm not sure how to go about this.
> I have a general understanding, but that doesn't answer the question.  I am
> sure I don't want to intercept all possible uploads; just the uploads from
> this specific content type.  So, can I define a file upload hook which is
> scoped to this specific content type?  I haven't seen anything that makes me
> believe I can.  Can I create a custom file field to use any time I need to
> perform a conversion?  Can my custom file field "extend" the existing file
> field, so I don't have to port improvements/bugfixes to my custom file field
> version?
>
> So many questions...  (-:
>
> Thanks for the help,
>
> Chris.
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]



-- 
Earnie
-- https://sites.google.com/site/earnieboyd


More information about the development mailing list