[Typo3-UG Oesterreich] Indexed Search mehrsprachig mit Formular

office at phpsolution.at office at phpsolution.at
Thu Feb 24 14:30:24 CET 2005


Hallo
Hab wieder mal ein Problem was ich einfach nicht lösen kann! Hab eine
mehrsprachige Seite wo überall ein Suchfeld eingebaut ist!
Nur wenn ich auf dieses Suchfeld klicke bekomme ich immer die Standard
Sprache!

Ich dachte es mir so!
Wenn die Sprache L=1 oder L=2 und wenn keines von den beiden dann gehe in
den ELSE Pfad aber es schaut so aus als ob er immer in den Else Pfad geht!



# Searchbox und Shopdaten Mehrsprachig
#######################################

[globalVar = GP:L = 1]
subparts.SUCHEN = COA
subparts.SUCHEN {
       30 = TEXT
       30.value = <form action="index.php?id=35&L=1" method="post"><input
type="hidden" name="tx_indexedsearch[_sections]" value="0"><input
type="hidden" name="tx_indexedsearch[results]" value="10"><input
type="text" name="tx_indexedsearch[sword]" value=""
style="border:1px #d1903f solid; font-family:Arial, Helvetica,
sans-serif; font-size:11px; color:#d1903f; font-weight:bold;
size:80px;">&nbsp;&nbsp;<input
name="tx_indexedsearch[submit_button]" type="image"
src="/fileadmin/html/images/ext_icon.gif" align="middle" width="18"
height="17" border="0"><input type="hidden"
name="tx_indexedsearch[pointer]" value="0"><input type="hidden"
name="tx_indexedsearch[ext]" value="0"></form>
       30.insertData = 1
       30.wrap = <div>|</div>
}
[globalVar = GP:L = 2]
subparts.SUCHEN = COA
subparts.SUCHEN {
       30 = TEXT
       30.value = <form action="index.php?id=35&L=2" method="post"><input
type="hidden" name="tx_indexedsearch[_sections]" value="0"><input
type="hidden" name="tx_indexedsearch[results]" value="10"><input
type="text" name="tx_indexedsearch[sword]" value=""
style="border:1px #d1903f solid; font-family:Arial, Helvetica,
sans-serif; font-size:11px; color:#d1903f; font-weight:bold;
size:80px;">&nbsp;&nbsp;<input
name="tx_indexedsearch[submit_button]" type="image"
src="/fileadmin/html/images/ext_icon.gif" align="middle" width="18"
height="17" border="0"><input type="hidden"
name="tx_indexedsearch[pointer]" value="0"><input type="hidden"
name="tx_indexedsearch[ext]" value="0"></form>
       30.insertData = 1
       30.wrap = <div>|</div>
}
[else]
subparts.SUCHEN = COA
subparts.SUCHEN {
       30 = TEXT
       30.value = <form action="index.php?id=35" method="post"><input
type="hidden" name="tx_indexedsearch[_sections]" value="0"><input
type="hidden" name="tx_indexedsearch[results]" value="10"><input
type="text" name="tx_indexedsearch[sword]" value=""
style="border:1px #d1903f solid; font-family:Arial, Helvetica,
sans-serif; font-size:11px; color:#d1903f; font-weight:bold;
size:80px;">&nbsp;&nbsp;<input
name="tx_indexedsearch[submit_button]" type="image"
src="/fileadmin/html/images/ext_icon.gif" align="middle" width="18"
height="17" border="0"><input type="hidden"
name="tx_indexedsearch[pointer]" value="0"><input type="hidden"
name="tx_indexedsearch[ext]" value="0"></form>
       30.insertData = 1
       30.wrap = <div>|</div>
}
[end]

Hoffe ihr könnt mir kurz bei dem Problem helfen!! danke!!





More information about the TYPO3-at mailing list