Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
G'Day all,
Question: is it possible to pass replacement tokens to the header/footer?
I'd like to have a bit more control over content in the header and footer areas, including the capacity to insert cck field values via replacement tokens.
There's a good summary of options from the command line at:
wkhtmltopdf --help
And the developers are at: http://code.google.com/p/wkhtmltopdf/
However, they aren't native Drupal people. I've tried a simple insert and it just gets ignored (gracefully).
Thanks.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedI have just committed some code to CVS to enable tokens in the wkhtmltopdf options string.