Print, PDF and wkhtmltopdf binary

QHow to force module which insists to use various in-the-drupal-tree directories instead of system level binaries, to use system level wkhtmltopdf binary included in BOA?

AEvery BOA system comes with wkhtmltopdf binary available in the standard system path: /usr/bin/wkhtmltopdf, and the same for /usr/bin/pdftk etc. so in theory in should be used out of the box by any print/pdf module, similarly like other modules use system level binaries for images processing, like the convert binary from ImageMagick tools. Unfortunately, some modules which recommend wkhtmltopdf are not smart enough to detect and use existing wkhtmltopdf binary. Instead, their authors suggest to upload wkhtmltopdf (or pdftk) in the libraries or modules tree, or even use a dirty workaround with symlinking system level binary there. It is not possible to create symlinks in any BOA system, for security reasons, and such tricks will not work. To avoid this problem, we strongly suggest to either use the built-in (already patched) version of print module, or patch the version you plan to use, so it will use system level binary. It should be trivially simple – check this patch for reference.

Create Account or request a free Test Drive
Already 900+ hosts powering thousands of Drupal sites are running on our high-performance Aegir BOA stack
© 2009-2023 Omega8.cc | ul. Zlota 59, 14th floor Skylight Building, 00-120 Warsaw, Poland | Twitter
Smokin’ Fast Drupal Hosting in Amsterdam · Chicago · Frankfurt · London
Madrid · New York · San Jose · Singapore · Sydney · Toronto · Warsaw