Hallo,
ich habe mir die Extension fesearchintables installiert. Laut Dokumentation kann man damit alle T3 Tabellen durchsuchen. Ich habe nun versucht das für die Tabelle tt_content zu konfigurieren. Das klappt auch soweit ganz gut. Die Suchergebnisse werden dargestellt. Aber wenn ich auf den Link klick, um zur entsprechenden Seite zu gelangen komme ich auf eine leere Seite, weil irgendei Parameter falsch ist. Es wird immer eine falsche PageID angegeben.
Des weiteren würde ich das ganze so modifizieren, dass immer die Überschrift des Contentelements als Überschrift des dazugehörigen aufgelisteten Suchergebnisses dargestellt wird.
Hat jemand mit der Extension Erfahrung und könnte bitte helfen?
Hier der Code der ext_typoscript_setup.txt :
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:
| plugin.tx_fesearchintable_pi1 { debugRecordFields = 0 CMD = {$plugin.tx_fesearchintable_pi1.CMD} Limit = {$plugin.tx_fesearchintable_pi1.Limit} backLink = 1 backWrap = <div align="center">|</div> form = FORM form.dataArray { 10.label.data = LLL:EXT:fesearchintable/pi1/locallang.php:label.search 10.label.wrap = |: 10.type = sword=input,30 20.type = submit=submit 20.value.data = LLL:EXT:fesearchintable/pi1/locallang.php:label.search } form.type = {$plugin.tx_fesearchintable_pi1.resultsPID} form.locationData = 1 form.layout = <td></td><td> ###FIELD###</td> form.labelWrap.wrap = <strong>|</strong> form.stdWrap.wrap = <table cellspacing="2" cellpadding="2" border="0"><tr>|</tr></table> form.wrapFieldName = tx_fesearchintable_pi1[|] searchAdditionalPiVarsWrap = with | as searchTables { tt_content = 1 tt_content.name = tt_content tt_content.fields = header,subheader,bodytext tt_content.pidList = 139 #ID der Startseite tt_content.recursive = 100 tt_content.orderBy = date DESC tt_content.listHeader = COA tt_content.listItem = COA tt_content.listItem { stdWrap.wrap = <li style="list-style:none;">|</li> 10 = TEXT 10.field = title 10.wrap = <strong><em>Ergebnis</em></strong><strong style='color:#006699;'>|</strong><br> 20 = TEXT 20.field = short//bodytext 20.crop = 40|... 30 = TEXT 30.value = mehr<font size=1>></font> 30.typolink.parameter.data = TSFE:id 30.typolink.wrap = <strong>|</strong> 30.typolink.ATagBeforeWrap = 1 30.typolink.additionalParams.dataWrap = &tx_fesearchintable_pi1[sTable]=tt_content&tx_fesearchintable_pi1[sUID]={field:uid}&tx_ttcontent[tt_content]={field:uid} } tt_content.listStdWrap.wrap = <ol style="margin-top:-10px">|</ol> tt_content.singleView < plugin.tt_content tt_content.singleView.code > tt_content.singleView.code = SINGLE } results { headerWrap.wrap = <em>|</em><br> displayingWrap.wrap = |<br> keywordsWrap.fontTag = <font color="Red">|</font> tableListItemWrap.wrap = <li style=" list-style:none;">|</li> } } |