Output files for 'monitor HTML'

previous  Top  next

subst_monitor.thtm : Structure of substitution list

monitormaster.thtm : Master template for screen sections with frames

This template includes sections enclosed in brackets @@[<Condition> and @@]<Condition>. Such sections are only included in the output if the condition is true.



<HTML code which is only executed when there is no ticker>


plain_monitor.thtm : Frame for substitution list

subst_title.thtm : Frame with title

ticker.thtm: Frame for ticker bar





If you wish to customise templates, create a separate directory for this and enter the directory path under 'Settings | Miscellaneous | Files | HTML templates'. Copy the template that you wish to customise to this directory and make the desired changes. When creating info output, Untis first searches the template directory for templates and only if it does not find them there will it search in the Untis program directory.



You can specify a different template file for each monitor output format by copying the subst_monitor. thtm file and renaming it to <formatname>.thtm. <formatname> must correspond to the name of the output format.




If you wish to define your own format for monitor output when using the ticker or split screen functionality, copy template plain_monitor.thtm and rename it to <formatname>.thtm.

The page with the frame layout can also be customised. To do this, rename the copied monitormaster. thtm file to <formatname>_monitormaster.thtm.



By modifying these files you can easily influence the way the HTML output is displayed and so, for example, tailor it to match the layout of your school's website. A modification of the font size for "monitor HTML" output is also a simple matter, as the following example demonstrates:








All template files as well as the untisinfo.css file are defined in HTML or CSS code. Be sure to make changes only if you are acquainted with these browser languages.


You can also set the name of the initial page that is used (from 'Default.htm') in the untis.ini file. Within Untis you can open this file via '? | Open Untis.ini ...'. Find the [Info] section and add a line 'Startpage= [desired name].