RM 1.0 Upload Images File Types

SignTorch

Active member
Licensed customer
How might one allow attaching other file types such as pdf to a resource description?

Without that I'm like :cry: (rolling on the floor crying)...
 
the button uploads images as attachments (like normal)

it can in fact upload other file types as attachments (like normal) depending on $attachmentConstraints['extensions']

rma.webp

but then it only displays attached images (abnormally)

rma2.webp

RM uses attachments differently in a way that is not consistent with the rest of the forum

I am simply asking if it is possible to get it to behave more normally with respect to attachments
 
Only images are permitted in resource descriptions.

If you want to allow additional file types that is a feature request.
 
k, thanks, I will submit that as a suggestion

I was able to add more extensions to $attachmentConstraints['extensions'] in model/update.php

and one if statement in template resource_update just needs an else clause to show the non-image attachment types

once I find the right template code to put there I will be like :D(y):cool::ROFLMAO::p:whistle:

XF is the coolest... RM is to....
 
Back
Top Bottom