Zum Inhalt springen

Suchformular mit ###MARKER###

Erstellt am 9. August 2006 · 1 Antwort · letzte Antwort am 11. August 2006

Tags: Frage

coresystems ·

Hallo zusammen. Ich möchte auf einer Website eine Suchfunktion einbauch, welche ich mit dem Marker ###SUCHE### anspreche. So weit bin ich gekommen:
http://swissaddons.netrics.ch
Problem 1:
Wie kann ich jetzt dem INPUT-Textfeld eine Klasse und eine ID geben, um sie dann mit CSS zu formatieren?

Problem 2:
Dem Absendebutton habe ich ein GIF hinterlegt. Leider verschiebt sich dieser ständig nach oben. Damit es für euch ersichtlich ist, habe ich einfach mal beide Felder mit grünem Background hinterlegt. Ich hoffe, jemand kann mir bei diesem Problem helfen!

Hier noch das Typoscript:

# SUCHFORMULAR MIT MARKER ANSPRECHEN UND ANPASSEN

seite {
  10.marks {
    SUCHE < tt_content.search.30
    SUCHE {
      layout = ###FIELD###
      stdWrap.wrap >

      target = _self
      redirect = 2
      badMess = Bitte füllen Sie alle erforderlichen Felder aus:
      dataArray.10 {
        label.override = Ihre Suche:
        type = *sword = input, 20, 30
      }
      dataArray.20 {
        valueArray >
        type = scols = hidden
        value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
      }
      image = IMAGE
      image.file = fileadmin/images/uploads/icons/lupe.gif
    }
  }
}

[/b]

coresystems ·

Nach langem googeln hab ich immer noch nichts zu diesem Problem gefunden. Hat jemand einen Ansatz oder eine Seite, welche mich weiterbringt? Merci