Wie im Titel bereits beschrieben, habe ich das Problem, dass die Suchergebnisse nur in dem Contentbereich ausgegeben werden, wo sich das Suchformular selbst befindet (unter Nutzung des Auto-Parsers).
Meine Frage an dieser Stelle:
Welches Such-Plugin benutzt ihr, um die Ergebnisse separat ausgeben zu lassen?
Und wenn dies möglich ist. Wie kann man dies über den Auto-Parser realisieren?
Hier das Script für das Template:
#Menu
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1_level1_no" align="left"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1_level1_act" align="left"> | </div>
}
#Untermenu
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1_level2_no" align="left"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1_level2_act" align="left"> | </div>
}
# Auto-Parser für Haupttemplate:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/template.htm
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix =fileadmin/template/
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1
subparts.LOGINBOX>
subparts.login = CONTENT
subparts.login.table = tt_content
subparts.login.select.orderBy = sorting
subparts.login.select.pidInList = 79
#[b]Hier die besagte Suche[/b]
subparts.SEARCHBOX>
subparts.suche = CONTENT
subparts.suche.table = tt_content
subparts.suche.select.orderBy = sorting
subparts.suche.select.pidInList = 80
subparts.suche.target = _self
subparts {
content < styles.content.get
}
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
Für jegliche Hilfe wäre ich echt überdankbar...ich verzweifel hier schon langsam...
NEonIC