läuft bei mir irgendwie nicht.
Zumindest in einem bestimmten template nicht. Lege ich ein neues an ist plötzlich alles in deutsch.
Hier mal das komplette Setup. Vielleicht übersehe ich was.
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342: 343: 344: 345: 346: 347: 348: 349: 350: 351: 352: 353: 354: 355: 356: 357: 358: 359: 360: 361: 362: 363: 364: 365: 366: 367: 368: 369: 370: 371: 372: 373: 374: 375: 376: 377: 378: 379: 380: 381: 382: 383: 384: 385: 386: 387: 388: 389: 390: 391: 392: 393: 394: 395: 396: 397: 398: 399: 400: 401: 402: 403:
| page = PAGE page.typeNum = 0 page.meta.DESCRIPTION = {$firmenname} page.meta.KEYWORDS = Internet, Firma, usw page.includeCSS.file1 = fileadmin/template/green_light/css/style.css page.includeCSS.file1.media = screen,projection page.includeCSS.file2 = fileadmin/template/green_light/css/t3.css page.includeCSS.file2.media = screen,projection page.headerData.1 = TEXT page.headerData.1.value ( <!--[if lte IE 7]> <style type=text/css> @import #url(fileadmin/template/green_light/css/pro_dropline_4ie.css); </style> <![endif]--> ) page.headerData.1 = TEXT page.headerData.1.value ( <script type='text/javascript' src='fileadmin/templates/green_light/scripts/menu.js'></script> ) page.headerData.1 = TEXT page.headerData.1.field = title page.headerData.1.wrap = <title>{$firmenname} | | | {$slogan}</title> page.bodyTag = <body> page.1 = TEMPLATE page.1 { template = FILE template.file = fileadmin/template/green_light/index.htm } page.1 { workOnSubpart = DOKUMENT subparts.INHALT < styles.content.get subparts.MENU_OBEN < temp.menuoben subparts.MENU_UNTEN < temp.menuunten subparts.ROOTLINE < tmp.breadcrump subparts.COPYRIGHT < temp.copyright subparts.BANNER < temp.logo subparts.SITETITLE < temp.sitetitle subparts.TITLE < temp.title subparts.LASTUPDATE < temp.lu subparts.DRUCKEN < temp.prn subparts.FIRMENNAME = TEXT subparts.FIRMENNAME.value = <div id="headertext">{$firmenname}</div> subparts.SLOGAN = TEXT subparts.SLOGAN.value = <div id="headertextsmall">{$slogan}</div> subparts.DATUM < temp.datum } page.1.marks.menu_oben = HMENU page.1.marks { menu_oben.maxItems = 7 menu_oben { 1 = TMENU 1 { expAll = 1 wrap = <ul class="glossymenu">|</ul> noBlur = 1 NO { wrapItemAndSub = <li>|</li> ATagParams = class="link1" stdWrap.wrap=<b>|</b> stdWrap = upper ATagTitle.field = description // title } ACT=1 ACT { wrapItemAndSub = <li class="current">|</li> stdWrap = upper ATagParams = stdWrap.wrap=<b>|</b> ATagTitle.field = description // title } } } } page.1.marks.ContentLeft = COA page.1.marks.ContentLeft { 10 < styles.content.getLeft 10.select.pidInList = 10 10.renderObj.text.wrap = <div class="in-the-news">|</div> 10.renderObj.text.10.wrap = <div class="left-heading">|</div> 10.renderObj.text.20.wrap = <div class="left-mid">|</div><img src="fileadmin/template/green_light/images/left-bottom.gif" class="block" alt="" /> } page.1.marks.suche < plugin.tx_macinasearchbox_pi1 page.1.marks.suche { pidSearchpage = 4 templateFile = fileadmin/template/green_light/suche.htm } plugin.tx_indexedsearch { templateFile = fileadmin/template/green_light/indexed_search.tmpl _CSS_DEFAULT_STYLE = .tx-indexedsearch .tx-indexedsearch-browsebox LI { display:inline; margin-right:5px; } .tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button { width:100px; } .tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword { width:150px; } .tx-indexedsearch .tx-indexedsearch-whatis { margin-top:10px; margin-bottom:5px; } .tx-indexedsearch .tx-indexedsearch-whatis .tx-indexedsearch-sw { font-weight:bold; font-style:italic; } .tx-indexedsearch .tx-indexedsearch-noresults { text-align:center; font-weight:bold; } .tx-indexedsearch .tx-indexedsearch-res TD.tx-indexedsearch-descr { font-style:italic; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr .tx-indexedsearch-redMarkup { color:white; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info { background:#eeeeee; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead { margin-top:20px; margin-bottom:5px; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead H2 { margin-top:0px; margin-bottom:0px; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TD { background:#cccccc; vertical-align:middle; } .tx-indexedsearch .tx-indexedsearch-res .noResume { color:#666666; } .tx-indexedsearch .tx-indexedsearch-category { background:#cccccc; font-size:16px; font-weight:bold; } /* Additional styles, needed for the tableless template_css.tmpl (styles don't conflict with the original template) */ .tx-indexedsearch .res-tmpl-css { clear:both; margin-bottom:1em; } .tx-indexedsearch .searchbox-tmpl-css LABEL { margin-right:1em; width:10em; float:left; } .tx-indexedsearch .result-count-tmpl-css, .tx-indexedsearch .percent-tmpl-css { letter-spacing:0; font-weight:normal; margin-top:-1.2em; float:right; } .tx-indexedsearch .info-tmpl-css dt, .tx-indexedsearch dl.info-tmpl-css dd { float:left; } .tx-indexedsearch .info-tmpl-css dd.item-mtime { float:none; } .tx-indexedsearch .info-tmpl-css dd.item-path { float:none; } } page.1.marks.copyright = TEXT page.1.1marks.copyright { data = date : U strftime = %Y wrap = Copyright © | {$firmenname} } subparts.MENU_UNTEN < page.12 page.12 = "" subparts.IMAGE < temp.ImageOben config { xhtml_cleaning = all doctype = xhtml_trans doctype = xhtml_strict renderCharset = iso-8859-1" htmlTag_langKey = de xmlprologue = none sys_language_uid = 0 language = de locale_all = de_DE admPanel = 0 inlineStyle2TempFile = 1 removeDefaultJS = 0 spamProtectEmailAddresses = 2 spamProtectEmailAddresses_atSubst = (at) } [browser = msie] config.doctypeSwitch = 1 [else] config.doctypeSwitch = 0 [end] temp.sitetitle = COA temp.sitetitle { 5 = RECORDS 5 { source = 1 tables = sys_template conf.sys_template > conf.sys_template = TEXT conf.sys_template.field=sitetitle } } temp.title = COA temp.title { 5 = RECORDS 5 { source = 1 tables = sys_template conf.sys_template > conf.sys_template = TEXT conf.sys_template.field=title } } tt_content.textpic.20{ 1.imageLinkWrap = 1 1.imageLinkWrap { enable = 1 bodyTag = <BODY bgColor=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> wrap = <A href="javascript:close();"> | </A> JSwindow = 1 JSwindow.newWindow = 1 JSwindow.expand = 0,0 } } tt_content.image.20 { 1.imageLinkWrap = 1 1.imageLinkWrap { enable = 1 bodyTag = <BODY bgColor=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> wrap = <A href="javascript:close();"> | </A> JSwindow = 1 JSwindow.newWindow = 1 JSwindow.expand = 0,0 } } lib.stdheader.stdWrap.dataWrap > lib.stdheader.2.headerStyle > lib.stdheader.3.headerClass > lib.stdheader.4.headerClass > lib.stdheader.stdWrap.dataWrap = | lib.stdheader.10.1.fontTag = <h1>|</h1> lib.stdheader.10.2.fontTag = <h2>|</h2> lib.stdheader.10.3.fontTag = <h3>|</h3> lib.stdheader.10.4.fontTag = <h4>|</h4> lib.stdheader.10.5.fontTag = <h5>|</h5> temp.getMyContentLeft = COA temp.getMyContentLeft { 10 < styles.content.getLeft 10.select.pidInList = 2 10.renderObj.text.wrap = <div class="in-the-news">|</div> 10.renderObj.text.10.wrap = <div class="left-heading">|</div> 10.renderObj.text.20.wrap = <div class="left-mid">|</div><img src="fileadmin/template/green_light/images/left-bottom.gif" class="block" alt="" /> } lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class > lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default > lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc tt_content.stdWrap.innerWrap.cObject.1.value = <div class="maincontent"><img src="fileadmin/template/green_light/images/content-top.gif" class="block" alt="" /><div class="content-mid">|</div><img src="fileadmin/template/green_light/images/content-bottom.gif" class="block" alt="" /></div> tt_content.stdWrap.innerWrap.cObject.5.value = <div class="highlightnews"><img src="fileadmin/template/green_light/images/content-top-higlight.gif" class="block" alt="" /><div class="content-higlight">|</div><img src="fileadmin/template/green_light/images/content-bottom-higlight.gif" class="block" alt="" /></div> tt_content.mailform = COA tt_content.mailform.10 = < lib.stdheader tt_content.mailform.20 = FORM tt_content.mailform.20 { params > params.input = class="mf-input" params.password = class="mf-pass" params.textarea = class="mf-text" params.check = class="mf-check" radio = class="mf-radio" params.select = class="mf-select" params.file = class="mf-file" params.reset = class="mf-reset" params.submit = class="mf-submit" badMess = Bitte kontrollieren Sie folgende Angaben: target = _self } temp.datum = COA temp.datum { 10 = TEXT 10.data = date:U 10.strftime = %A, %d. %B. %Y 10.wrap = | no_cache = 1 } temp.menuunten=HMENU temp.menuunten.special=directory temp.menuunten.special.value=3 temp.menuunten.1=TMENU temp.menuunten.1{ noBlur = 1 NO{ linkWrap=|*| | | |*| |*| ATagParams=class="menu_unten" ATagTitle.field = description // title } } tmp.breadcrump = HMENU tmp.breadcrump { special = rootline special.range = 1|-1 1 = TMENU 1.noBlur = 1 1.wrap = <p class="rootline">:: | </p> 1.target = _self 1.NO { linkWrap= | allWrap = |*|| » |*| |*| ATagTitle.field = description // title ATagBeforeWrap = 1 } } |
Ist noch ein wenig durcheinander, ich bin noch nicht ganz fertig