[TYPO3-english] Macina Search box - multilanguages [Chinese, Hindi etc]
Victor Livakovsky
v-tyok at mail.ru
Thu Jun 24 14:48:18 CEST 2010
Hi.
Dmitry is right. You better implemet it by TS only - without any extensions.
Some way, like this:
lib.searchForm = COA_INT
lib.searchForm.10 = TEXT
lib.searchForm.10 {
typolink.parameter = {$searchUid}
typolink.returnLast = url
wrap = <form action="|" method="post">
}
lib.searchForm.20 = TEXT
lib.searchForm.20 {
data = GPvar : tx_indexedsearch |sword
wrap = <input name="tx_indexedsearch[sword]" value="|" type="text" />
}
lib.searchForm.30 = TEXT
lib.searchForm.30.value (
<input type="hidden" name="tx_indexedsearch[sections]" value="0" />
<input type="submit" value="Submit" />
</form>
)
So, you may change this code, as you wish, as well as implement different
parts for different languages.
More information about the TYPO3-english
mailing list