TOPIC:

Exporting Records in PDF (Page Breaks) 2 years 3 weeks ago #236869

  • Topic Author
  • ALRA1
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 169
  • Thanks: 0
When I select multiple records to be exported to the PDF format it provides all of them in one continuous string of rows. In other words one pdf page can have part of two records on the one page.

Is it possible to have each record on their own individual page so the separation if clearer. I'm not sure if it requires a hack in the php file that forces page breaks.

Otherwise the only way to to this is to export each individually and then combine then using Adobe Acrobat.

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

Last edit: Post by ALRA1.

Exporting Records in PFD (Page Breaks) 2 years 3 weeks ago #236882

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

Yes, it is possible to have each record on their own individual page so the separation is clearer.

Here are instructions on how to make it work as you want.

Please locate the file in Joomla root\media\breezingforms\pdftpl\ named export_pdf.php.
That file is in charge of generating the PDF template for PDF exports in Manage Records and therefore changes in that file are needed.

I'm sending you a zipped export_pdf.php file with the necessary changes. Please replace your current file with the one that I'm sending you.
Please, make sure to backup your current export_pdf.php file so you don't lose it in case it will be needed, for example, save it as OLD_export_pdf.php file.

Let me know whether this worked as you wanted.

Regards,

Mihaela
Attachments:
The following user(s) said Thank You: ALRA1

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

Exporting Records in PFD (Page Breaks) 2 years 3 weeks ago #236900

  • Topic Author
  • ALRA1
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 169
  • Thanks: 0
Worked great! Perhaps it be be set as part of the core going forward?

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

Exporting Records in PFD (Page Breaks) 2 years 3 weeks ago #236903

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello again,

I'm glad that this solution worked for you. :)

For now, we will leave it as it is. This change can easily be applied when needed. To a lot of users, previous PDF layout is good. Thank you for the suggestion.

Best regards,

Mihaela

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

Exporting Records in PFD (Page Breaks) 1 month 1 week ago #260448

  • Topic Author
  • ALRA1
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 169
  • Thanks: 0
I was trying to apply the page break with the file in the below reply, but worried it may be outdated with the latest version of export_pdf.php.

I tried to add it but it did not work. Could I get some assistance with this?

Thanks.

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

Exporting Records in PFD (Page Breaks) 1 month 1 week ago #260451

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

if you want to add page break in your export_pdf.php, try it like:
<br pagebreak="true"/> 

Let me know the result

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.052 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!