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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started