Ad

Add Extra Field On "File Upload" Widget Of OctoberCMS

- 1 answer

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.htmIMG1
  • And I have added this to FileUpload.phpIMG2

Error on saving: IMG3

Ad

Answer

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

Ad
source: stackoverflow.com
Ad