[Typo3] Adjusting normal searchbox field size

Anton Liebetrau antlie at gmx.ch
Tue Aug 2 20:45:33 CEST 2005


NOBY KURAN has written:
> Betreff: [Typo3] Adjusting normal searchbox field size
>
> hi all,
>
> can any one tell how can i adjust the searchbox field
> length of normal search box.
>
> thanks in advance
>
> noby
>

Enter this in your template (Web > Template > Setup):

  tt_content.search.30.dataArray.10.type = sword=input, 20, 40

This means: Input field "sword" has the length of 20 characters, and you can
enter 40 characters.

With the following TypoScript-Code, the input field "sword" has a length of
20 characters, and the entered string has no length limitation:

  tt_content.search.30.dataArray.10.type = sword=input, 20

If the field "sword" starts with a asterisk (*), then this field is
mandatory (i.e. you have to enter a value):

  tt_content.search.30.dataArray.10.type = *sword=input, 20

I hope, this helps.
Greetings, Anton




More information about the TYPO3-english mailing list