[Typo3] css_styled_content and searchform config

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 19 11:05:52 CEST 2005


Piotr B. schrieb am 18.10.2005 15:59:

> i've met another problem..
> i want to change some settings for the standard searchform.
> the documentation says:
> 
> [global]
> styles.content.searchform < styles.content.mailform
> styles.content.searchform {
>     goodMess = {$styles.content.searchform.goodMess}
>     redirect >   
>     recipient >
>     data >
>     dataArray {
>         10.label = [...] and so on.
> 
> the problem is, i use css_styled_content instead of standard content,
> and probably that's why above config is not working... all i wanna do is
> change the name of labels and exchange their places. what did i do wrong?

Try setting in "tt_content.search.30" instead of
"styles.content.searchform". So:

  tt_content.search.30.dataArray.10.label = [...]

> i know, it's probably so simple, that makes you laugh, but i just can't
> find it.. [or don't know how to search ;)]

You can try using the Web>Templates> module, and first look in the
"Template Analizer". Click on the "EXT:css_styled_content" static
template and see where all is defined. Use the "TypoScript Object
Browser" if you want to see exactly how the merged template is then
build by TYPO3.

Cheers,
Ernesto



More information about the TYPO3-english mailing list