Zum Inhalt springen

Suchformular

Erstellt am 2. Mai 2007 · Noch keine Antworten

Tags: Frage

spinne84 ·

Hallo,

ich bin gerade dabei ein Suchformular mittels TypoScript zu erstellen. Ich möchte ein Suchformular auf einer normalen Seite und ein kleineres Suchformular am oberen Rand über einen Marker.
Siehe http://kecos2.wagner-net.com/dummy/index.php?id=suchen

Mein Problem ist, dass erstens der Text nicht auf den Buttons erscheint und zweitens verschiebt sich das obere Feld mit der Sucheingabe im Internet Explorer und im Firefox verändert sich die Größe des Feldes nicht???

Hier mein TypoScript Code:

1. Für die normale Seite:

  # Das Suchformular anpassen
  tt_content.search.30 {
     target = _self
     badMess = Bitte füllen Sie alle erforderlichen Felder aus:
     dataArray.10 {
        label.override = Ihre Suche:
        type = *sword = input, 15, 30
     }
     dataArray.20 {
        valueArray >
        type = scols = hidden
        value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
     }
     image = IMAGE
     image.file = GIFBUILDER
     image.file {
        XY = 50,20
        backColor = silver
        10 = TEXT
        10.text = SUCHE
        10.fontFile = fileadmin/fonts/verdana.ttf
        10.fontColor = black
        10.fontSize = 11
        10.niceText = 1
        10.offset = 2, 15
     }
  }

2. Für den oberen Rand:

# Suchformular im Platzhalter anzeigen
MENU_UNTEN < tt_content.search.30
MENU_UNTEN {
     layout = ###FIELD###
     stdWrap.wrap >
     target = _self
     redirect = 9
     badMess = Bitte füllen Sie alle erforderlichen Felder aus:
     dataArray.10 {
         Label.override = Ihre Suche:
         type = *sword = input, 10, 30
     }
     dataArray.20 {
         valueArray >
         type = scols = hidden
         value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
     }
     image = IMAGE
     image.file = GIFBUILDER
     image.file {
       	 XY = 20,15
         backColor = silver
         10 = TEXT
         10.text = GO
         10.fontFile = fileadmin/fonts/verdana.ttf
         10.fontColor = black
         10.fontSize = 11
         10.niceText = 1
         10.offset = 2, 13
     }
}

Bitte um Hilfe, da ich schon seit Tagen an dem blöden Ding sitz!

Gruß Spinne84