[Typo3-UG Denmark] Searchform
Claus Lavdal
spam at lavdal.dk
Sun Aug 15 09:20:57 CEST 2004
Hej Dennis
sæt følgende linie i din template under CONSTANTS:
styles.content.mailform.target = _self
så er dit problemme med at din nye side åbner i et nyt vindue
og følgende linier i din template under SETUP:
tt_content.search.30.dataArray {
10.label.lang.dk = Søgeord:
20.label.lang.dk = Søg i:
}
MVH/claus
"Dennis Hansen" <post at dennishansenxxx.dk> wrote in message
news:mailman.1.1092496337.4963.typo3-ug-denmark at lists.netfielders.de...
> Hvis jeg vil ændre Searchword til f.eks. Søgeord i Searchform funktionen,
> kan jeg så angive mine værdier i min template eller skal dette ændres
> centralt?
>
> Hvis det kan ændres i templaten, hvor?
> Jeg har fundet flg.
>
> styles.content.searchform < styles.content.mailform
> styles.content.searchform {
> goodMess = {$styles.content.searchform.goodMess}
> redirect >
> recipient >
> data >
> dataArray {
> 10.label = Søgeord:
> 10.type = sword=input
> 20.label = Search in:
> 20.type = scols=select
> 20.valueArray {
> 10.label = Headers and keywords
> 10.value =
pages.title-subtitle-keywords-description:tt_content.header
> 20.label = Pagecontent
> 20.value = tt_content.header-bodytext-imagecaption
> }
> 30.type = stype=hidden
> 30.value = L0
> 40.type = submit=submit
> 40.value = Search now!
> }
> type.field = pages
> type.listNum = 0
> locationData = HTTP_POST_VARS
> no_cache = 1
> }
>
> Men det hjælper ikke at indtaste dette!?!
>
> God weekend
>
> Dennis
>
>
More information about the TYPO3-UG-denmark
mailing list