---
title: "Für ein Suchformular die Suchseite bestimmen"
url: "https://www.typo3.net/d/372-fuer-ein-suchformular-die-suchseite-bestimmen"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage","Suche"]
created: "2002-10-13"
last_reply: "2002-10-14"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Für ein Suchformular die Suchseite bestimmen

TYPO3 › TypoScript · 2 Antworten · gestartet 2002-10-13

## Eröffnungsbeitrag

**FordPrefect** · 2002-10-13 · [Beitrag #1](https://www.typo3.net/d/372-fuer-ein-suchformular-die-suchseite-bestimmen/1)

Hallo,

habe mir folgendes Formular gebastelt;

bottomleft.formtag = FORM
bottomleft.formtag{
  layout = <tr><td align=right>###LABEL###</td><td><img src="clear.gif" width={$styles.content.mailform.border}></td><td>###FIELD###</td></tr>
  labelWrap.wrap = {$styles.content.mailform.labelWrap}
  fieldWrap.wrap = {$styles.content.mailform.fieldWrap}
  commentWrap.wrap = {$styles.content.mailform.commentWrap}
  radioWrap.wrap = {$styles.content.mailform.radioWrap}
  REQ = 1
  REQ.labelWrap.wrap = {$styles.content.mailform.REQ.labelWrap}
  COMMENT.layout = <tr><td colspan=3 align=center>###LABEL###</td></tr>
  stdWrap.wrap = <table border=0 cellspacing=0 cellpadding=2>  | </table>
  target = {$styles.content.mailform.target}
  goodMess = {$styles.content.mailform.goodMess}
  badMess = {$styles.content.mailform.badMess}
  redirect.field = pages
  redirect.listNum = 0
  recipient.field = subheader
  data.field = bodytext
  type >
  locationData = 1
}

bottomleft.10 = CONTENT
bottomleft.10 < bottomleft.formtag
bottomleft.10 {
  goodMess = {$styles.content.searchform.goodMess}
  redirect >
  recipient >
  data >
  dataArray {
    10.label = Suche:
    10.type = sword=input

    20.type = scols=hidden
    20.value = tt_content.header-bodytext-imagecaption
    30.type = stype=hidden
    30.value = L0
    40.type = submit=submit
    40.value = suchen!
  }
  type.field = pages
  type.listNum = 0
  locationData = HTTP_POST_VARS
  no_cache = 1
}

Wie kann ich nun die suchergebnisseite festlegen, immer ist es die pid 1

Gruss

## Antworten

### [#2](https://www.typo3.net/d/372-fuer-ein-suchformular-die-suchseite-bestimmen/2) · Blacky · 2002-10-14

Hallo,

versuche mal diese Zeilen zu ändern von:

badMess = {$styles.content.mailform.badMess}
####################
redirect.field = pages
redirect.listNum = 0
####################
recipient.field = subheader
data.field = bodytext

zu:
redirect >
redirect = 100

100 ist deine Suchergebniss-Seite.

hth

Gruß

Andreas Schwarzkopf
<http://www.meinsystem.de>

### [#3](https://www.typo3.net/d/372-fuer-ein-suchformular-die-suchseite-bestimmen/3) · FordPrefect · 2002-10-14

Hy Blacky,

du bist der Gott, ich danke dir für deine Hilfe, hast mir sehr sher geholfen.

Hoffe kann mich mal revanchieren

Gruss

Ford

---

Quelle: „Für ein Suchformular die Suchseite bestimmen“, typo3.net, https://www.typo3.net/d/372-fuer-ein-suchformular-die-suchseite-bestimmen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
