PDF export 

The detail view links to a PDF version of the job. The PDF is rendered with EXT:pdfviewhelpers ( bithost-gmbh/pdfviewhelpers ) and opens in the browser.

Setup 

  • The site set jweiland/jobboard-pdf is loaded automatically by the main set. It defines the page type 1575903427 ( pageJobboardPDF ), which renders the content element "Job board" with the PDF template.
  • Add the site set bithost/pdfviewhelpers of EXT:pdfviewhelpers to your site, see Add the site sets.
  • Optionally map the page type to a URL suffix, see URL of the PDF version.

Template 

The PDF template is EXT:jobboard/Resources/Private/Pdf/Jobboard/Detail.html. It is registered as plugin.tx_jobboard.view.templateRootPaths.100 for the PDF page type only. The layout of the PDF (margins, fonts, text types) is configured with the TypoScript settings of EXT:pdfviewhelpers in EXT:jobboard/Configuration/Sets/Pdf/setup.typoscript. See the documentation of EXT:pdfviewhelpers for all options.