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:
Code:
1.
#Menu
2.
temp.menu_1 = HMENU
3.
# First level menu-object, textual
4.
temp.menu_1.1 = TMENU
5.
temp.menu_1.1 {
6.
# Normal state properties
7.
NO.allWrap = <div class="menu1_level1_no" align="left"> | </div>
8.
# Enable active state and set properties:
9.
ACT = 1
10.
ACT.allWrap = <div class="menu1_level1_act" align="left"> | </div>
11.
}
12.
13.
#Untermenu
14.
temp.menu_1.2 = TMENU
15.
temp.menu_1.2 {
16.
# Normal state properties
17.
NO.allWrap = <div class="menu1_level2_no" align="left"> | </div>
18.
# Enable active state and set properties:
19.
ACT = 1
20.
ACT.allWrap = <div class="menu1_level2_act" align="left"> | </div>
21.
}
22.
23.
# Auto-Parser für Haupttemplate:
24.
plugin.tx_automaketemplate_pi1 {
25.
# Read the template file:
26.
content = FILE
27.
content.file = fileadmin/template/template.htm
28.
29.
# Here we define which elements in the HTML that
30.
# should be wrapped in subpart-comments:
31.
elements {
32.
BODY.all = 1
33.
BODY.all.subpartMarker = DOCUMENT_BODY
34.
35.
HEAD.all = 1
36.
HEAD.all.subpartMarker = DOCUMENT_HEADER
37.
HEAD.rmTagSections = title
38.
39.
TD.all = 1
40.
}
41.
42.
# Prefix all relative paths with this value:
43.
relPathPrefix =fileadmin/template/
44.
}
45.
46.
# Main TEMPLATE cObject for the BODY
47.
temp.mainTemplate = TEMPLATE
48.
temp.mainTemplate {
49.
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
50.
template =< plugin.tx_automaketemplate_pi1
51.
52.
# Select only the content between the <body>-tags
53.
workOnSubpart = DOCUMENT_BODY
54.
55.
# Substitute the ###menu_1### subpart with dynamic menu:
56.
subparts.menu_1 < temp.menu_1
57.
58.
subparts.LOGINBOX>
59.
subparts.login = CONTENT
60.
subparts.login.table = tt_content
61.
subparts.login.select.orderBy = sorting
62.
subparts.login.select.pidInList = 79
63.
64.
65.
#<strong>Hier die besagte Suche</strong>
66.
subparts.SEARCHBOX>
67.
subparts.suche = CONTENT
68.
subparts.suche.table = tt_content
69.
subparts.suche.select.orderBy = sorting
70.
subparts.suche.select.pidInList = 80
71.
subparts.suche.target = _self
72.
73.
74.
subparts {
75.
content < styles.content.get
76.
}
77.
}
78.
79.
80.
# Main TEMPLATE cObject for the HEAD
81.
temp.headTemplate = TEMPLATE
82.
temp.headTemplate {
83.
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
84.
template =< plugin.tx_automaketemplate_pi1
85.
# Select only the content between the <head>-tags
86.
workOnSubpart = DOCUMENT_HEADER
87.
}
88.
89.
# Default PAGE object:
90.
page = PAGE
91.
page.typeNum = 0
92.
93.
# Copying the content from TEMPLATE for <body>-section:
94.
page.10 < temp.mainTemplate
95.
96.
# Copying the content from TEMPLATE for <head>-section:
97.
page.headerData.10 < temp.headTemplate Für jegliche Hilfe wäre ich echt überdankbar...ich verzweifel hier schon langsam...
SLP