Skip to content

Commit

Permalink
Review the Readme file for changelog details
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Jackson committed May 10, 2014
1 parent 0b835d7 commit e1a0f5e
Show file tree
Hide file tree
Showing 9 changed files with 247 additions and 142 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ Find out more at [http://formidablepropdfextended.com/](http://formidablepropdfe
All documentation can be found at [http://formidablepropdfextended.com/](http://formidablepropdfextended.com/documentation/).

Note: the software is currently in beta. This should not be used in a production environment.

# Pull Requests Welcome
14 changes: 14 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,20 @@ All FAQs can be [viewed on the Formidable Pro PDF Extended website](http://formi

== Changelog ==

= 1.2.1 =
* Added auto 'print' prompt feature when PDF opens. Create a link to the PDF and add &print=1 to the URL. Doesn't work with security features enabled.
* Fixed initilisation notice link so the settings page shows correctly. Previously blank.
* Fixed problem with the $fp_pdf_default_configuration settings correctly filter down on forms without configuration nodes
* Fixed problem setting FPPDF_SET_DEFAULT_TEMPLATE to true.
* Fixed problem with entries creating and saving PDFs when no node was configured.
* Fixed problem with PDFs being created and saved when the node wasn't being attached to the notification
* Fixed issue displaying font initialisation message.
* Fixed issue using custom font files in PDF.
* Tidied up the configuration.php file
* Thanks to the author of Formidable Plus (Trevor Mills) for integrating his updated plugin's table format into the software. This will make his table field much more maintainable as it evolves.
* Special thanks to Thom Stark for his continual feedback and support.


= 1.2.0 =
* Fixed date display issue
* Updated file upload $form_data value
Expand Down
150 changes: 75 additions & 75 deletions configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

$fp_pdf_default_configuration = array(
'template' => 'default-template.php',
'pdf_size' => 'A4'
'pdf_size' => 'A4',
);

/*
Expand All @@ -30,7 +30,7 @@
*/
/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true
'notifications' => true,
);*/

/*
Expand All @@ -45,21 +45,21 @@

/*$fp_pdf_config[] = array(
'form_id' => 1,
'template' => 'default-template.php',
'default-show-html' => true
'template' => 'default-template.php',
'default-show-html' => true,
);*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'template' => 'default-template.php',
'default-show-empty' => true
'template' => 'default-template.php',
'default-show-empty' => true,
);*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'template' => 'default-template.php',
'default-show-html' => true,
'default-show-empty' => true
'template' => 'default-template.php',
'default-show-html' => true,
'default-show-empty' => true,
);*/

/*
Expand All @@ -73,12 +73,12 @@

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => 1
'notifications' => 1,
);*/

/*$fp_pdf_config[] = array(
'form_id' => '1',
'notifications' => array(1,3,5)
'notifications' => array(1,3,5),
);*/

/*
Expand All @@ -93,16 +93,16 @@

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => 1,
'notifications' => 1,
'template' => 'example-float-and-positioning05.php'
'template' => 'example-float-and-positioning05.php',
);*/

/*$fp_pdf_config[] = array(
'form_id' => 2,
'notifications' => 1,
'notifications' => 1,
'template' => 'example-basic-html01.php'
'template' => 'example-basic-html01.php',
);*/

/*
Expand All @@ -115,7 +115,7 @@

/*$fp_pdf_config[] = array(
'form_id' => array(1,5,6),
'notifications' => true
'notifications' => true,
);*/

/*
Expand All @@ -126,15 +126,15 @@
*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'filename' => 'New PDF Name.pdf'
'form_id' => 1,
'notifications' => true,
'filename' => 'New PDF Name.pdf',
);*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'filename' => 'New PDF Name [id].pdf'
'form_id' => 1,
'notifications' => true,
'filename' => 'New PDF Name [id].pdf' ,
);*/

/*
Expand All @@ -155,27 +155,27 @@

/* Letter-sized Document */
/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'pdf_size' => 'letter'
'form_id' => 1,
'notifications' => true,
'pdf_size' => 'letter',
);*/

/* Custom PDF Size */
/* $fp_pdf_config[] = array(
'form_id' => 1,
'attachments' => true,
'pdf_size' => array(50, 200)
'form_id' => 1,
'attachments' => true,
'pdf_size' => array(50, 200),
);*/

/* Change orientation */
/* $fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'pdf_size' => 'letter',
'orientation' => 'landscape'
'form_id' => 1,
'notifications' => true,
'pdf_size' => 'letter',
'orientation' => 'landscape',
);*/

/*
Expand All @@ -200,30 +200,30 @@
*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'filename' => 'Test.pdf',
'orientation' => 'landscape',
'security' => false,
'pdf_password' => 'myPDFpass',
'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
'pdf_master_password' => 'admin password'
'form_id' => 1,
'notifications' => true,
'filename' => 'Test.pdf',
'orientation' => 'landscape',
'security' => true,
'pdf_password' => 'myPDFpass',
'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
'pdf_master_password' => 'admin password',
);*/

/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'filename' => 'Test2.pdf',
'template' => 'example-template.php',
'orientation' => 'landscape',
'security' => false,
'pdf_password' => 'myPDFpass',
'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
'pdf_master_password' => 'admin password'
'form_id' => 1,
'notifications' => true,
'filename' => 'Test2.pdf',
'template' => 'example-template.php',
'orientation' => 'landscape',
'security' => true,
'pdf_password' => 'myPDFpass',
'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
'pdf_master_password' => 'admin password',
);*/

/*
Expand All @@ -232,11 +232,11 @@
* Random master password will be generated
*/
/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_password' => 'myPDFpass'
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_password' => 'myPDFpass',
);*/

/*
Expand All @@ -245,11 +245,11 @@
* Master password set
*/
/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_master_password' => 'admin password'
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_master_password' => 'admin password',
);*/

/*
Expand All @@ -259,11 +259,11 @@
*
*/
/*$fp_pdf_config[] = array(
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_privileges' => array('copy', 'print', 'modify', 'print-highres')
'form_id' => 1,
'notifications' => true,
'security' => true,
'pdf_privileges' => array('copy', 'print', 'modify', 'print-highres'),
);*/

/*
Expand All @@ -277,7 +277,7 @@
'form_id' => 1,
'notifications' => true,
'rtl' => true
'rtl' => true,
);*/

/*
Expand All @@ -289,7 +289,7 @@

/*$fp_pdf_config[] = array(
'form_id' => 1,
'template' => 'example-template.php'
'template' => 'example-template.php',
);*/

/* ---------------------------------------------------------------
Expand All @@ -302,13 +302,13 @@
* will automatically use the default template in the admin area.
* Set to false to disable this feature.
*/
define('FPPDF_SET_DEFAULT_TEMPLATE', true);
define('FPPDF_SET_DEFAULT_TEMPLATE', false);

/*
* MEMORY ISSUES?
* Try setting the options below to true to help reduce the memory footprint of the package.
*/
define('FP_PDF_ENABLE_MPDF_LITE', false); /* strip out advanced features like advanced table borders, terms and conditions, columns, index, bookmarks and barcodes. */
define('FP_PDF_ENABLE_MPDF_LITE', true); /* strip out advanced features like advanced table borders, terms and conditions, columns, index, bookmarks and barcodes. */
define('FP_PDF_ENABLE_MPDF_TINY', false); /* if your tried the lite version and are still having trouble the tiny version includes the bare minimum features. There's no positioning, float, watermark or form support */
define('FP_PDF_DISABLE_FONT_SUBSTITUTION', false); /* reduced memory by stopping font substitution */
define('FP_PDF_ENABLE_SIMPLE_TABLES', false); /* disable the advanced table feature and forces all cells to have the same border, background etc. */
2 changes: 1 addition & 1 deletion installation-update-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ private static function install_fonts($directory, $template_directory, $fonts_lo
* Generate configuration information in preparation to write to file
*/
$write_to_file .= '
$this->fontdata[\''.$path_parts['filename'].'\'] = array(
$this->fontdata[\''.strtolower($path_parts['filename']).'\'] = array(
\'R\' => \''.$path_parts['basename'].'\'
);';

Expand Down
6 changes: 3 additions & 3 deletions js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
* Return Output
*/
if(results.message)
{
$('#fppdfextended-settings').prepend(results.message).find('.fppdfe_message').delay(5000).slideUp(500, function() {
{
$('#fppdfextended-setting').prepend(results.message).find('.fppdfe_message').delay(5000).slideUp(500, function() {
$(this).remove();
});
}
Expand Down Expand Up @@ -124,7 +124,7 @@
* Show the content panel
*/
$('.tabs-panel').hide();
$('#fppdfextended-setting').show();
$('#PDF_settings, .PDF_settings').show();

/*
* Set up the tabs
Expand Down
Loading

0 comments on commit e1a0f5e

Please sign in to comment.