Jump to content

[SOLVED] File types - Contact form file upload area


Recommended Posts

I have found the solution to change the file size limit for the Contact Form file upload area (by editing contact-from.tpl) but how do I find out what file types are allowed and how can I add or removed file types?

Many thanks,

Link to comment
Share on other sites

Solved.

The file extensions accepted are

 

('.txt', '.rtf', '.doc', '.docx', '.pdf', '.zip', '.png', '.jpeg', '.gif', '.jpg'

and can be edited in ContactController.php

Hope that helps anyone else

  • Like 2
Link to comment
Share on other sites

  • 2 years later...
  • 5 months later...
×
×
  • Create New...