Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<html>
<head>
<title>Template</title>
</head>
<body>
<table>
<tr>
<td colspan="5">Header ... fest</td>
</tr>
<tr>
<td><div id="navigator">Navi</div></td>
<td><div id="content_left">Linken Spaltenbereich</div></td>
<td><div id="content">Hauptinhalt</div></td>
<td><div id="content_right">Rechten Spaltenbereich</div></td>
<td><div id="content_border">Außenrand, z.B. für Werbung rechts</div></td>
</tr>
<tr>
<td colspan="5"><div id="footline">footline</div></td>
</tr>
</table>
</body>
</html>
#########################################################################
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
# Read the template file
content = FILE
content.file = fileadmin/vdrh/template_vdrh_base.html
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/vdrh/
# define subpart elements on template to wrap
elements {
# auto tag finder
# find all tags BODY and set on submarker
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
# find all tags HEAD and set on submarker
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEAD
# remove followed tags
HEAD.rmTagSections = title
# find cell tag for menu left and set on submarker
DIV.id.navigator = 1
DIV.id.navigator.subpartMarker = MENU
DIV.id.content_left = 1
DIV.id.content_left.subpartMarker = CONTENT_LEFT
DIV.id.content = 1
DIV.id.content.subpartMarker = CONTENT_CENTER
DIV.id.content_right = 1
DIV.id.content_right.subpartMarker = CONTENT_RIGHT
DIV.id.content_border = 1
DIV.id.content_border.subpartMarker = CONTENT_BORDER
DIV.id.footline = 1
DIV.id.footline.subpartMarker = FOOT_LINE
}
}
# ---------------------------------------------------------------------
# Default PAGE object:
#
page = PAGE
page.typeNum = 0
# Copy the content from TEMPLATE for <body>-section
page.10 < temp.bodyTemplate
# Copy the content from TEMPLATE for <head>-section
page.headerData.10 < temp.headTemplate
# ---------------------------------------------------------------------
# Head TEMPLATE cObject for the HEAD
#
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEAD
}
# ---------------------------------------------------------------------
# Body TEMPLATE cObject for the BODY
#
temp.bodyTemplate = TEMPLATE
temp.bodyTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# replace menu subparts with defined menu controls
subparts.MENU < temp.MENU
# set subpart CONTENT_LEFT with left content
subparts.CONTENT_LEFT < styles.content.getLeft
# set subpart CONTENT with centered content
subparts.CONTENT < styles.content.get
# set subpart CONTENT_RIGHT with right content
subparts.CONTENT_RIGHT < styles.content.getRight
# set subpart CONTENT_BORDER with "werbung"
subparts.CONTENT_BORDER = TEXT
subparts.CONTENT_BORDER.value = Hier ist platz für die Außenwerbung ... oder man lässt es gleich weg.
subparts.FOOTLINE = TEXT
subparts.FOOTLINE.value = Copyright by Jumper, the II.
}
# ---------------------------------------------------------------------
# Menu define for one navigator
#
temp.MENU = HMENU
temp.MENU.1 = TMENU
temp.MENU.1.NO = 1
temp.MENU.2 = TMENU
temp.MENU.2.NO = 1