pdfBridge is a MODX Revolution plugin that converts Resources to PDF files using TCPDF (http://www.tcpdf.org/).
*** 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):
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 at /assets/components/pdfbridge/
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 some basic CSS to change colors and link underline for example.
*** EXTRA FEATURES ***
To store the number op pages in a TV, just add a text TV to your website template.
After that add the following Property to the plugin (edit plugin -> Properties tab):
Value: Name of the TV you just created
You can also change the name of the "Create PDF" checkbox TV with the following plugin Property:
Value: Name of the checkbox TV
If you want to use another chunk as PDF template, add the following plugin Property (or resource TV with the same name):
Value: Name of the chunk serving as PDF template
If you want to remove images from the resource content (because it will give problems when they float for example) set this plugin property:
Since version 0.2 all the TV's are available to your PDF template. Add this property if you want to process them as well:
- First seen
- Supported databases
- Minimum MODX Requirement
|MODX.com||0.2-alpha||2011-03-31 (7 years ago)|