Templates

A template contains the HTML framework, the necessary style sheets (CSS), if present, globally valid javascript scripts, and add the placeholders for content and navigation blocks. It is in the folder "templates" in the base directory of a website. There must be a unique identifier (ASCII) obtained.
The HTML framework (a pure HTML file) must necessarily be in the subfolder "tpl", having the file name "template" and the suffix ".tpl".
It should serve an additional XML file "meta.xml.php" containing information about wildcards, DOM IDs, name, author, copyright etc.. See plug-ins. This file must also lie in the "tpl" folder of the template.
Example:
TemplateName / tpl / template.tpl
TemplateName / tpl / meta.xml.php

All other files of templates are free placable within its folder structure.

Example of the "content.css" file:
templates / template name / css / content.css

WYSIWYG

CSS files whose file name contains "content" will be loaded in the editor when editing content and thus ensure the implementation of the WYSIWYG concept.

Editing a template

Currently templates should only be WYSIWYG - edited with gecko (Mozilla) based browsers , since all other browser have not or inadequately the necessary standards! Otherwise, a simple text editor should be used.

A template can be edited by administrators in the WYSIWYG-editor. Attention should be given to the corresponding placeholders.

CSS files can be edited using the corresponding CSS editor. The dialogue for this appears only in template-mode and will be launched by clicking the button . All CSS and Javascript files loaded into the template are listed here and can be processed provided the corresponding browser capabilities.

Example-Template

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{PAGETITLE}</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<!--textrinum meta tags -->
<meta name="robots" content="index,follow" />
<meta name="revisit-after" content="7 days" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link href="templates/Standard/css/content.css" rel="stylesheet" type="text/css" />
<link href="templates/Standard/css/design.css" rel="stylesheet" type="text/css" />
<link href="templates/Standard/css/design_navi.css" rel="stylesheet" type="text/css" />
<link href="templates/Standard/css/print.css" rel="stylesheet" type="text/css" media="print" />
<link rel="stylesheet" href="templates/Standard/css/ie_fixes.css" />
<script type="text/javascript" src="templates/Standard/js/user_translator.js"> </ script>
</head>
<body>
<div id="wrapper">
<div id="centerwrapper">
<div align="right" id="header">
<img border="0" src="templates/Standard/img/head.gif" style="position: absolute; top: 0pt; left: 0pt;" alt="" />
<a href="http://www.textrinum.org"> <img border="0" src="templates/Standard/img/textrinum_logo.gif" alt="" /> </ a>
</ div>
<div align="right" id="firstlevelnavi"> (first level navigation)
</ div>
<div id="maincontent">
<div id="col2andcol1">
<div id="maincolumn">
{main_content}&#160;
</div>
<div id="leftside">
<a name="Navigation"></a>
{secondlevelnavigation}
<div id="left_edit_content">{left_content}</div>
</div>
</div>
<div id="rightside">
{right_content}
</div>

</div>
<div id="footer">&#160;</div>
</div>
</div>
</body>
</html>