[TYPO3-german] tt-content / datum in deutsch?
Michael Neumann
neumann at micneu.de
Wed Dec 27 09:39:34 CET 2006
ich bekomme es einfach nicht hin, das in meiner design-vorlage der inhalt
von typo3 ausgegeben wird.
und noch eine frage wie bekomme ich es hin das datum mit deutschen angaben
geschrieben wird? (December sondern Dezember)
muß ich das nicht irgend wie im kopf der html seite machen? (meta angaben)?????
nur der wird ja von typo3 überschrieben
Hier mein typoscript template:
config.simulateStaticDocuments = 1
config.xhtml_cleaning = all
config.cache_period = 10
# Default PAGE object:
page = PAGE
page {
typeNum = 0
# Allgemeine Seiteneigenschaften setzen
bodytag = <body id="page-home">
meta.AUTHOR = Michael Neumann
meta.DESCRIPTION = Hier stehet eine Beschreibung
stylesheet = fileadmin/style.css
# Die Designvorlage integrieren
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/index.html
10.workOnSubpart = DOKUMENT
# Der Platzhalter DATUM ansprechen
10.marks.DATUM = TEXT
10.marks.DATUM {
data = date : U
strftime = %A, %e. %b. %Y
}
# Der Platzhalter KLICKPFAD ansprechen
10.marks.KLICKPFAD = HMENU
10.marks.KLICKPFAD {
special = rootline
special.range = 2| -1
1 = TMENU
1.NO = 1
1.NO.linkWrap = | /
}
# Das Textmenü LINKS erstellen
10.marks.MENU_LINKS = HMENU
10.marks.MENU_LINKS.entryLevel = 2
10.marks.MENU_LINKS {
special = directory
special.value = 7
1 = TMENU
1.NO = 1
1.NO.linkWrap = <li> | </li><br>
1.ACT = 1
1.ACT {
allWrap = <li><strong> | </strong></li><br>
}
}
# Aktueller Copyright im FOOTER
10.marks.FOOTER = TEXT
10.marks.FOOTER {
data = date : U
strftime = %Y
wrap = © | Michael Neumann
}
# MENU_UNTEN rootline
10.marks.MENU_UNTEN=HMENU
10.marks.MENU_UNTEN.special=rootline
10.marks.MENU_UNTEN.special.range= 2 | -1
10.marks.MENU_UNTEN.1=TMENU
10.marks.MENU_UNTEN.1.NO.allWrap= Sie sind hier: | >
|*| | > |*| |
# Inhalt ausgeben
INHALT.tt_content = CASE
INHALT.tt_content {
key.field = CType
text = COA
text.10 = TEXT
text.10.field = header
text.10.wrap = <h1>|</h1>
text.20 = TEXT
text.20.field = header
text.20.wrap = <p>|<p>
default = TEXT
default.field = CType
default.wrap = <b>CTYPE "|" not defined! </b>
}
}
und hier meine designvorlage:
<div id="main">
<h1>Main</h1>
<p>###INHALT###</p>
<hr />
</div><!-- end main -->
More information about the TYPO3-german
mailing list