![]() |
| | LinkBack (1) | Themen-Optionen | Thema durchsuchen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo zusammen, hab heut mal wieder was an einer Webseite gemacht. Nach dem Umstellen auf die Deutsche Sprache hab ich noch ein kleines Problem mit tt_news. Dies zeigt mir beim Datum soetwas an: "Dienstag 27. of März 2007". Hier müsste das "of" noch raus, dann wäre es ok. Um das zu bewerkstelligen hab ich bei der Constantssektion im Template folgendes Eingetragen: Code: ###News Datumformat plugin.tt_news.displayList.date_stdWrap.strftime = %A, %d. %B %Y plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %d. %B %Y plugin.tt_news.displaySingle.time_stdWrap.strftime = %H:%M Uhr Die tt_news sind über das Plugininterface (nach dem einfügen in der Seite) eingerichtet worden. Hier noch mal die komplette Constants: Code: plugin.tx_jmgallery_pi1.list_pid = 3 plugin.tx_jmgallery_pi1.album_pid = 41 plugin.tx_jmgallery_pi1.single_pid = 42 plugin.tx_jmgallery_pi1.comments.storagePid = 3 PAGE_TARGET = _self styles.content.links.target = _self plugin.tx_jmgallery_pi1.single.maxHeight = 500 plugin.tx_jmgallery_pi1.single.maxWidth = 600 plugin.tx_jmgallery_pi1.cover.maxHeight = 200 plugin.tx_jmgallery_pi1.cover.maxWidth = 200 ###News Datumformat plugin.tt_news.displayList.date_stdWrap.strftime = %A, %d. %B %Y plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %d. %B %Y plugin.tt_news.displaySingle.time_stdWrap.strftime = %H:%M Uhr Code: # Globe Seiteneinstellungen vornehmen
page.config.nocache = 1
page.config.metaCharset = utf-8
page.config.additionalHeaders = Content-Type:text/html;charset=utf-8
page.config.disablePrefixComment = 1
config.doctype = xhtml_trans
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE.utf8@euro
config.xhtml_cleaning = all
config.htmlTag_langKey = de
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
config.spamProtectEmailAddresses = 1
tt_content.mailform.20.badMess = Sie müssen alle nachfolgenden Felder ausfüllen:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/template/css/layout.css
page.10 = TEMPLATE
page.10 {
workOnSubpart = TEMPLATEPART
template = FILE
template.file = fileadmin/template/site_template.html
}
page.10.marks {
MAIN_NAVI < lib.mainnavi
CONTENT < styles.content.get
FOOTER < lib.footernavi
}
}
[browser = msie] && [version = 6]
page.includeCSS.file10 = fileadmin/template/css/ie6hack.css
[global]
[browser = msie] && [version = 7]
page.includeCSS.file10 = fileadmin/template/css/ie7hack.css
[global] |
|
#2
| |||
| |||
| Hi, mach mal das Datum ins Setup, dann sollte es klappen. |
|
#3
| |||
| |||
| Ändert leider nichts... |
|
#4
| |||
| |||
| Ok, hab nun zu den einzelnen Seiten ext Templates angelegt und folgendes reingeschrieben: Code: plugin.tt_news.displayList.date_stdWrap.strftime = %A, %e. %B plugin.tt_news.displayLatest.date_stdWrap.strftime = %A, %e. %B plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %e. %B plugin.tt_news.displaySingle.time_stdWrap.strftime = %H:%M Uhr |
![]() |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.typo3forum.net/forum/typo3-4-x-fragen-probleme/20722-tt_news-deutsches-datum.html | ||||
| Erstellt von | For | Type | Datum | |
| pinselhaar's bookmarks on del.icio.us | This thread | Refback | 29.07.07 11:45 | |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| tt_news: Probleme mit deutschem Datum | josephtura | News (tt_news, mininews und Co) | 5 | 06.02.08 14:13 |
| tt_news > Datum komplett auf DE | Toccamonium | News (tt_news, mininews und Co) | 7 | 09.01.08 10:46 |
| tt_news - Zeit/Datum entfernen? | rotwildmarcy | News (tt_news, mininews und Co) | 2 | 08.05.07 12:42 |
| tt_news Datum verändern | Katinka | TYPO3 4.x Fragen und Probleme | 0 | 05.04.07 12:12 |
| Datum-/Zeitformatierung bei tt_news | Spice1983 | News (tt_news, mininews und Co) | 1 | 07.02.07 22:25 |