---
title: "Suche, Filelinks, Login, Mail form,..."
url: "https://www.typo3.net/d/3280-suche-filelinks-login-mail-form"
source: "typo3.net"
tags: ["Allgemein","Frage","Inhaltselemente","Templates & Layouts"]
created: "2003-06-04"
last_reply: "2003-06-10"
replies: 6
solved: false
page: 1
pages: 1
lang: "de"
---

# Suche, Filelinks, Login, Mail form,...

Allgemein · 6 Antworten · gestartet 2003-06-04

## Eröffnungsbeitrag

**ingobert** · 2003-06-04 · [Beitrag #1](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/1)

Hallo

Bin Anfänger in Typo3 und habe bis jetzt bereits "Der Einstieg" und "Modern Template Building 1" durchgearbeitet!

Habe mir folgendes Template nach "Modern Template Building 1"
gebastellt:

```typoscript
# Configuring the Auto-Praser for main template:
plugin.tx_automaketemplate_pi1 {
  # Read the template file:
 content = FILE
 content.file = fileadmin/template/main/template_1.html

  # Here we define which elements in the HTML that
  # should be wrapped in subparts-comments:
 elements {
  BODY.all = 1
  BODY.all.subpartMarker = DOCUMENT_BODY

  HEAD.all = 1
  HEAD.all.subpartMarker = DOCUMENT_HEADER
  HEAD.rmTagSections = title

  TD.all = 1
}

  # Prefix all relative paths with this value:
 relPathPrefix = fileadmin/template/main/
}


# Menu 1 cObject
temp.menu_1 = HMENU
 # First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
  # Normal state properties
 NO.allWrap = <div class="menu1-level1-no"> | </div>
  # Enable active state and set properties:
 ACT = 1
 ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
 # Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
  # Normal state properties
 NO.allWrap = <div class="menu1-level2-no"> | </div>
  # Enable active state and set properties:
 ACT = 1
 ACT.allWrap = <div class="menu1-level2-act"> | </div>
}

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  # Feeding the content from the Auto-praser to the TEMPLATE cObject:
 template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <body>-tags
 workOnSubpart = DOCUMENT_BODY

  # Substitute the ###menu_1### with dynamic menu:
  subparts.menu_1 < temp.menu_1

# Substitute the ###content### with some example content:
 subparts.content < styles.content.get
marks.ileft = HTML 
marks.ileft < styles.content.getLeft 
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
  # Feeding the content from the Auto-praser to the TEMPLATE cObject:
 template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <head>-tags
 workOnSubpart = DOCUMENT_HEADER
}

# Default PAGE object:
page = PAGE
page.typeNum = 0

#Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate

#Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
```

template_1.html auch in etwa wie in "Modern Template Building 1"

Bin mit dem Ergebnis auch ganz zufrieden,...
aber nun stellt sich folgendes Problem:

Kann in die Contentbereiche verschiedene Contentelemente wie Texte, Listen, Sitemap,... einfügen, aber Search forms, Login Formulare, Filelinks, Mail form kann ich zwar im Backend einfügen - diese werden im Frontend jedoch nicht angezeigt.

Was mache ich falsch?
Wie muss ich TS bzw template_1.html abändern?
Habe ich in den beiden einführenden Dokus was übersehen?
An welche Doku soll ich mich nun wenden?

Besten Dank im Voraus!
Ingo

## Antworten

### [#2](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/2) · Archimedes · 2003-06-06

Hallo,

ich habe das gleiche "Problem"  und wäre ebenfalls über eine Antwort sehr dankbar.

Archimedes

### [#3](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/3) · flanders · 2003-06-06

*schulterzuck* weiß ich auch nicht

### [#4](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/4) · meillo · 2003-06-06

8-)
ich weis nicht genau ob ich dir helfen kann, bin selber
newbie:

ich hoffe das du die extensions installiert hast:

#für das Loggin die pid angeben:
 styles.content.loginform.pid = 14

# für das forum listenform:
plugin.tt_board_list.file.templateFile =
EXT:tt_board/pi/board_template1.tmpl

# für das forum baumform
plugin.tt_board_tree.file.templateFile = EXT:tt_board/pi/board_template2.tmpl

### [#5](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/5) · ingobert · 2003-06-06

Hallo!

Habe dazu was im Forum gefunden!

Liegt an CSS STYLED CONTENT!

[/d/1230-typo3-suche-und-modul-css-styled-content-laeuft-nicht](https://www.typo3.net/d/1230-typo3-suche-und-modul-css-styled-content-laeuft-nicht)

Wie kann ich das sinnvoll umgehen? CSS STYLED CONTENT nicht verwenden? Gibts andere Lösungen?
Welche Doku soll ich in Angriff nehmen?

MFG Ingo

### [#6](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/6) · ingobert · 2003-06-06

Hallo!

Habe nun versucht das "styles.content.get" nicht zu verwenden! Verwende jetzt tt_content mit marker.
Leider ohne Erfolg! Bekomme zwar immer noch den Content (TEXT) angezeigt, **Elemente wie Suche, Filelinks,... werden einfach nicht dargestellt!**Weiters weiß ich nun nicht mehr wie der Inhalt "links", "mitte", "rechts", "border" zu trennen ist!
Texte von verschiedenen Spalten werden mit "tt_content" immer in einer Spalte untereinander dargestellt.

Hier mein veränderter CODE:

```typoscript
# Configuring the Auto-Praser for main template:
plugin.tx_automaketemplate_pi1 {
  # Read the template file:
 content = FILE
 content.file = fileadmin/template/main/template_1.html

  # Here we define which elements in the HTML that
  # should be wrapped in subparts-comments:
 elements {
  BODY.all = 1
  BODY.all.subpartMarker = DOCUMENT_BODY

  HEAD.all = 1
  HEAD.all.subpartMarker = DOCUMENT_HEADER
  HEAD.rmTagSections = title

  TD.all = 1
}

  # Prefix all relative paths with this value:
 relPathPrefix = fileadmin/template/main/
}


# Menu 1 cObject
temp.menu_1 = HMENU
 # First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
  # Normal state properties
 NO.allWrap = <div class="menu1-level1-no"> | </div>
  # Enable active state and set properties:
 ACT = 1
 ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
 # Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
  # Normal state properties
 NO.allWrap = <div class="menu1-level2-no"> | </div>
  # Enable active state and set properties:
 ACT = 1
 ACT.allWrap = <div class="menu1-level2-act"> | </div>
}

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  # Feeding the content from the Auto-praser to the TEMPLATE cObject:
 template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <body>-tags
 workOnSubpart = DOCUMENT_BODY

  # Substitute the ###menu_1### with dynamic menu:
subparts.menu_1 < temp.menu_1

# Substitute the ###content### with some example content:
marks.MIDDLE = CONTENT
marks.MIDDLE.table = tt_content
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
  # Feeding the content from the Auto-praser to the TEMPLATE cObject:
 template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <head>-tags
 workOnSubpart = DOCUMENT_HEADER
}

# Default PAGE object:
page = PAGE
page.typeNum = 0

Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate


Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
```

Wie soll ich nun weiter machen? (DOKU?)

ingo

### [#7](https://www.typo3.net/d/3280-suche-filelinks-login-mail-form/7) · ingobert · 2003-06-10

Hallo!

Werde bei "styles.content.get" bleiben und auf die internen Contentelemente wie Suche, Filelinks,... verzichten!
Verwende die sowieso wesentlich besseren Erweiterungen!

**Ist doch die richtige Entscheidung? ODER?**
Ingo!

---

Quelle: „Suche, Filelinks, Login, Mail form,...“, typo3.net, https://www.typo3.net/d/3280-suche-filelinks-login-mail-form
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
