From: Steve Sutton Date: Wed, 19 Sep 2018 19:48:14 +0000 (-0400) Subject: Small adjustment for top and bottom pdf points. X-Git-Tag: v1.7.0^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b6df4b48b821ef261116e9f3e3acfc41ff14e647;p=WP-Plugins%2Fglm-member-db-events.git 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. --- 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']) {