Set bottom of the pdf to 130
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Sep 2018 20:47:08 +0000 (16:47 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Sep 2018 20:47:08 +0000 (16:47 -0400)
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.

models/front/events/pdfCreator.php

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