Good Luck ....bs
http://www.google.com/search?client=googlet&q=online_module%20site%3Axoops.org
// types proposés : pdf, doc, txt, gif, mpeg, jpeg, rar, zip
QUESTION:
Formulaire 3.21 attachment type
This is a very good module. I'm using it for my company's admin work.
I want the user to attach an excel worksheet to a form. However, the xls is not a supported upload type. where can I add xls to the permitted type?
ANSWER:
philou Posted: 2005/8/4 7:57 Updated: 2005/8/4 7:57
XOOPS Management Team
Joined: 2002/5/6
From: France
Posts: 347 Re: Formulaire 3.21 attachment type
for your request about the xls you'll have to hack the file /modules/formulaire/admin/ele_upload.php
$mime = new XoopsFormCheckBox (_AM_ELE_TYPEMIME, 'ele_value[2]', $tab);
$mime->addOption('pdf',' pdf ');
$mime->addOption('doc',' doc ');
$mime->addOption('txt',' txt ');
$mime->addOption('gif',' gif ');
$mime->addOption('mpeg',' mpeg ');
$mime->addOption('jpg',' jpg ');
$mime->addOption('zip',' zip ');
$mime->addOption('rar',' rar ');
$form->addElement($mime);
see also if there is a problem in the index.php ligne 565
you'll have to do some tests of course
I'm working to see if it is possible to store the mime type in the XOOPS version or directly in the admin preferences... for a next release.
for the PM it's no more possible since few version because we can't send attachement to a PM
Have a nice day
Philou