2

I've created a custom field plugin type "file" and am using it as custom field on articles so users can upload a file (the "media" type file does not suit my needs).

It looks and works OK while editing the article, but how do I manage to handle the upload itself?

In other words, when I save the article, jform[com_fields][my-file-field-name] is included on the submitted form data, but I do not know where to place the actual code to handle the uploaded file.

3
  • Now, you will start to understand why Joomla is not delivering Joomla with all of the fields at core. :)
    – Zollie
    Commented May 5, 2023 at 20:33
  • 1
    @Zollie I found a solution :) Just need some time to answer my own question with a comprehensive explanation. Commented May 21, 2023 at 20:43
  • I am curious about what you found and your solution, a detailed answer could help a lot of people later.
    – Zollie
    Commented May 22, 2023 at 8:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.