The following frequently asked questions only cover the export feature.
The PDF export doesn’t work. It results in a blank screen, a broken download file or a bunch of gibberish.
The default PDF renderer, mPDF, is not compatible with all servers. You can switch to a more widely compatible renderer by going to the Bookings > Settings > Export page in your WordPress admin area, and selecting the TCPDF renderer.
In some rare cases, this may not be compatible as well. You may be able to get help by asking your web host, who can change the configuration of your server.
Can I customize the PDF template?
Yes. To customize the template, you’ll need to be able to edit template files similar to how you might edit your theme’s template files.
Here are the complete steps:
Determine which PDF renderer you are using. Go to Bookings > Settings > Export and look at the setting under PDF Renderer. It will be TCPDF or mPDF.
Copy the appropriate matching
.phpfile from your
/wp-content/plugins/restaurant-reservations/templates/directory. If you’re using the mPDF renderer, copy the
Edit the template however you’d like. Please note that the mPDF renderer is not as smart as a modern web browser. It only supports CSS 2.1 specifications, so it may not recognize all the CSS you’re used to using. The TCPDF renderer is even tougher to work with.
Upload the edited template file to your theme directory under a new
/ebfrtb_templates/directory. This will likely look like
Once the template has been uploaded to your theme, the plugin will automatically use your template instead of the default one.
If you need further help, please reach out to us via the support center on our website.