Main Menu Powered by <TEI:TOK> |
TEITOK Help PagesCustomizing your designTEITOK comes standardly with a very minimal design, and the idea is that you adept that design to your project or institute, to have your corpus have its own look and feel, or look like a part of the infrastructure of your institute or university. For the design, TEITOK uses a Smarty template, which can either be placed in your project (to make it project specific) or in the shared folder to use the template for all corpora on your server (unless they have a local template). An ideal set-up of a Smarty template for TEITOK contains the following elements: <html> <head> <link rel="stylesheet" type="text/css" href="/Scripts/teitok.css" media="screen"> <link rel="stylesheet" type="text/css" href="Resources/htmlstyles.css" media="screen"> <link rel="stylesheet" type="text/css" href="Resources/xmlstyles.css" media="screen"> <title>{$title}</title> </head> <body> <div id='title'>{$title}</div> <div id='menu'>{$menu}</div> <div id='content'>{$maintext}</div>{$maintext}</div> </body> </html> The three variable title, menu, and maintext will be filled in by TEITOK with the title, the navigation menu and the main content respectively. On top of those basic elements more headers and footers can be The Tips
Back to index |