[TYPO3-german] searchbox zweisprachig

Domi Garms djgarms at gmail.com
Wed Nov 3 12:17:42 CET 2010


Hallo Ulli,

du bekommst es mit TS-Language Bedingung hin (z.b. [globalVar =
GP:L=1] ). Aber darauf achten, dass deine Bedingung NICHT in einer
Klammer steht. Bin sicher dass du unter der TSREF die
Sprachenbedingung findest, dann nur darauf achten dass du die richtige
reihenfolge beibehälst

Schöne Grüße
domi

Am 3. November 2010 17:41 schrieb Ulli Jooker <ujooker at yahoo.com>:
> hallo,
>
> kann mir vielleicht jemand helfen wie ich folgende TS zweisprachig bekomme?
> für value="Suchen" soll im engl "search" stehen ...
>
> gruss ulli
>
>
> #########Searchbox
> # ****************************************************
> lib.searchbox=COA_INT
> lib.searchbox{
>  stdWrap.prefixComment=2 | lib.searchbox
>  10=TEXT
>  10.typolink.parameter={$plugin.tx_indexedsearch.searchUID}
>  10.typolink.returnLast=url
>  10.wrap=<div id="indexedsearchbox"><form action="|" method="post"
> id="indexedsearch"><table cellpadding="0" cellspacing="0"  border="0">
>  20=COA
>  20{
>    wrap=<tr> | </tr>
>    10=TEXT
>    10.data=GPvar : tx_indexedsearch |sword
>    10.wrap=<td><input onFocus="this.value='';"  name="tx_indexedsearch[sword]"
> value="Suchen" class="searchbox"  type="text" /></td>
>    20=COA
>    20{
>      wrap=<td align="left"> |</td>
>      10=TEXT
>      10.value=<input type="hidden" name="tx_indexedsearch[sections]" value="0"
> />
>      20=TEXT
>      20.value=<input name="tx_indexedsearch[submit_button]" value="Search"
> type="hidden" />
>      30=TEXT
>      30.value=<input name="search"
> src="fileadmin/templates/layout_images/bullets/search.png"  value="Search"
> class="searchbox-button" type="image" />
>    }
>  }
>  30=COA
>  30{
>    wrap=<tr>|</tr>
>    10=TEXT
>    10.value=Advanced search »
>    10.typolink.parameter={$plugin.tx_indexedsearch.searchUID}
>    10.typolink.additionalParams=&tx_indexedsearch[ext]=1
>    10.wrap=<td colspan="2">|</td>
>    if.isTrue={$plugin.tx_indexedsearch.showAdvanced}
>  }
>  wrap=| </table></form></div>
> }
>
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>


More information about the TYPO3-german mailing list