[TYPO3-german] fortune cookie läuft nicht
Markus Nagel
markus.nagel at kath.ch
Mon Jan 9 12:30:56 CET 2006
hallo zusammen,
ich möchte auf der website wechselnde sprüche publizieren und würde gerne
die extension fortune cookie verwenden. ich habe sie installiert und das
phpscript ins vorgesehene verzeichnis getan und folgenden code ins template
eingefügt:
###fortunes
tt_content.script = CASE
tt_content.script.key.field = select_key
tt_content.script.fortune = PHP_SCRIPT
tt_content.script.fortune.file = fileadmin/scripts/fortune.inc
tt_content.script.fortune {
data.field = bodytext
renderObj = COA
renderObj {
wrap =
//{$content.wrap.bodytext}
10 = TEXT
10.value = ###column1###
10.innerWrap = Aus: <b>|</b><br>
10.textStyle < styles.content.textStyle
10.textStyle.size.default = 1
10.wrap = <span style="line-height: 100%">|</span>
20 = TEXT
20.value = ###column2###
20.wrap = |
20.textStyle < styles.content.textStyle
20.textStyle.size.default = 2
30 = TEXT
30.value = ###column3###
30.innerWrap = |
30.textStyle < styles.content.textStyle
30.textStyle.size.default = 1
30.wrap = <br><span style="line-height: 100%">|</span>
30.require = 1
}
}
entweder läuft die extension mit typo3.8 nicht mehr oder mir ist ein
deppenfehler unterlaufen.
danke für hilfe!
gruss
markus
More information about the TYPO3-german
mailing list