TOPIC:

Change name pdf email 3 weeks 6 days ago #276130

  • Topic Author
  • gateirow
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
Hi, friends

I need to customize the name of the attached pdf that arrives in the mail.
example: change name ffexport-pdf-xxxxx for custom name

Thank you
Attachments:

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

Change name pdf email 3 weeks 4 days ago #276135

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

please go to:
please go to:
/joomlaroot/components/com_breezingforms/facileforms.process.php
in line 5381 comment this like:
//$pdfname = $this->uploads . '/ffexport-pdf-' . $date_stamp . '-' . mt_rand(0, mt_getrandmax()) . '.pdf':

and add this code:
if($this->formrow->name=='formname'){
                   $recnr=$this->record_id ;
                     $pdfname =  $recnr ."_at". ".pdf";
                    }
                    else{
                $pdfname =   $recnr ."_at". ".pdf";
            }

please replace formname with name of your form (not title)
And customize name which you want, basically, this code show pdf name as "recordid_at.pdf".
Replace it with name which you want

If you need more help, let me know

Regards,
Tihana

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

  • Page:
  • 1
Time to create page: 0.043 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!