Jako / PDFResource

Convert resources to PDF in MODX Revolution

Home Page:https://jako.github.io/PDFResource/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate live PDF from snippet instead of html resource

XStreamke opened this issue · comments

Dear,

I've used the TV's to generate on the fly, but it generates on the fly in the browser...What I want to do is generating the PDF via a snippet on the fly...Is it possible or I just need to do it using mpdf?

Regards,
Kevin

Sorry, I don’t understand your question.

The PDF file is generated and it stays there for download. Maybe that's enough.

On the other hand, you could create a MODX symlink, that could render that MODX resource with a different template. That template has to trigger PDFResource and it could contain a simple javascript redirect to the PDF file. Could that be a solution?

Closing because of lack of response