PDF export 

The detail view links to a PDF version of the job. The PDF is rendered with EXT:pdfviewhelpers ( bithost-gmbh/pdfviewhelpers ). By default it is sent as file download; to show it in the browser in a new or the same tab instead, see jobboard.pdf.linkMode. The file name is the UID and the URL segment of the job, for example 1-fachinformatiker-in-anwendungsentwicklung-m-w-d.pdf.

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.
  • Optionally show a logo at the top right of every page, see jobboard.pdf.logo. Without a logo the PDF has no header.

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.