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.092 seconds

I have to say your builder is great! We use for another project in a week we have the system built. For the J!Boleto I convert to j3 in 2 weeks :)
Luiz Felipe Weber 

Get Started