Search code examples
phplaraveloctobercmsoctobercms-backend

Add extra field on "File Upload" widget of OctoberCMS


I want to add an extra field to the Upload Files widget, how I can do that?


What I actually have:

  • I changed DB (hardcoded on phpMyAdmin) IMG0
  • This is an updated _config_form.htm IMG1
  • And I have added this to FileUpload.php IMG2

Error on saving: IMG3


Solution

  • The problem was on the name of the new field...

    So If change "data" to for example "params" all will work great:

    enter image description here