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:27]
balazs
en:staff:settings:templates:editing [2021/05/22 16:20] (current)
balazs [Tips]
Line 1: Line 1:
 ====== Template editing ====== ====== Template editing ======
  
-**Új dokumentumsablont** a {{:staff:​options:​upload.png?​nolink}} ​gombbal lehet feltölteni HTML formátumban és a {{:​staff:​options:​download.png?​nolink}} ​gombbal letölteni. Ha nem áll rendelkezésre HTML formátumban,​ akkor formázatlan szövegként tudunk felvinni dokumentumot,​ képek, táblázatok nélkül.\\ +Use the {{:page_edit.png?​nolink}} to edit the selected template, {{:​upload.png?​nolink}} ​to upload its contents from saved file and {{:​download.png?​nolink}} ​to save its contents to an external file in the [[:​en:​staff:​settings:​templates:​list|Templates list]].
  
-Magát a dokumentumsablont a {{:​staff:​options:​page_edit.png?​nolink}} gombbal lehet szerkeszteniA rendszer ​HTML formátumban tárolja a sablonokatAttól függően, hogy a dokumentum tartalmaz-e szkripteket vagy sem különböző szerkesztő nyílik meg: a) szkriptek esetén egy egyszerű szövegszerkesztő (HTML kódot kézzel lehet módosítani) ​b) egy összetett ​WYSIWYG ​szerkesztő formázási lehetőségekkel.\\+The template editor opens when the editing is startedDocuments are generated and saved in HTML formatThere are 2 type of editors depending on the template contents: a) a simple text editor is used when the template contains scripts that you have inserted ​b) WYSIWYG ​is started for HTML contents without scripts and for blank templates.
  
-Mindkét szerkesztőnél használható a {{:staff:​options:​btn_save.png?​nolink}} ​gomb a tartalom mentéséhez\\+Use the {{:preview.png?​nolink}} ​Preview button to see your template with data filled in. You can define the parameters of the template in the window that opens. These parameters can be different for the different [[:​en:​staff:​settings:​templates:​types|template types]].
  
-**Szerkesztésnél**:​ +Use the {{:save.png?​nolink}} ​button to save the changes you have made.
-  * érdemes táblázatokat használni a tartalom rendezéséhez +
-  * táblázatok méretét érdemes százalékban megadni, akkor különböző lapméretezéseknél is megmarad a sablon +
-  * pontos betűméret / elrendezés lemásolása Wordhöz gépest nem garantálható mivel más a méretek mértékegysége,​ betűk mérete pixelben van nem pt-ben +
-  * több oldalas dokumentumoknál az oldalakra automatikus fix header / footer nyomtatás nem lehetséges,​ csak amit a böngészőben be lehet állítani +
-  * az előnézetet mindig érdemes használni - {{:preview.png?​nolink}} ​gomb\\+
  
-A {{:​preview.png?​nolink}} gombbal meg lehet tekintenteni a tartalom nyomtatási képét. A gombra való kattintás után megjelenő ablakban megadhatók a sablon nyomtatási paraméterei,​ amelyek a sablontípustól függően különbőzők lehetnek.+===== Fields =====
  
-Különböző nyelvű sablonokat fel lehet tölteni azonos névvel, csak a nyelv kiválasztásánál kell megadni a kívánt nyelvetA nyomtatandó dokumentum nyelve attól függően választódik ki, hogy milyen nyelvű hallgatóhoz / tanárhoz hívjuk le sablontAmennyiben ilyen nyelven nincs sablon, akkor rendszer azt a sablont választja, amelyiknél nincs nyelv megadva.+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 printed. The 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 character: they can be copied or deleted the same wayIf you want to change ​[[:​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.
  
 +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.1621690047.txt.gz · Last modified: 2021/05/22 15:27 by balazs