TOPIC:

Foto upload -> update 2 weeks 17 hours ago #256795

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 81
  • Thanks: 0
Hi there,
if I upload a photo, it gets renamed to foto1, foto2,...according to the position# of upload button:
In this case DSC01867.jpg gets renamed to foto1 in upload folder.


After reloading the form the buttons dont show me, that there is already an uploaded photo for photo#1 in the upload folder.
If I then load an additional photo with the photo#1 button, than in upload folder the file "foto1" doesnt get updated/substituted, but another file with a random number_foto1 gets saved.


How can I set it up, that foto1 gets substituted with the new upload - so that there is always only one foto1 file in the folder?

Thanks and kind regards! Andreas
Attachments:

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

Foto upload -> update 2 weeks 7 hours ago #256805

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 4965
  • Karma: 3
  • Thanks: 356
Hi,

please go to your form->Advanced->More options->Form pieces->Before form->check Custom and put:
JFactory::getSession()->set('bfFileUploadOverride', false);
With this only one foto1 will be in the folder

Regards,
Tihana

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

Foto upload -> update 2 weeks 3 hours ago #256824

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 81
  • Thanks: 0
Thanx a lot, lot, lot! This works great...

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.097 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!