Small adjustment for top and bottom pdf points.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Sep 2018 19:48:14 +0000 (15:48 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Sep 2018 19:48:14 +0000 (15:48 -0400)
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

index 3fb0262..3cfcfea 100644 (file)
@@ -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']) {