Forums / Setup & design / Limit file types to be uploaded?

Limit file types to be uploaded?

Author Message

Martin Crockett

Friday 28 January 2005 7:22:19 am

Hi y'all,

This maybe a simple question to answer but I can't find a solution in the documentation and forums.

I need to limit the file types that can be uploaded.

Images - can only be GIF, JPEG or PNG

Media - can only be PDF, Word, Excel, PowerPoint, .txt or .rtf

What do I amend to get eZ Publish to limit upload to these types only?

Many thanks!

Martin
--
eZ Publish 3.5

Martin Crockett

Friday 04 February 2005 2:19:54 am

Any offers on a Friday?

Cheers.

Frederik Holljen

Friday 04 February 2005 2:51:47 am

The current datatypes do not support this. I suggest that you add this functionality to the datatypes (e.g image) and put in in an extension if you need it at once.
We'll be glad to add this functionality to eZ publish if you create it (see our helping out guidelines: http://ez.no/community/developer)

Martin Crockett

Friday 04 February 2005 4:05:45 am

Thanks.

You link http://ez.no/community/developer is broken, BTW. ;-)

Ɓukasz Serwatka

Friday 04 February 2005 4:39:42 am

Hi,

Is broken because there is a ")" at the end of URL ... Just remove it ... ;-)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog