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')))
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.