PDF Generation Settings

0, 'html' => '', 'page_num' => 0, 'column_num' => 0 ); foreach($tsmp_default_values as $key => $value){ if(!isset($tsmp_column_html_array[$key])){ $tsmp_column_html_array[$key] = $value; } } //let's try unregistering //update_option( 'tsmp_column_html', array('html' => 'huh')); ?>
Page Layout      Column1 Sample     '; echo 'Column2 Sample     '; echo 'Table1 Sample     '; ?>
Filtering by Types
Filter how:
>
>
>
filter what: ( list of types )
$type) { echo "" . $type . "
"; //remove any meeting types from display array, this will leave only custom types if (($skey = array_search($key, $tsmp_filtering_types_displayed)) !== false) { unset($tsmp_filtering_types_displayed[$skey]); } } echo "custom types:
"; foreach ($tsmp_filtering_types_displayed as $each_type) { echo "" . $each_type . "
"; } ?>
Paper Size
Page Width in mm
Page Height in mm
Font Size(decimals allowed)
Header Font Size(decimals allowed)
EXPERIMENTAL:
checked( 1, $options['checkbox_example'], false ) />

This is for columns layout only. It will start with the set font size, and try to establish the optimal font size for the desired page count.
optimal font size being defined as (optimal_font_size + 0.1) would result in (desired page count +1)
once the optimal size is determined, the size is set for future, and the PDF is generated
This process can take 30-60 seconds to complete

Margin
Use Custom meeting HTML checked( 1, $options['checkbox_example'], false ) />
Meeting HTML



Generator will replace the following variables with actual values
__types__
__time__
__day_of_week__
__title__
__street_address__
__region__
__subregion__
__city__
__state__
__location__
__notes__
__location_notes__
__formatted_address__
__conference_url__
__conference_phone__

Column Variables

Header Text
Column2 time indent
note on html for before and after, each div rendered seperately
and column breaks will only fall on close of div
html for specific column works differently.
HTML before meetings
HTML on sepcific column will only function with column layouts
If you put too much in the column, you can break the layout.
With great power comes great responsibilitupdate_optiony
HTML on specific Column



enabled checked( 1, $options['checkbox_example'], false ) />
Page Number:
Column Number:
HTML after meetings



Column Count
Column Padding

Table Variables

Starting Page Number
Include Type Index? > Yes
> No
New Page for each region checked( 1, $options['checkbox_example'], false ) />
Save a copy of File checked( 1, $options['checkbox_example'], false ) />
File Name
Options
"; echo "tsmp_column_padding :" . get_option('tsmp_column_padding') . "
"; echo "tsmp_column_count :" . get_option('tsmp_column_count') . "
"; echo "tsmp_margin :" . get_option('tsmp_margin') . "
"; echo "tsmp_font_size :" . get_option('tsmp_font_size') . "
"; echo "tsmp_header :" . get_option('tsmp_header') . "
"; echo "tsmp_filtering_types_how :" . get_option('tsmp_filtering_types_how') . "
"; echo "tsmp_filtering_types_what :"; print_r(get_option('tsmp_filtering_types_what') ); echo "
"; echo "tsmp_column_html :"; print_r(get_option('tsmp_column_html') ); echo "
"; echo "tsmp_intro_html :" . get_option('tsmp_intro_html') . "
"; echo "tsmp_outtro_html :" . get_option('tsmp_outtro_html') . "
"; echo "

all options


"; $all_options = wp_load_alloptions(); foreach ( $all_options as $name => $value ) { echo "-- " . $name . " : "; $thisValue = get_option($name); print_r($thisValue); echo "
"; } echo "

post types:


"; foreach ( get_post_types( '', 'names' ) as $post_type ) { echo '

' . $post_type . '

'; } echo "
"; echo "public custom post types
"; $args = array( 'public' => true, '_builtin' => false ); $output = 'names'; // names or objects, note names is the default $operator = 'and'; // 'and' or 'or' $post_types = get_post_types( $args, $output, $operator ); foreach ( $post_types as $post_type ) { echo '

' . $post_type . '

'; } echo "
"; echo "getting taxonomy for _____
"; $regions = get_terms('tsml_region'); // $results = array(); foreach ($regions as $region) { echo $region->slug . " ---- " . $region->name . "
"; // $results[] = array( // 'id' => $region->slug, // 'value' => html_entity_decode($region->name), // 'type' => 'region', // 'tokens' => tsml_string_tokens($region->name), // ); } echo "
"; echo "custom taxonomies
"; $terms = get_terms([ 'hide_empty' => false, ]); foreach ($terms as $term){ var_dump($term); echo "
"; } } ?>

step 1, If you changed values above:

step 2