ich habe TS kontrolliert, hab ja auch nichts geändert, bisher ohne erfolg
Hier der template code:
Seitentemplate:
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TAMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
included template 1:
# menu cObject
temp.menu = HMENU
# first level menu-object, textual
temp.menu.1 = TMENU
temp.menu.1 {
# Normal state properties
NO.allWrap = <div class="menu-level1-no">|</div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu-level1-act">|</div>
}
# Second level menu-object, textual
temp.menu.2 = TMENU
temp.menu.2 {
# Normal state properties
NO.allWrap = <div class="menu-level2-no">|</div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu-level2-act">|</div>
}
# Thirdlevel menu-object, textual
temp.menu.3 = TMENU
temp.menu.3 {
# Normal state properties
NO.allWrap = <div class="menu-level3-no">|</div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu-level3-act">|</div>
}
[(TS]
included template 2:
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/mobil/mobil1.html
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
DIV.all = 1
}
relPathPrefix = fileadmin/template/mobil/
}
included template 3:
# Main TEMPLATE cObject for BODY
config.simulateStaticDocuments = 1
config.simulateStaticDocuments_noTypeIfNoTitle = 1
includeLibs.test_library = fileadmin/random_image1.php
page.meta.DESCRIPTION = Vermietung bzw. Verleih von Reisemobilen, Wohnmobilen und Wohnwagen zu Topkonditionen
page.meta.KEYWORDS = Reisemobil, Reisemobile, Vermietung, Reisemobilvermietung, Wohnmobil, Wohnmobilvermietung, Wohnmobile, Reisemobilurlaub, Wohnmobilurlaub, Caravan, Caravaning, Caravanurlaub, mieten, Verleih, leihen, Reisemobilverleih, Wohnmobilverleih, Mietmobil, Mietmobile, Mietreisemobil, Mietwohnmobil, Mietreisemobile, Mietwohnmobile, Wohnwagen, Wohnwagenvermietung, Wohnwagenverleih
#page.link.stylesheet = fileadmin/download/template/mobil/res/stylesheet.css
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# 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
# Substitute the ###menu### subpart with content:
subparts.menu < temp.menu
# Substitute the ###nav### subpart with content:
subparts.nav = TEXT
subparts.nav.field = title
# Substitute the ###menu_oben### subpart with the links:
subparts.menu_oben = COA
subparts.menu_oben.10 = TEXT
subparts.menu_oben.10.value = Impressum
subparts.menu_oben.10.typolink.parameter = 33
subparts.menu_oben.15 = TEXT
subparts.menu_oben.15.value = |
subparts.menu_oben.20 = TEXT
subparts.menu_oben.20.value = Sitemap
subparts.menu_oben.20.typolink.parameter = 48
subparts.menu_oben.25 = TEXT
subparts.menu_oben.25.value = |
subparts.menu_oben.30 = TEXT
subparts.menu_oben.30.value = AGB
subparts.menu_oben.30.typolink.parameter = 46
#random image code
marks.BILD = USER
marks.BILD.userFunc = user_test_library_class->test
# Substitute the ###banner### subpart with content:
#subparts.banner = USER
#subparts.banner.userFunc = user_test_library_class->test
# Substitute the ###content### subpart with content:
subparts.content < styles.content.get
# content < styles.content.get
}
# Main 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_HEADER
}
#Mailform
tt_content.mailform.20 {
accessibility = 1
noWrapAttr=1
formName = mailform
dontMd5FieldNames = 1
REQ = 1
RADIO.layout = ###FIELD###
labelWrap.wrap = |<br />
radioWrap.wrap = |
REQ.labelWrap.wrap = |<br />
}
html-Template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>mobilReisen</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<META name="verify-v1" content="FRb9khtxSPOU0MSz2rV6xrZpa0tj26pjjWJ2HyGmckk=" />
<link href="res/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="960" border="0" align="center" valign="top" cellspacing="0" cellpadding="0">
<colgroup>
<col width="200">
<col width="10">
<col width="750">
</colgroup>
<tr>
<td valign="top">
<table id="menu_col" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><a href="http://www.mobilreisen.at"><img src="images/logo.gif" width="200" height="80" border="0"></a></td></tr>
<tr><td id="menu_box"><div id="menu">MENU</div></td><tr>
<tr><td><img src="images/adresse.gif" width="200" height="88"></td></tr>
</table>
</td>
<td></td>
<td bgcolor="#FFFFFF" valign="top">
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr><td id ="banner">###BILD###</td><div id="nav" >test</div></tr>
<td id="nav_box"></td>
</tr>
<tr><td><div id="menu_oben">TEST</div></td></tr>
</table>
<div id="content" align="left" valign="top">Hello world!</div>
</td>
</tr>
</table>
</body>
was könnte hier plötzlich falsch sein, hat zwei jahre funktioniert und ich habe nichts geändert
lg
gerhard