Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gbeaty-greystone

    (@gbeaty-greystone)

    I was able to accomplish this by:

    mPDF temporary directory:
    define(‘_MPDF_TEMP_PATH’, wp_upload_dir()[‘basedir’] . ‘/mPDF’); //configuration.php, NOTE: This will not change what is displayed in the plugin settings page

    template directory:
    https://developer.gravitypdf.com/documentation/filters-and-hooks/#gfpdfe_template_location

    The plugin should have the ability to change the output directory that’s in the template directory so that we can place that folder in the wp-uploads directory and the actual template/configuration else where.

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Thanks for the feedback. We’re aware of this issue and our next major release currently being worked on will rectify the problem.

    Thread Starter gbeaty-greystone

    (@gbeaty-greystone)

    Great thanks!

    Jamie O

    (@idealien)

    Has that been incorporated yet?

    The last changelog for 3.7 mentions gfpdfe_template_location / gfpdfe_template_location_uri – but that is still an all or nothing. Doesn’t appear to address having the output folder in sub-folder of wp-content/uploads/ while the templates / config reside in a path defined via gfpdfe_template_location

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Gravity PDF 4.0 is still in development, but does include a filter and documentation to change this directory. We’re aiming to release it in May.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Output directory and template directory’ is closed to new replies.