Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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,

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.376 seconds
Great UX great performance and definitely a time saver. It only took me 10 minutes of playing around before purchasing a subscription and right now I just want to throw more money at you! I just started a new project and after just 4h I can already tell it probably saved me several days of work. I'm building a wholesale ordering system with sales rep management. I have not looked at the code yet but so far: impressive.
flip (Forum)

Get Started