Assign files Name During Upload

  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 456
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com replied the topic: Assign files Name During Upload

Mihaela,
I apologise. "celebratethewinnersorderp" is in the "QuickModeForms" package.

I changed the code to:
{ff_uploads}/{Magazine:value}/{year:value}/{month:value}/{page:value}|{filemask:lastname}_{filemask:firstname}_(filemask:image1)

I used the following information:
magazine = celebratethewinnersorderpyear = 2019
month = 12
page = P
lastname = Dill
firstname = Bruce
image1 = IMAGE_3575.jpg

The record was not saved in the directory

I did check with my site provider "Siteground" and verified the permissions on the folder are correct.
#237832
  • Posts: 3128
  • Karma: 105
  • Thank you received: 413

mihaela replied the topic: Assign files Name During Upload

Hello,

I've looked into this and it seems that this won't work due to the capital letter "M" in the "Magazine".

Please change the field's name from "Magazine" to "magazine" and change that in the upload field so that it is set to:
{ff_uploads}/{magazine:value}/{year:value}/{month:value}/{page:value}|{filemask:lastname}_{filemask:firstname}_image1

I've tested this on my example form and it was working properly.

Let me know whether this is working for you.

Regards,

Mihaela
#237833
  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 456
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com replied the topic: Assign files Name During Upload

Sorry Mihaela, it isn't working on my end.

The link on the front-end is: researchbreeder.com/dog-owners/celebrate...issue-1-january-2020

Would you login to the front end and check it? I did check and the record is added to the Breezing Form records but the image is not in the file.

Sorry to be causing you problems. I really wanted to get this going by today.

Bruce
#237835
  • Posts: 3128
  • Karma: 105
  • Thank you received: 413

mihaela replied the topic: Assign files Name During Upload

Hello,

Can you please tell me where does the file get saved when you save it that way?

From what you have set up it should be in JOOMLA ROOT/media/breezingforms/uploads/magazine/year/month/page/ end have a name:
lastname_firstname_image1.The actual path will be what was entered in the form in fields magazine, year, month, etc.

I've exported your form and imported it to my site and the uploaded file got saved to the right place.

Please check whether you are looking in the JOOMLA ROOT/media/breezingforms/uploads/ folder.

Let me know the result.

Regards,

Mihaela
#237851
  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 456
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com replied the topic: Assign files Name During Upload

Mihaela,

I was not aware of the requirement for the directory structure to include "media/breezingforms/uploads/". I went to the directory structure and now I see it is working perfectly.

Thank you!

Bruce
#237860
  • Posts: 3128
  • Karma: 105
  • Thank you received: 413

mihaela replied the topic: Assign files Name During Upload

Hello again,

Great! I'm glad that the issue is resolved and that it is now working as you wanted.

Regards,

Mihaela
#237926
Moderators: ForumSupport
Time to create page: 0.052 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!