Upload custom PDF templates - Fluid Topics - 4.3

Fluid Topics Configuration and Administration Guide

Category
Reference Guides
Audience
public
Version
Latest

It is possible to upload a custom PDF template as follows:

  1. Download the current template (it may be the default one or a previously modified template), or create a new Velocity file.

  2. Use CSS parameters to customize the Velocity files PDF template variables.

    More information is available on the W3C website.

  3. In the appropriate section of the Templates administration interface, select Upload new template.

  4. Select the archive containing the Velocity files for all of the tenant's interface languages and all related image files.

  5. Select the Save button.

All files must be at the root level of the archive.

It is only possible to configure custom headers, footers, and margin sizes for PDF exports of Personal books.

Upload multiple templates

It is possible to upload either a single template or two different templates depending on which option is selected in the Personal books section.

  • If the Use the general template generation option is selected, Fluid Topics uses the template uploaded in the General section when users download personal books and print topics in the Reader page.

  • If the Enable different personal book templates option is selected, Fluid Topics uses:

    • The template uploaded in the General section when users print topics in the Reader page.

    • The template uploaded in the Personal books section when users download personal books.

Browser compatibility for Chrome and Safari

By default, Chrome and Safari disable custom PDF styling. To make custom PDF templates available with these browsers, it is necessary to take the following steps when printing.

For Chrome:

  1. In the Print window, under Options, select the Background graphics option.

    Chrome_Background_graphics_print_option

For Safari:

  1. In the Print window, under Safari, select the Print backgrounds option.

    Safari_Print_backgrounds_option

Examples

The following examples demonstrate the range of possibilities when customizing PDF templates:

PDF templates