Welcome, Guest
Username: Password: Remember me

TOPIC: rename of extension

rename of extension 21 Mar 2013 09:58 #6988

On my component i allow to update files with the following extensions: xml, kml and kmz
but every file i update, the extension is renamed automatically to xml !!

How can avoid it, where is this part of code ??
thanks ina dvance
The administrator has disabled public write access.

Re: rename of extension 21 Mar 2013 10:34 #6989

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
I think you probably need to check the mime types... Do you have these extensions/mime types added in your component?

G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: rename of extension 21 Mar 2013 10:55 #6990

Hi,

How can I add these extensions to the code? Is there a configuration file, or variable to do it??

Thanks,
The administrator has disabled public write access.

Re: rename of extension 21 Mar 2013 11:03 #6991

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi,

These would be added to the file (uploader) type field you've added to your table. In the properties of that field, you can add the mime types that are allowed.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.103 seconds

Get Started