PDF Generator
PDF Generator for Craft CMS: Your Ultimate Document Helper
The PDF Generator for Craft CMS is a revolutionary plugin that transforms how you create and manage PDFs in your Craft CMS projects. Developed by CoolTRONIC.pl Sp. z o.o. (LLC) and Pawel Potacki, this plugin offers a plethora of customizable options, making PDF generation a breeze.
Why Choose PDF Generator for Craft CMS?
In the digital era, generating and managing PDFs is crucial. Whether you're crafting a digital brochure, a product catalog, or a user manual, the PDF Generator for Craft CMS simplifies the process. This plugin allows you to generate PDF files from a Craft CMS entry using a Twig template. It supports the creation and download of multiple PDF files from entries within a specific channel section on a website running Craft CMS 3 or 4.
How Does It Work?
The PDF Generator for Craft CMS operates by converting your entries into PDF documents. You can select from a variety of templates to determine the appearance of your documents, and you can even customize these templates to better suit your needs.
Key Features
The PDF Generator for Craft CMS provides a range of features designed to streamline and enhance your PDF creation process:
Customizable Templates: The plugin enables you to create custom templates for your PDFs, giving you complete control over the appearance of your documents.
Multiple File Generation: Generate multiple PDF files from entries within a specific channel section on your website.
Customizable PDF Options: Customize the generation of your PDFs with a range of options, including custom fonts, watermarking, automatic table of contents generation, and more.
PDF to Assets: Our PDF Generator plugin now offers an innovative feature that allows you to seamlessly integrate your generated PDFs into your Craft CMS Assets.
Image Thumbnail Generation: The plugin can generate image thumbnails, enhancing the visual appeal and usability of your PDFs.
Image QR Code: The PDF Generator can generate an image with a QR Code from the provided data for your PDFs.
Easy Installation: Installing the PDF Generator for Craft CMS is as simple as a one-click install from the Craft CMS Plugin Store.
Support: The PDF Generator for Craft CMS comes with support, ensuring you can get help when needed.
Usage
Here's an example of how to use the pdf
method:
<a href="{{alias('@web')}}/
{{craft.documentHelper.pdf("_pdf/document.twig", "file", 'pdf/' ~ entry.id ~ '.pdf', entry, pdfOptions)}}"
download> Download file
</a>
This will create a link with the visible text "Download file" to download the PDF generated by the PDF Generator for Craft CMS. More examples are available here.
Here's an example of how to use the pdfAsset
method, which adds the generated PDF into assets to a volume with handle pdffiles
:
{% set asset = craft.documentHelper.pdfAsset('_pdf/document.twig', alias('@root')~'/example.pdf', entry, pdfOptions, 'pdffiles') %}
{% if asset %}
<a href="{{asset.url()}}?v={{asset.dateModified|date('U')}}">Download your PDF</a>
{% else %}
The file was not generated.
{% endif %}
Trust the Experts
The PDF Generator for Craft CMS is trusted and tested worldwide by experts in the field of web development. With its robust features and user-friendly interface, it's no wonder that this plugin is a favorite among Craft CMS users.
Conclusion
In the fast-paced world of digital content, the ability to generate and manage PDFs is crucial. The PDF Generator for Craft CMS offers a simple and effective solution to this challenge. With its customizable templates and a range of options, this plugin makes creating PDFs a breeze. So why wait? Install the PDF Generator for Craft CMS today and take your PDF creation process to the next level.
- Installation Instructions
To install this plugin, copy the command above to your terminal.
- Active Installs
- 149
- License
- Craft
- Last release
- December 9, 2023
- Activity (30 days)
- 3Closed Issues0Open Issues0Merged PRs0Open PRs