• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.0 Upload Images File Types

SignTorch

Active member
#1
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)...
 

SignTorch

Active member
#6
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.jpg

but then it only displays attached images (abnormally)

rma2.jpg

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
 

Brogan

XenForo moderator
Staff member
#7
Only images are permitted in resource descriptions.

If you want to allow additional file types that is a feature request.
 

SignTorch

Active member
#8
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....