Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of ContentsminLevel1maxLevel6outlinefalsestyledisctypelistprintablefalse

Add a new template

To create an HTML template that can be edited and previewed directly in XTRF, perform the following steps:

  1. Go to the (blue star) Configuration menu > Templates > Document Templates > Templates tab.

    1 - Add a template.png
  2. Click the Add HTML-based Template button. You will be directed to the Templates page.

    AddHTML1.pngImage RemovedAddHTML1.pngImage Added

    (info) To create a new template based on the existing one, open it in edit mode and click the Copy button in the top right-hand corner.

  3. Provide the Template Name.

  4. Select the Template Type from the drop-down list.

  5. Click the Add Template button. You will be directed to the newly created template's page.

  6. In the Template details card, decide whether the new template should be:

    1. Active and thus selectable

    2. a Default one.

      AddHTML2.pngImage RemovedAddHTML2.pngImage Added
  7. In the Template designer card:

    2 - Template designer.pngImage Removed2 - Template designer.pngImage Added
    1. Select the language versions for this template:

      1. Click the (blue star) to open the language menu and add the desired languages. To close the language menu, click the (blue star) icon again.

      2. Click the (blue star) icon next to the language to open a menu of applicable actions.

    2. (Optional) Edit the standard template in the Editor section:

      1. Select a different Theme from the drop-down list. To learn how to add a custom theme, see the section below.

      2. Change the formatting using the editor tools.
        (blue star) Please keep in mind that pasting the copied text in the 'Simple' editor will also paste the text styling, which may cause problems for some values (e.g. when checking if the text is equal to other text or when entering Custom Fields "Key" names).

      3. (Optional) Switch to the HTML editor to edit the HTML code directly.

        HTML editor1.pngImage RemovedHTML editor1.pngImage Added
      4. Add or change the template's XTRF tags. Put the cursor in the desired place of the template and click the (blue star) icon to open the list of applicable tags. Locate the desired tag and click on it to add it to the template.

        Tags.pngImage RemovedTags.pngImage Added
    3. (Optional) Preview the document.

      1. On top of the right-hand pane, select the desired Theme from the drop-down list.

      2. Select a corresponding item in the search-as-you-type field.The preview will appear below.
        (blue star)The item depends on the selected Template Type, e.g., for a Client Project Confirmation, you can select a project; for Vendor Purchase Order - a job, etc.

        Preview.pngImage RemovedPreview.pngImage Added
    4. Click the Save button in the top right-hand corner.

Panel
panelIconId1f4a1
panelIcon:bulb:
panelIconText💡
bgColor#E3FCEF

Click the (blue star) icon to check the details of the template. Click the (blue star) icon to expand the Template designer card.

Each language version can be enabled or disabled, but at least one will always remain enabled. One of the enabled languages can also be set as a default one for a given template. Each template always has a default language version.

When generating or sending documents for your clients and vendors, the system will automatically use the language version that matches the recipient's preferred language for the e-mails. If the required language version of the document is not enabled, the default localization wil’tt will not be displayed correctly. Please bear in minPortal’sertain mind that certain languages have different locale codes, client’splefor example, EN-GB, and EN-US. The system defines them as diffetemplate’sagesdifferent languages, so make sure those settings are aligned as needed.


Add a custom theme

To create a custom theme for HTML document templates, perform the following steps:

  1. Go to the (blue star) Configuration menu > Templates > Document Templates > Themes tab.

    1 - Add a theme.pngImage Removed1 - Add a theme.pngImage Added
  2. Click the Add New Theme button. You will be directed to the Themes page.

    Theme32.pngImage RemovedTheme32.pngImage Added

    (info) To create a new theme based on the existing one, open it in edit mode and click the Copy button in the top right-hand corner.

  3. Give the new theme a name.

  4. Click the Add Theme button. You will be directed to the newly created theme's page.

  5. In the Theme details card, decide whether the new template should be

    1. Active and thus selectable

    2. a Default one.

      AddTheme1.pngImage RemovedAddTheme1.pngImage Added
  6. In the Theme designer card:

    Theme designer.pngImage RemovedTheme designer.pngImage Added
    1. Select the language versions for this theme:

      1. Click the (blue star) icon to open the language menu and add the desired languages. To close the language menu, click the (blue star) icon again.

    2. Click the (blue star) on next to the language to open a menu of applicable actions.
      (blue star)If you want to use one theme for all language versions of a certain template, add only one default language. You can add other languages on the template level. 

  7. Create the theme in the Editor section:

    1. In the Theme tab, create the desired elements. To add XTRF tags, click the (blue star) icon. To edit the HTML code directly, switch to the HTML editor.

      HTML editor themes.pngImage RemovedHTML editor themes.pngImage Added

      (blue star) Please keep in mind that pasting the copied text in the ‘Simple’ editor will also paste the text styling, which may cause problems for some values (e.g. when checking if the text is equal to other text or when entering Custom Fields "Key" names).

    2. (Optional) In the Styles tab, you can edit the CSS settings for this theme.

      1. (Optional) In the Options tab, you can select custom fonts and background images for this theme. To learn how to add custom fonts and backgrounds, see the following sections of this guide.

        AddTheme4_1.pngImage RemovedAddTheme4_1.pngImage Added
      2. Select a font from the Custom Font drop-down list and decide whether you want to set it for the whole page.

      3. Click on a background image and select whether it should be resized or repeated.

  8. Check the results in the Preview section. Click the (blue star) icon to display the theme or applied changes.
    💡 This section is equipped with has several options like , such as pagination, scaling, page-turning, rotating, etc., available in the (blue star) menu.

  9. Click the Save button in the top right-hand corner.

Panel
panelIconId1f4a1
panelIcon:bulb:
panelIconText💡
bgColor#E3FCEF

Click the (blue star) icon to check the details of the theme. Click the (blue star) icon to expand the Theme designer card.


Add a custom font

To add a custom font to use in document templates' themes, go to the (blue star) Configuration menu > Templates > Document Templates > Fonts tab and click the Select File button.

Panel
panelIconId1f4a1
panelIcon:bulb:
panelIconText💡
bgColor#E3FCEF

You can also drop the font file into the framed area.

Fonts1.png

Add a custom background

To add an image that will be used as background in document templates' themes, go to the (blue star) Configuration menu > Templates > Document Templates > Background tab and click the Select File button.

Panel
panelIconId1f4a1
panelIcon:bulb:
panelIconText💡
bgColor#E3FCEF

You can also drop the image file into the framed area.

Background1.pngImage Removed

Background1.pngImage Added
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledisc
typelist
printablefalse