User Tools

Site Tools


en:staff:settings:templates:editing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:staff:settings:templates:editing [2021/05/22 15:59]
balazs
en:staff:settings:templates:editing [2021/05/22 16:20] (current)
balazs [Tips]
Line 9: Line 9:
 Use the {{:​save.png?​nolink}} button to save the changes you have made. Use the {{:​save.png?​nolink}} button to save the changes you have made.
  
-Use the {{:​staff:​settings:​field.png?​nolink|}} button to add [[:​en:​staff:​settings:​templates:​fields|fields to the template]]. The content of the fields will be filled in when the document is previewed or printed. The available set of fields is different for each [[:​en:​staff:​settings:​templates:​types|template type]]. ​Fields ​are represented by %%[[%%field_name%%]]%% with yellow background in the text can be edited as if they where a character: they can be copied or deleted the same way.+===== Fields ​=====
  
-**Tips for editing in the WYSIWYG editor:** +Use the {{:staff:​settings:​field.png?​nolink|}} button to add [[:​en:​staff:​settings:​templates:​fields|system defined fields ​to the template]]The content of the [[:​en:​staff:​settings:​templates:​fields|fields]] will be filled ​in when the document ​is previewed or printedThe available [[:​en:​staff:​settings:​templates:​fields|set of fields]] is different ​for each [[:​en:​staff:​settings:​templates:​types|template type]][[:​en:​staff:​settings:​templates:​fields|Fields]] ​are represented by {{:​field_name.png?​nolink|}} ​in the text can be edited ​as if they where a character: they can be copied or deleted ​the same wayIf you want to change a [[:​en:​staff:​settings:​templates:​fields|field]] in the text you can double-click it and overwrite its name and then the contents ​for that [[:​en:​staff:​settings:​templates:​fields|field]] will be loaded ​while printing.
-  * Documents saved in other editors might contain formatting that is not compatible with the editor so the best is to start the template ​with the system'​s editor from scratchAlso pasted formatted text from editors might not have the expected result. Font sizes might be different then in other editors. +
-  * Use tables to format and arrange ​the contents +
-  * It is best to define sizes in % and not in pixels, then the template works with different page sizes and orientations. +
-  * HTML does not support fix headers and footers ​for multi-page documentsIf headers and footers ​are needed (other than what can be set at printing ​in the browser) then each page has to be designed individually using a page-break ​as separator between ​the pagesNote that the margin ​settings ​of the browser also influence ​the available space on the pages. Should ​contents ​move to another page then it is also a solution to provide a smaller scaling factor ​while printing+
-  * It is a good practice to use the {{:​preview.png?​nolink}} button frequently.+
  
 +Use the {{:​staff:​settings:​placeholder.png?​nolink}} toolbar button to insert a [[:​en:​staff:​settings:​templates:​fields|field]] custom field to the text. You can name the field. If it gets a [[:​en:​staff:​settings:​templates:​fields|name]] that is known by the system then its contents will be filled in when printed.
  
 +If there is a [[:​en:​staff:​settings:​templates:​fields|field]] whose contents is not known by the system at printing then a Parameters window is displayed where you can define its value. You can use this mechanism to add your custom fields to templates and fill in their contents manually when the document is printed.
  
 +===== Tips =====
 +
 +Documents saved in other editors might contain formatting that is not compatible with the editor so the best is to start the template with the system'​s editor from scratch. Also pasted formatted text from editors might not have the expected result. Font sizes might be different then in other editors.
 +
 +Use tables to format and arrange the contents
 +
 +It is best to define sizes in % and not in pixels, then the template works with different page sizes and orientations.
 +
 +After inserting new text in the editor make sure to apply formatting to it as well.
 +
 +HTML does not support fix headers and footers for multi-page documents. If headers and footers are needed (other than what can be set at printing in the browser) then each page has to be designed individually using a page-break as separator between the pages. Note that the margin settings of the browser also influence the available space on the pages. Should contents move to another page then it is also a solution to provide a smaller scaling factor while printing.
 +
 +It is a good practice to use the {{:​preview.png?​nolink}} button frequently.
en/staff/settings/templates/editing.1621691963.txt.gz · Last modified: 2021/05/22 15:59 by balazs