TOPIC:

Where and how is signature saved? 6 months 2 weeks ago #257158

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Dear all,
if I have a signature field in my form...

Where is the signature saved?
How is the signature saved? (png, jpg,...)

Thank you and have a great day
Andreas

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

Where and how is signature saved? 6 months 2 weeks ago #257161

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

when someone put signature in signature field and submit form ,signature is saved in:
joomaroot/media/breezingforms/signatures
as png file

Regards,
Tihana

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

Where and how is signature saved? 6 months 2 weeks ago #257181

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Hej Tihana,
I would like to save these signatures in a custom order individually per user.

I have in uploads user-specific folder, which individually contain foto1.jpg, foto2.jpg and foto3.jpg (uploads/user_a/foto1.jpg,...)
How can I place the signatures also there like "uploads/user_a/signature1.png"?

Thank you and have a nice day!
Andreas

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

Where and how is signature saved? 6 months 2 weeks ago #257186

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

well it is possible but you will have to change many files to set the right path, thats because we didnt make Signature element to have options like Upload element, thats simply not native feature. Signature folder is /media/breezingforms/signatures/ and if you want to change that be aware, because every new update will restore the code to previous state.

Files that needs to be changed:
- /components/com_breezingforms/facileforms.process.php
- /administrator/components/com_breezingforms/admin/recordmanagement.class.php
- /administrator/components/com_breezingforms/pdftpl/export_pdf.php
- /administrator/components/com_breezingforms/pdftpl/pdf_attachment.php
So open up files above in your favorite text/code editor and search for /media/breezingforms/signatures/
and change it to your desired location, make sure that new folder is readable and writable and also that have index.html file inside.

Hope that helps.

Regards,
Tihana

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

Where and how is signature saved? 6 months 2 weeks ago #257190

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Dear Tihana,
thanks for this answer. Based on my current status of "expertise" I leave the folder as it is. :)

But can I then save the signature like this: "signatures/user_a/signature1.png"?
Now all signatures from all users are saved in 1 folder with "sign-xxxxx", where XXXX is the session ID, I assume.
I would need the subfolder please and the png.file to be renamed, please.

thank you and kind regards
Andreas

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

Where and how is signature saved? 6 months 2 weeks ago #257202

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

But can I then save the signature like this: "signatures/user_a/signature1.png"?

yes, if there is folder user_a in signatures, then you should to change path in all codes form message above.

I would need the subfolder please and the png.file to be renamed, please.

For this I need to find the code where this is stored and I will get back to you
UPDATE:
go to:
/components/com_breezingforms/facileforms.process.php
in line 7921 you will see:
$sig_file = JPATH_SITE . '/media/breezingforms/signatures/'.$row->name.'-'.md5($value).'.png';
There you can change name of your signatures

Regards,
Tihana

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

Last edit: Post by tihana.krivic. Reason: added the code for signature
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.048 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!