[TYPO3-Solr] Search Box with templavoila
Hans Peter Maier
istbanane at googlemail.com
Thu May 19 13:23:20 CEST 2011
Great!
thx
HP
"Manfred Mirsch" <manfred.mirsch at hs-esslingen.de> schrieb im Newsbeitrag
news:mailman.1.1305032140.25449.typo3-project-solr at lists.typo3.org...
> You could use something like this in your template code:
>
> #constants:
> suchseite = 4711 # page id of your search page
>
> #setup
> lib.suchen = COA
> lib.suchen {
> 10 = TEXT
> 10.typolink.parameter = {$suchseite}
> 10.typolink.returnLast = url
> 10.wrap = <form action="|" method="post">
> 20 = TEXT
> 20.value (
> <input type="submit" class="submit-button" value="suche"/>
> <input type="text" class="searchstring" name="tx_solr[q]" size="20"/>
> </form>
> )
> }
>
> Greetings,
> Manfred
>
>> Hi,
>>
>> I'm trying to implement the search box from solr on every page with
>> templatevoila. Can someone tell me how i can embed the search box?
>> Ideally a example with a ts?
>>
>> regards
>> hp
>>
>>
>>
>
>
>
> --
> -----------------------------------------------------
> Dipl.-Inform. Manfred Mirsch (Webmaster)
> Hochschule Esslingen - University of Applied Sciences
> Kanalstrasse 33 / D-73728 Esslingen
> Tel. +49 (0)711 397-3166
> Email: Manfred.Mirsch at hs-esslingen.de
> -----------------------------------------------------
More information about the TYPO3-project-solr
mailing list