Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [pdf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
12 views

Craft Pro 3.1.33 - Download PDF in admin user profile

In Craft 3 Pro i need to download a PDF file that a template form submits to active user profile. The PDF submits from the front and goes to the admin area under the user account profile. The ...
0
votes
0answers
17 views

Enupal PDF plugin: Passing Variable to Template

I'm using the Enupal PDF plugin and am trying to pass a variable ID into my template that generates the PDF... I'm assuming the following documents how to pass the variable through to the template - (...
1
vote
0answers
44 views

How do I correctly upload a new Asset from a temp file I generated from a service method?

Preamble Craft 3.1.26 PHP 7.2.8 on Mamp Pro 5.1.1 I browsed to my storage/reports folder and made sure in Finder than full read/write privileges are granted. What's goin on I have a module with a ...
1
vote
2answers
366 views

Generate previews of PDF files (Craft 3)

Is it possible to auto-generate PDF preview images with Craft 3 transforms? Or are there any Craft 3 plugins that do this? I see a few Craft 2 versions.
1
vote
1answer
249 views

How Do I Add a rel=“canonical” HTTP Header to Embedded PDF Files?

I'm working on project where I would like to directly embed PDFs onto web pages. We'll be using Google's PDF viewer as the embed tool and implementing via a macro. Here is the macro as it stands now: ...
1
vote
1answer
158 views

Get PDF file from Assets Folder - Element API

I have a PDF folder within assets and having trouble accessing the file path once chosen by the user. To get something like an image from assets within a matrix I do something like this which works: ...
1
vote
1answer
184 views

Missing Download PDF Button in Orders for Craft Commerce

I'm not sure what happened, but the "Download PDF" button that is on the orders in the CMS is missing. I thought maybe the order PDF template file or path was missing but both of those are there. Is ...
2
votes
3answers
298 views

Possibility to use Craft's search function to search in PDF files

I have a client who wants to search for specific PDF files when she makes use of Craft's search function. The way she wants the PDF's to be found is that the words inside of the PDF is somehow ...
1
vote
2answers
435 views

Generate pdf with form submission data

I'm using amforms for a client and need to create a user confirmation email that has a pdf attached containing the submitted form data, like a receipt. After a little google searching, I believe I'd ...
0
votes
1answer
89 views

Uploading PDFs with Imagick extension enabled seems to rasterize and compress the PDFs

Uploading PDFs to Craft3 with Imagick extension enabled seems to rasterize and compress the PDFs. Also, if I manually swap out the files after upload, it works fine until I have to edit something in ...
2
votes
1answer
266 views

Craft - suitability for membership/user registration and document upload/management

I have created about 30 sites using Perch but find it somewhat frustrating, especially the support. Considering using Craft for my next project but can it handle: Membership/user registration. Ie can ...
3
votes
1answer
538 views

Generate PDF's (Printmaker plugin) with a static header and footer

Does somebody know if it's possible with Printmaker to provide each page, of the PDF you generate, with a static footer and/or header? Printmaker makes use of the dompdf library. In the documentation ...
1
vote
1answer
219 views

Printmaker Plugin — Some Questions

Why he generate the PDF again and again when nothing changes? Is there a hidden option for that? I tried to use it with the Google Font Rubik but no chance. Any Ideas? Is it possible to Save the ...
1
vote
1answer
94 views

Order PDF in back-end error with Globals

I have created a PDF template for orders and this works fine on the front-end. However, when I click to Download PDF through the admin panel in an order. I get an error that: Variable "companyInfo" ...
2
votes
1answer
533 views

Craft Commerce View Order PDF, Not Download

Is it possible to 'view' an order's PDF rather than download/create it first? I ask because I'm working on PDF templates and I can't figure out how to view the progress/changes I'm making without ...
0
votes
0answers
66 views

Craft Commerce: Imagick stops PDF order downloads

We needed to use Imagick so that our users could upload .bmp files to Craft - this works fine, however we noticed this directly stops users downloading PDFs orders from the website and a server errors ...
1
vote
1answer
85 views

Change how the PDF filename is formatted?

In the Commerce plugin, there are several ways to download a PDF of a specific order. However, the default formatting of the PDF filename isn't very helpful... ⁠⁠⁠⁠Order-...
1
vote
1answer
523 views

PDF preview thumbnail options?

I'm using the most recent Craft CMS 2.6.2791. I'd like to generate preview thumbnails for pdf assets in my templates, so I found this plugin: https://github.com/carnesmedia/pthumb However, following ...
2
votes
1answer
417 views

How to link images inside an order PDF?

In my order PDF template I have an image that shows when I preview the template as a web page but not in the generated PDF. I’ve tried SVG, PNG and JPEG. If I use a relative path I get the error ...
3
votes
2answers
546 views

How to attach an order PDF in an order confirmation email?

I am currently adding a link to download the order PDF in the confirmation email with {{ order.getPdfUrl() }} but also want this to be an attachment.
1
vote
1answer
145 views

Printmaker plugin cuts off HTML when rendering PDF link

I’ve got a funny Printmaker issue here that I hope you can help me with! I’m using the following code to generate a link to a PDF: {% set vars = { title: supportGuides.title, body: supportGuides....
4
votes
2answers
872 views

Serve PDF file at url with variable

Is it possible to serve a file in a Twig template? I need to get a file (asset) from a global setting, and serve it at a particular URL. This code is close, but it seems that source() is the wrong ...
1
vote
2answers
593 views

Help with Printmaker Plugin

Has anyone had any success with Printmaker PDF plugin? I’m not sure where to put the tags? The only way I can get the template to actually load is to add the Printmaker tags at the end of the ...