HTML to PDF

htmltopdf

  • By miragram
  • Latest release February 3, 2013 (13 years ago)

About

HTMLtoPDF is a plugin that converts resources to PDF files using mPDF (http://www.mpdf1.com/).

Installation & usage

HTMLtoPDF is a plugin that converts resources to PDF files using mPDF (http://www.mpdf1.com/).

*** INSTALLATION ***

You can install this package through Package Management.

After installation your elements tree should show a new chunk and plugin.

*** CONFIGURATION ***

After installation you need to add the following TV to you website template(s):

Name: createPDF

Caption: Create PDF?

Input type: Checkbox

Input option values: yes==1

*** USAGE ***

Go to a resource, check the "Create PDF?" TV checkbox and click save. A PDF file should be generated t /assets/pdf/

To remove the PDF simply uncheck the checkbox and save again.

*** CHANGE PDF DESIGN ***

Check the 'pdfTpl' chunk if you want to change the looks of the PDF.

You can use the TV in a pdf template, simply insert [[+ yourTVname]] in chunk 'pdfTpl'.

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer miragram
  • Latest release February 3, 2013 (13 years ago)
  • First seen in SiteDash January 26, 2013 (13 years ago)
  • License GPLv2
  • MODX support 2.0 – 100.0

Releases 1 indexed release

Changelog
MODX.com

0.12-alpha1

February 3, 2013

13 years ago

—