This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Mohsin
Mohsin

A lot of plugins use the fileupload form widget—and this works great since it directly adds files to the uploads folder which is what you want to achieve in certain use cases. Consider my Carousel plugin and Gallery plugin for instance, these allow uploading images to show in the front-end as carousels and gallery items. One of my user's mentioned that it would be great to allow selecting images through the mediafinder and this is true but I do not see any in-built OctoberCMS formwidget that makes this possible. I need it to be consistent so that regardless of whether a user uses mediafinder to select a set of images or fileupload it should be consistent while being accessed from code later i.e. the same File object should return. Any suggestions on how to achieve this or tips on how I can hack up such a form widget?

Eoler
Eoler

Mohsin said: Any suggestions on how to achieve this or tips on how I can hack up such a form widget?

Interesting related discussion on GitHub: https://github.com/octobercms/october/issues/2896

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.