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. It was 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 catalogue, 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 with any URL and code block. It supports creating and downloading multiple PDF files from entries within a specific channel section or from the URLs of any website.
How Does It Work?
The PDF Generator for Craft CMS operates by converting your entries, URLs or custom code blocks into PDF documents. The appearance of your documents is fully customizable, 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 integrate your generated PDFs into your Craft CMS Assets seamlessly.
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.
Scrape any URL: The PDF Generator can scrape any URL on the web and purificate the HTML code of any website.
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 the 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 %}
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.
Lite
Plus
Plus $9/year after one year.
To install this plugin, copy the command above to your terminal.
This plugin doesn't have any reviews.