Hallo, ich habe ein Problem mit einem Template, und zwar wird der Header nicht korrekt dargestellt. Es fehlt oben der Seitentitel so wie das such-menü. Quasi die obere hälfte vom header.
Villeicht findet ja jemand den Fehler.
Die Seite: http://www.feuerwehrwietmarschen.de
Das Template:
<!-- ###DOKUMENT### Start -->
<div id="wrap">
<div id="header">
<div id="site-name"><!-- ###SITENAME### Start -->Sitename<!-- ###SITENAME### Stop --></div>
<div id="search">
<!-- ###SUCHE### Start -->
<form action="">
<label for="searchsite">Suchen:</label>
<input id="searchsite" name="searchsite" type="text" />
<input type="submit" value="Go" class="f-submit" />
</form>
<!-- ###SUCHE### Stop -->
</div>
<!-- ###MENU_OBEN### Start -->
Menu
<!-- ###MENU_OBEN### Start -->
</div>
<div id="content-wrap">
<div id="utility">
<!-- ###MENU_LINKS### Start -->
Menu
<!-- ###MENU_LINKS### Start -->
</div>
<div id="content">
<div id="breadcrumb">
<!-- ###BREADCRUMP### Start -->
Breadcrump
<!-- ###BREADCRUMP### Stop -->
</div>
<!-- ###INHALT### Start -->
<h2>INHALT</h2>
<!-- ###INHALT### Start -->
<!--<div class="pagination"> </div>-->
</div>
<div id="sidebar">
<div class="featurebox">
<!-- ###INHALT_RECHTS### Start -->
<h2>INHALT RECHTS</h2>
<!-- ###INHALT_RECHTS### Start -->
</div>
</div>
</div>
</div>
<!-- ###DOKUMENT### Stop -->
config {
#Ausgabe von XHTML aktivieren
xhtml_cleaning = all
#Doctype auf XHTML 1.0 Transitional einstellen
doctype = xhtml_trans
#Sprache für die Attribute "xml:lang" und "lang" im <html>-Tag
htmlTag_langKey = de
#XML Prolog unterdrücken, weil der Internet Explorer ansonsten in den nicht standartkonfomen Quirks-Modus wechselt
xmlprologue = none
#Sprache
language = de
locale_all = german
admPanel = 1
inlineStyle2TempFile = 1
# Externalize CSS and JS
removeDefaultJS = 1
#Cache
#cache_clearAtMidnight
no_Chache=1
# Spam Protection
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
}
#lib.parseFunc_RTE.tags.link.typolink.target = _self
#Seitentitel auslesen
temp.seitenTitel=COA
temp.seitenTitel{
#wrap=:Das ist der Titel:|
5=RECORDS
5{
# id des template-records
source=1
tables = sys_template
conf.sys_template >
conf.sys_template = TEXT
conf.sys_template.field=sitetitle
}
}
# Popup für Bilder fomatieren
tt_content.textpic.20{
1.imageLinkWrap = 1
1.imageLinkWrap {
enable = 1
bodyTag = <body bgcolor="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
wrap = <a href="javascript:close();"> | </a>
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 0,0
}
}
tt_content.image.20 {
1.imageLinkWrap = 1
1.imageLinkWrap {
enable = 1
bodyTag = <body bgcolor="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
wrap = <a href="javascript:close();"> | </a>
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 0,0
}
}
# SEARCH
temp.suche = COA
temp.suche {
# 10 = TEXT
# 10.value = suche.. #Hier kann ein Text stehen
20 < tt_content.search.30
20.dataArray >
20 {
stdWrap.wrap = |
layout = ###LABEL### ###FIELD###
# Elementen wie Feldern und Buttons eine Klasse zuweisen
labelWrap.wrap = |
params = class="textbox"
params.submit = class="f-submit"
params.textarea = id="searchsite"
dataArray {
# Hier steht für den neuen linken Button der Code (siehe unten)
# 10.label > # Einstellung für ein leeres Label
10.label = Suchen
10.type = sword=input,15 # mit der Zahl wird die size des Feldes eingestellt
10.value =
# Hier könnte eine Select-Box stehen
# 20.type = scols=select
# 20.valueArray {
# 10.label = Headers and keywords
# 10.value = pages.title-subtitle-keywords-description:tt_content.header
# 20.label = Pagecontent
# 20.value = tt_content.header-bodytext-imagecaption
# }
20.label >
20.type = scols=hidden
20.value = tt_content.header-bodytext-imagecaption
30.type = stype=hidden
30.value = L0
40.type = submit=submit
40.value = Go
}
target=_self
redirect = {$suche}
}
}
############ Menu Oben Anfang ###########
temp.MenuOben = HMENU
temp.MenuOben {
entryLevel=0
# erstes level
1 = TMENU
1.wrap = <ul id="nav">|</ul>
1{
# no state: normale Formatierung
noBlur=1
expAll = 1
NO{
wrapItemAndSub = <li class="first">|</li>
}
# act state: gültig von der rootseite bis zur aktuellen Seite
ACT=1
ACT{
wrapItemAndSub = <li class="active">|</li>
}
# cur state: gültig für die aktuelle Seite
# CUR=1
# CUR{
# wrapItemAndSub = <li class="active">|</li>
# }
}
# zweites level
2 = TMENU
2.wrap = <ul>|</ul>
2{
# no state: normale Formatierung
noBlur=1
expAll = 1
NO{
wrapItemAndSub = |*| <li class="first">|</li> |*| <li class="last">|</li>
}
# act state: gültig von der rootseite bis zur aktuellen Seite
ACT=1
ACT{
wrapItemAndSub = <li class="active">|</li>
}
# cur state: gültig für die aktuelle Seite
# CUR=1
# CUR{
# wrapItemAndSub = <li>|</li>
# }
}
}
########### Menu Oben Ende ##################
###### Menu Rechts Anfang ###########
temp.MenuLinks = HMENU
temp.MenuLinks {
entryLevel=1
# erstes level
1 = TMENU
1.wrap = <ul id="nav-secondary">|</ul>
1{
# no state: normale Formatierung
noBlur=1
NO{
wrapItemAndSub = <li class="first">|</li>
}
# act state: gültig von der rootseite bis zur aktuellen Seite
ACT=1
ACT{
wrapItemAndSub = <li class="active">|</li>
}
# cur state: gültig für die aktuelle Seite
# CUR=1
# CUR{
# wrapItemAndSub = <li class="active">|</li>
# }
}
2 = TMENU
2.wrap = <ul>|</ul>
2{
# no state: normale Formatierung
noBlur=1
NO{
wrapItemAndSub = <li class="first">|</li>
}
# act state: gültig von der rootseite bis zur aktuellen Seite
ACT=1
ACT{
wrapItemAndSub = <li class="active">|</li>
}
# cur state: gültig für die aktuelle Seite
CUR=1
CUR{
wrapItemAndSub = <li class="active">|</li>
}
}
}
############ Menu Rechts Ende ############
tmp.breadcrump = HMENU
tmp.breadcrump {
special = rootline
special.range = 1|-1
1 = TMENU
1.noBlur = 1
1.wrap = <span class="rootline"> | </span>
1.target = _self
1.NO {
linkWrap= |
# optionSplit: vor erstem item kein "/", sonst immer einer
#allWrap = |*|<font face="Arial,Helvetica,sans-serif,sans-serif" size="1" color="yellow" class="rootline">| / </font> |*| |*|
# optionSplit: vor jedem item ein "/
allWrap = |*| » |*||*| |
ATagBeforeWrap = 1
}
}
#page Last Updated
temp.lu = TEXT
temp.lu {
data = page:lastUpdated
if.isTrue.data = page:lastUpdated
date = d.m.Y, H:i
wrap = Aktualisiert: |
data = register : SYS_LASTCHANGED
if >
}
####Setup Druckversion#####
alt_print >
alt_print = PAGE
alt_print.typeNum=98
alt_print.bodyTag =<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="javascript:window.print()">
alt_print.stylesheet = {$plugin.alt.print.file.stylesheet}
alt_print.10 = TEMPLATE
alt_print.10 {
template = FILE
template.file = {$plugin.alt.print.file.template}
marks {
PAGE_TITLE = TEXT
PAGE_TITLE.field = title
PAGE_SUBTITLE = TEXT
PAGE_SUBTITLE.field = subtitle
PAGE_AUTHOR = TEXT
PAGE_AUTHOR.field = author
PAGE_AUTHOR.required=1
PAGE_AUTHOR.typolink.parameter.field = author_email
PAGE_UID = TEXT
PAGE_UID.field = uid
CONTENT < styles.content.get
}
workOnSubpart = DOCUMENT_BODY
}
####Ende Setup Druckversion#####
temp1.druck = TEXT
temp1.druck {
field = uid
value = <meta http-equiv="refresh" content="0; URL=javascript:window.print()" />
wrap = <a href="index.php?id=|&type=98"><img src="fileadmin/templates/ef2col/images/print.png" border="0" alt="Seite drucken" title="Aktuelle Seite drucken" /></a>
}
# Counter fomatieren
plugin.tx_cscounter_pi1 {
minDigits = 5
id = 1
noReload = 1
textOnly = 1
wrap = <font size="1" face="verdana,arial,helvetica" color="#666666">Besucher: |</font>
#wrap = Besucher: |
showSince = 0
wrapSince = <br />seit |
formatSince = %d.%m.%Y
}
page = PAGE
page.typeNum = 0
page.meta.DESCRIPTION = Website der Feuerwehr Wietmarschen
page.meta.KEYWORDS = Feuerwehr, Fahrzeuge, TLF, LF, Wietmarschen, Feuer
#config.xhtml_cleaning = all
#config.disablePrefixComment = 1
#config.pageTitleFirst = 1
page.includeCSS {
file1 = fileadmin/templates/wr/css/main.css
}
page.headerData.1 = TEXT
page.headerData.1.value (
<script type="text/javascript" src="fileadmin/templates/wr/js/common.js"></script>
<!--[if IE]>
<style type="text/css">
@import url(fileadmin/templates/wr/css/ie6_or_less.css);
</style>
<![endif]-->
)
page.bodyTag = <body id="type-c">
page.1 = TEMPLATE
#page.1.marks.PAGE_UID = TEXT
#page.1.marks.PAGE_UID.field = uid
page.1 {
template = FILE
template.file = fileadmin/templates/wr/index.html
workOnSubpart = DOKUMENT
subparts.INHALT < styles.content.get
subparts.MENU_OBEN < temp.MenuOben
subparts.MENU_LINKS < temp.MenuLinks
#subparts.MENU_UNTEN < styles.content.get
subparts.BREADCRUMP < tmp.breadcrump
subparts.LINKS < styles.content.getLeft
#subparts.LINKS.select.pidInList = 2
subparts.INHALT_RECHTS < styles.content.getRight
subparts.SITENAME = TEXT
subparts.SITENAME < temp.seitenTitel
subparts.SUCHE < temp.suche
#subparts.CONTENT_BORDER < styles.content.getBorder
#subparts.COUNTER = TEXT
#subparts.COUNTER < plugin.tx_cscounter_pi1
#subparts.LAST_UPDATE < styles.content.lastUpdate
}
#page Last Updated
#subparts.LASTUPDATE = TEXT
#subparts.LASTUPDATE {
#data = page:lastUpdated
#if.isTrue.data = page:lastUpdated
#date = d.m.Y, H:i
#wrap = Aktualisiert: |
#data = register : SYS_LASTCHANGED
#if >
#}
#subparts.MENU_UNTEN < page.12
#page.12 = ""
#subparts.IMAGE < temp.ImageOben
#Druckversion Setup
#alt_print.10.marks.INHALT < styles.content.get
#page.10.marks.PRINT = TEXT
#page.10.marks.PRINT.field = uid
#page.10.marks.PRINT.wrap = <a href="index.php?id=|&type=98"><img src="fileadmin/templates/v1/images/print.png" border="0" alt="Seite drucken" title="Seite #drucken" /></a>
# Seite weiterempfehlen
#page.10.marks.TIP = COA
#page.10.marks.TIP {
# wrap = <a href="index.php?id=56"><img src="fileadmin/templates/v1/images/tip.png" border="0" alt="Seite weiterempfehlen" /></a>
# postUserFunc.windowparams = (resizable=yes,toolbar=yes,scrollbars=yes,menubar=no,width=800,height=500)
# 1 = TEXT
# 1.data = TSFE : |
# 1.typolink.tipUrl="index.php?id="|
# 1.typolink.parameter = |
#}