Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SWFUploadFileIFrameField -> Event called after upload


Go to End


1621 Views

Avatar
Anonymous user

Community Member, 4 Posts

20 August 2009 at 9:59pm

I use a SWFUploadFileIFrameField to upload a pdf file in the backend.
After uploading I want to convert the pdf to another format in the function handleswfupload.
But the SWFUploadFileIFrameField doesn’t call the handleswfupload function.
The code:
new SWFUploadFileIFrameField('PDFFile', 'Upload een PDF bestand', '', array('upload_url' => ('PDFUpload_Controller/handleswfupload')))