Coder Social home page Coder Social logo

jakejackson1 / formidable-pro-pdf-extended Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 11.0 22.05 MB

Formidable Pro PDF Extended is a Wordpress plugin that allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission.

License: GNU General Public License v2.0

PHP 99.57% CSS 0.28% JavaScript 0.12% Redcode 0.03%

formidable-pro-pdf-extended's People

Contributors

stephywells avatar trevormills avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

formidable-pro-pdf-extended's Issues

PDFs do not regenerate when data is updated

Pretty much as the title says -

Steps to replicate:

  • Create an entry and make sure that a notification is sent containing the PDF
  • Edit the entry and update some information that is in the PDF
  • Resent the notifications

In the resent notifications the initial PDF will be sent. I ran into this issue while updating a name that was sent in a mailing label template, after updating the name and resending the notifications I was still getting the mailing label with the old address.

Ways to fix:

  • Allow for a simple way to define on a per-notification basis if the PDF should always be regenerated in the configuration file within the theme
  • Check to see if the data for the entry has been updated since the PDF was last generated. If the entry has been updated regenerate the PDFs

Filename option in configuration file causing errors

The plugin used to be working fine but now when I try to have the configuration.php file define a new file name for the PDF, I get a Fatal Error in the Wordpress Debugger.

Current node looks like this

$fp_pdf_config[] = array(
    'form_id' => 10, 
    'template' => 'simple-appeal-agreement.php',
    'notifications' => true,
    'default-show-html' => true,
'filename' => 'New_PDF_Name.pdf' ,
  );

Removing the 'filename' line fixes the problem but results in a generic PDF name.

If it's left in I get the following error.

Fatal error: Call to undefined method FrmProAppHelper::get_shortcodes() in [example.com]/wp-content/plugins/formidable-pro-pdf-extended/pdf-common.php on line 196

Does anyone know how to solve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.