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

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started