[TYPO3-german] Suche bei 6.1
Peter Schäfer
typo3.newsliste at online.de
Tue Feb 4 07:47:46 CET 2014
Hallo Jan,
ich binde es immer direkt ins Template ein. Ggfl. musst du halt nen
weiteres Template erstellen. Also eins für "mit" Sucheform und eins für
"ohne".
-----------------------------------------------------------------------
Im Template:
<!-- ###SEARCH### begin -->
###SEARCHBOX###
<!-- ###SEARCH### end -->
-----------------------------------------------------------------------
Im TS:
SEARCHBOX = COA_INT
SEARCHBOX {
stdWrap.prefixComment = 2 | SEARCHBOX
10 = TEXT
10.typolink.parameter = ID DER ERGEBNISSEITE
10.typolink.returnLast = url
10.wrap = <div id="search"><form action="|" method="post">
20 = COA
20 {
wrap = |
10 = TEXT
10.data = GP : tx_indexedsearch |sword
10.htmlSpecialChars = 1
10.ifEmpty = TEST DER ANGEZEIGT WIRD WENN SUCHETEXT LEER
10.wrap = <input name="tx_indexedsearch[sword]" value="|"
style="margin-right:4px;" type="text" />
20 = COA
20 {
wrap = |
10 = TEXT
10.value = <input name="tx_indexedsearch[_sections]" value="0"
type="hidden"> <input name="tx_indexedsearch[_freeIndexUid]"
id="tx_indexedsearch_freeIndexUid" value="_" type="hidden"> <input
name="tx_indexedsearch[pointer] id="tx_indexedsearch_pointer"
value="0" type="hidden"> <input name="tx_indexedsearch[ext]" value="0"
type="hidden"> <input name="tx_indexedsearch[type]" value="1"
type="hidden"><input name="tx_indexedsearch[defOp]" value="0"
type="hidden"> <input name="tx_indexedsearch[media]" value="-1"
type="hidden"> <input name="tx_indexedsearch[order]" value="rank_flag"
type="hidden"> <input name="tx_indexedsearch[group]" value="flat"
type="hidden"> <input name="tx_indexedsearch[desc]" value="0"
type="hidden"> <input name="tx_indexedsearch[results]" value="10"
type="hidden">
20 = TEXT
20.value = <input name="tx_indexedsearch[submit_button]"
value="Search" type="hidden" />
30 = TEXT
30.value = <input type="submit" name="search" value="" />
}
}
wrap = | </form></div>
}
-----------------------------------------------------------------------
Zumindest läuft es so bei mir unter 4.5.xx
HAVE FUN
Peter
Am 03.02.2014 23:01, schrieb Jan Kornblum:
>>> irgendwie stehe ich auf dem Schlauch: Möchte das standard
>>> Suchformular als Inhaltselement auf einer seite einbinden, bekomme
>>> aber nur folgende Ausgabe:
>>>
>>> ###LABEL### ###FIELD###
>>>
>>> Default TS (form) ist eingebunden... Was fehlt oder wo liegt mein
>>> Fehler?
>>
>> Hat sich erledigt: Das "form" TS Template muss NACH demm
>> "css_styled_content" TS Template eingebunden werden. Andersrum gehts
>> nicht...
>
> Mist, schon wieder zu voreilig gepostet - Kommando zurück: Das obige
> bezieht sich nur auf normale Formulare, das Suchformular wird dennoch
> nicht angezeigt, egal wierum die Templates eingebunden sind. Any ideas?
>
> Grüße, Jan
>
>
More information about the TYPO3-german
mailing list