Hallo Typo3.net Community,
ich bin momentan wieder dabei eine Website basierend
auf Typo3 zu erstellen. Allerdings habe ich mich jetzt an einem
Problem aufgehangen, nämlich solchem, das die Marker die ich im html
Template gesetzt habe nicht angesprochen werden. o.O
Hier mal mein TS und HTML Template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Bright Side of Life</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Erwin Aligam - styleshout.com" />
<meta name="description" content="Site Description Here" />
<meta name="keywords" content="keywords, here" />
<meta name="robots" content="index, follow, noarchive" />
<meta name="googlebot" content="noarchive" />
<link rel="stylesheet" type="text/css" media="screen" href="images/BrightSide.css" />
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
<div id="header">
###LOGO###
<!-- Menu Tabs -->
<ul>
<li id="current"><a href="index.html"><span>Home</span></a></li>
<li><a href="index.html"><span>News</span></a></li>
<li><a href="index.html"><span>Downloads</span></a></li>
<li><a href="index.html"><span>Services</span></a></li>
<li><a href="index.html"><span>Support</span></a></li>
<li><a href="index.html"><span>About</span></a></li>
</ul>
</div>
<!-- content-wrap starts here -->
<div id="content-wrap">
<img src="template/images/headerphoto.jpg" width="820" height="120" alt="headerphoto" class="header-photo" />
<div id="sidebar" >
<h1>Menü</h1>###NAV_MENU###
<h1>Nicht Mitglied?</h1>###NAV_MITGLIED###
</div>
<div id="main">###INHALT###</div>
<div id="rightbar">
<h1>Anzeigen</h1>
###INHALT_RE###
</div>
<!-- content-wrap ends here -->
</div>
<!-- footer starts here -->
<div id="footer">
<div class="footer-left">
<p class="align-left">
© 2010 Testseite |
<a href="http://www.bluewebtemplates.com/" title="Template">Template</a> by <a href="http://www.styleshout.com/">styleshout</a>
</p>
</div>
<div class="footer-right">
<p class="align-right">
<a href="index.html">Home</a> |
<a href="index.html">SiteMap</a> |
<a href="http://validator.w3.org/check/referer">XHTML</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
</p>
</div>
</div>
<!-- footer ends here -->
<!-- wrap ends here -->
</div>
</body>
</html>
config.doctype = xhtml_trans
config.xhtml_cleaning = all
config.xmlprologue = none
config.pageTitleFirst = 1
content.RTE_compliant = 0
config.locale_all = de_DE
config.language = de
config.baseURL = http://testseite.de
# Default PAGE object:
temp.titel = TEXT
temp.titel.field = title
page = PAGE
page.meta{
keywords.field = keywords
keywords.ifEmpty (
test
)
description.field = description
description.ifEmpty (
Testseite
)
robots = INDEX,FOLLOW
}
page {
config.index_enable = 1
typeNum = 0
stylesheet = fileadmin/template/images/BrightSide.css
meta.keywords.field = keywords
meta.description.field = description
meta.Robots = INDEX,FOLLOW
10 = TEMPLATE
10 {
template = FILE
relPathPrefix = fileadmin/
template.file = fileadmin/template/index.html
workOnSubpart = DOCUMENT_BODY
}
}
# Seitenmenu Orga
temp.menu = HMENU
temp.menu = directory
temp.menu.value = 3
temp.menu.1 = TMENU
temp.menu.1 {
# Normal Status
wrap =<ul class="sidemenu"> | </ul>
NO.allWrap =<li> | </li>
# Enable active state and set properties:
ACT = 1
ACT.allWrap =<li> | </li>
}
# Seitenmenu Allgemein
temp.menu_nichtmitglied = HMENU
temp.menu_nichtmitglied.special = directory
temp.menu_nichtmitglied.special.value = 10
temp.menu_nichtmitglied.1 = TMENU
temp.menu_nichtmitglied.1 {
# Normal Status
wrap =<ul class="sidemenu"> | </ul>
NO.allWrap =<li> | </li>
# Enable active state and set properties:
ACT = 1
ACT.allWrap =<li> | </li>
}
# Content Default-Bereich
#temp.content.get = CONTENT
#temp.content.get {
# table = tt_content
# select.orderBy = sorting
# select.where = colPos=0
# renderObj < tt_content
# renderObj.stdWrap.wrap = |
# }
# Content Default-Bereich
#temp.content.left = CONTENT
#temp.content.left {
# table = tt_content
# select.orderBy = sorting
# select.pidInList = 1
# select.where = colPos=0
# renderObj < tt_content
# renderObj.stdWrap.wrap = |
# }
marks.INHALT_RE < styles.content.getright
marks.INHALT < styles.content.get
marks {
NAV_MENU < temp.menu
NAV_MITGLIED < temp.menu_nichtmitglied
}
}
}
tt_content {
# Kommentare für Content-Elemente entfernen
stdWrap.prefixComment =
# Kommentare für Text-Elemente entfernen
text.20.prefixComment =
# Kommentare für Listen-Elemente entfernen
bullets.20.stdWrap.prefixComment =
# Kommentare für Tabellen entfernen
table.20.stdWrap.prefixComment =
# Anker vor Content-Elementen entfernen
stdWrap.dataWrap =
stdWrap.prepend.dataWrap =
}
# Einschalten des Spam Schutzes
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
#config.simulateStaticDocuments = 1
#config.simulateStaticDocuments_noTypeIfNoTitle = 1
Im Browser siehts dann ungefähr so aus:
Bild: img709.imageshack.us/…/tempproblem.jpg
Hier der Link zum Original Template (2. von oben):
http://www.styleshout.com/free-templates.php?page=6
Leider weiß ich nicht woran es liegt das die Marker nicht ansprechbar sind,
deshalb die Frage an die Community (Euch).
Könnt ihr mir helfen?
Gruß,
Malak