From: Steve Sutton Date: Thu, 20 Sep 2018 20:47:08 +0000 (-0400) Subject: Set bottom of the pdf to 130 X-Git-Tag: v1.7.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b0d5eeae3fb4065301375fe69eaf232181c9b859;p=WP-Plugins%2Fglm-member-db-events.git Set bottom of the pdf to 130 Testing on Discoverkalamazoo event content from their live site and adjusting to 130 for the next page test of bottom pdf works nicely and gets all of the 8 pages for their events onto 7 pages. --- diff --git a/models/front/events/pdfCreator.php b/models/front/events/pdfCreator.php index 3cfcfea..9763652 100644 --- a/models/front/events/pdfCreator.php +++ b/models/front/events/pdfCreator.php @@ -18,7 +18,7 @@ $this->line_height = 10; $this->pdf_font_size = 8; $this->pdf_lft_col_x = 20; $this->pdf_rgt_col_x = 320; -$this->pdf_bottom_y = 150; +$this->pdf_bottom_y = 130; usort( $events, function($event1, $event2){ if ( $event1['starting_timestamp'] == $event2['starting_timestamp']) {