Integrates DynamicPDF into Newsletter and News to attach/generate PDF's to a post.
- Generate PDF's to a news
- Go to the Settings > Updates & Plugins page in the Backend.
- Click on the Install plugins button.
- Type the PDF support for News & Newsletter text in the search field.
- Button for previewing PDF when editing a news. (Note: Save before generating the PDF)
- After every change a new PDF is generated, located in
media/newsletter/:slug.pdf
Indikator\News\Models\Posts
has two new relations:
- pdf: Is the attached pdf file (see
System\Models\File
) - newsPdf:
TimFoerster\NewsPdf\Models\NewsPdf
the extended model with atemplate_code
field, where the current selected template is stored.
To change a PDF layout or template, see DynamicPdf.