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
Leider interessiert in das mal gar nicht.
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
Und das Root Template:
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] Vielleicht hat ja von euch noch jemand eine Idee wie ich dies richtig darstellen kann.