[TYPO3-english] Search Confusion

Philipp Gampe phil at philippgampe.info
Tue Jul 7 23:13:53 CEST 2009


Am 07.07.2009, 21:34 Uhr, schrieb John Fox <fox at johnfoxstudios.com>:

> I found an example for searching my site a few months ago and have been
> using it on all of my pages:
>
> <form action="/index.php?id=80&no_cache=1"
> id="aaa4c1af75bc943375a19eec514a40df9"
> name="aaa4c1af75bc943375a19eec514a40df9" enctype="multipart/form-data"
> method="post" onsubmit="return
> validateForm('aaa4c1af75bc943375a19eec514a40df9','','','','')">
> <input type="hidden" name="stype" value="L0" />
> <input type="hidden" name="locationData" value="80:tt_content:90" />
> <div style="float:left;"><input type="text" id="searchBox" name="sword"
> value="Search" onClick="if(this.value=='Search'){this.value='';}"  
> /><input
> type="hidden" name="scols"
> value="tt_content.header-bodytext-imagecaption:tt_news.title-bodytext"></div
>>
> <div id="goSearchBut"><input type="image"
> src="fileadmin/template/main/images/go_button.gif" name="submit"
> value="submit" /></div>
>   </form>
>
> This returns valid results and works fine.  My issue is that I¹m  
> translating
> my site into 4 languages and was looking into changing the returned text  
> on
> my search results page (it¹s currently in English - ³Sorry, your search  
> was
> empty!² for example).  I keep reading about instructions for ³Indexed
> Search².  So I¹m confused and hope someone can help me out... is this
> indexed search, just a regular search or something else?  Any help would  
> be
> much appreciated!
>
> I¹m using 4.2.2
>
> Thanks,
> John


it would be more interesting to show your Typo3 Script instead of your  
HTML code

to answer you question: you can use the default lang labels of indexed  
search
or you can make a condition for every language you have and ajust the  
nescessaire code/text

Best regards
Phil


-- 
I never knew how good Opera is as a newsreader! Try it!
(used Thunderbird and Evolution before)


More information about the TYPO3-english mailing list