Hallo!
Ich bin gerade dabei meine Seite w3.org validate zu machen. Die Seite ist auch vollkommen kombatibel nur wenn ich die über TYPO Script integrierte Suchfunktion einbaue bekomme ich plötzlich 6 Fehler. Wenn ich mir dann den Code anschaue der durch die tt_content.search erzeugt wird falle ich fast in Ohnmacht!! icon_wink.gifJetzt meine Frage wie bekomme ich den w3.org kombatibel. Anbei mein Typo Code sowie der Ausschnitt des HTML Codes:
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:
| tt_content.search.30 { target = _top redirect = 196 layout = ###FIELD### dataArray.10 { label = value = Search type = *sword = input, 10, 30 } dataArray.20 { valueArray > type = scols = hidden value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption } image = IMAGE image.altText = Suche image.file = fileadmin/templates/htlwebnet_theme_2006/home/images/search_button.png } tt_content.search.20 { renderObj.10 { typolink.target = _top } } search < tt_content.search.30 search - ERROR: Line 30: Object Name String, "search" was not preceeded by any operator, =<>({ { target = _top layout = ###FIELD### stdWrap.wrap > dataArray.10 { label = type = *sword = input, 10, 30 } dataArray.20 { valueArray > type = scols = hidden value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption } image = IMAGE image.altText = Suche image.file = fileadmin/templates/htlwebnet_theme_2006/images/red_arrow.png } - ERROR: Line 47: An end brace is in excess. |
HTML-Code:
<div id="search"> <form action="no_cache/suchergebnis-home.html" id="a82854797275047def624d12ed827717c" name="a82854797275047def624d12ed827717c" enctype="multipart/form-data" method="post" target="_top" onsubmit="return validateForm('a82854797275047def624d12ed827717c','sword,Searchword%3A','','','')"> <div style="display:none;"> <input type="hidden" name="scols" value="pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption" /><input type="hidden" name="stype" value="L0" /><input type="hidden" name="locationData" value="90:pages:90" /> </div> <!-- Search form inserted: [begin] --> <table border="0" cellspacing="1" cellpadding="1" class="csc-searchform"> <input type="text" name="sword" size="10" maxlength="30" value="Search" /> <input type="image" name="submit" src="fileadmin/templates/htlwebnet_theme_2006/home/images/search_button.png" width="12" height="12" border="0" alt="Suche" title="Suche" /> </table> <!-- Search form inserted: [end] --> </form> </div> Wenn mir jemand z.B.: sagen könnte wie die Datei heißt von der das Template genommen wird, dann könnte ich ja diese verändern. Natürlich wäre mir eine einfachere Methode lieber. Ich habe diese Frage bereits in einem anderen Forum gestellt, ohne Ergebnis, vielleicht wißt ihr eine Lösung.
Gruß,
Florian