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

noideawhattotypehere
noideawhattotypehere

Hi, I've made some changes to core so users can upload images with lowercase or uppercase extensions - which I don't like. For mediamanager I just updated modules/cms/widgets/MediaManager.php with recent changes from GitHub so hopefully they wont be lost on update. But for attachments it didn't work. After looking a bit deeper into vendor/october/src/Database/Attach/File.php i found method called getDefaultFileTypes, I just added my extensions in uppercase to the arrays but i dont like this way of modyfing core. Any tips how to overcome this?

ichakesachin3010215
ichakesachin3010215

attachOne and attachMany deletion not working.

Hi,

I wrote optional parameter "delete" => true in model but seem that not working.

1-2 of 2

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