21278 Posts in 5728 Topics by 2599 members
|Go to End|
10 August 2010 at 3:05pm
I noticed that by default .odt is not an allowed file upload. Where do you change the file types allowed for upload?
10 August 2010 at 8:11pm
I think something like the following might help... this means you have to intercept the field in getCMSfields and also not that these are case sensitive.... please look at sapphire\forms\FileField.php for more info....
11 August 2010 at 12:19am
An alternative solution would be to add this line
File::$allowed_extensions = 'odt';
to your mysite/_config.php.
|Go to Top|