projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faee6ed
)
Set bottom of the pdf to 130
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 20 Sep 2018 20:47:08 +0000
(16:47 -0400)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/models/front/events/pdfCreator.php
b/models/front/events/pdfCreator.php
index
3cfcfea
..
9763652
100644
(file)
--- 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 = 1
5
0;
+$this->pdf_bottom_y = 1
3
0;
usort( $events, function($event1, $event2){
if ( $event1['starting_timestamp'] == $event2['starting_timestamp']) {