From b6df4b48b821ef261116e9f3e3acfc41ff14e647 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 19 Sep 2018 15:48:14 -0400 Subject: [PATCH] Small adjustment for top and bottom pdf points. Comparing the current live site petoskeyarea pdf with what is generated by the new scripts. Making an adjustment for the top of pdf and bottom to get more events per page. pdf matching petoskearea current live site very well. --- models/front/events/pdfCreator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/front/events/pdfCreator.php b/models/front/events/pdfCreator.php index 3fb0262..3cfcfea 100644 --- a/models/front/events/pdfCreator.php +++ b/models/front/events/pdfCreator.php @@ -12,13 +12,13 @@ $this->postAddLocations = false; $this->postAddRecurrences = false; // Setting for the Ros php-pdf creator. -$this->pdf_top_y = 765; +$this->pdf_top_y = 763; $this->pdf_width = 570; $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 = 200; +$this->pdf_bottom_y = 150; usort( $events, function($event1, $event2){ if ( $event1['starting_timestamp'] == $event2['starting_timestamp']) { -- 2.17.1