---
title: "Leere Seite bei automaketemplate ausTutorial?"
url: "https://www.typo3.net/d/54410-leere-seite-bei-automaketemplate-austutorial"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2006-12-04"
last_reply: "2006-12-04"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Leere Seite bei automaketemplate ausTutorial?

Allgemein · 1 Antwort · gestartet 2006-12-04

## Eröffnungsbeitrag

**sebra** · 2006-12-04 · [Beitrag #1](https://www.typo3.net/d/54410-leere-seite-bei-automaketemplate-austutorial/1)

Guten Tag,

Ich versuche aufgrund dieses Turorials:
<http://typo3.org/documentation/document-library/tutorials/doc_tut_templsel_de/current/view/1/3/>

Eine Seite zu erstellen. Bis zur Mitte des Tutorials funktioniert alles bestens. Ich bekomme eine tolle 1:1 Kopie meines Templates mit diesem Code:

```typoscript
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/template/main/index.htm

    # Here we define which elements in the HTML that 
    # should be wrapped in subpart-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/
}


# Default PAGE object:
page = PAGE
page.typeNum = 0
page.config.disableAllHeaderCode=1

page.10 =< plugin.tx_automaketemplate_pi1
```

Sobald ich dann den INhalt mit Testausgaben ersetzte bleibt die Seite komplett Weis, und es wird nichts mehr ausgegeben...

```typoscript
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/template/main/index.htm

    # Here we define which elements in the HTML that 
    # should be wrapped in subpart-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/
}


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

    # Substitute the ###menu_1### subpart with some example content:
  subparts.menu_1 = TEXT
  subparts.menu_1.value = HELLO WORLD - MENU

    # Substitute the ###content### subpart with some example content:
  subparts.content = TEXT
  subparts.content.value = HELLO WORLD - CONTENT
}


# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
    # Feeding the content from the Auto-parser 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
```

Ich habe etwas gelesen es müssen unter "Include Static" die Variablen angegeben werden? Dort steht bei mir nur "CSS Styled Content", ansonsten kann ich dort nichts auswählen.

Hat jemand eine Idee was das sein könnte? Ich verzweifel hier langsam :(

## Antworten

### [#2](https://www.typo3.net/d/54410-leere-seite-bei-automaketemplate-austutorial/2) · sebra · 2006-12-04

#  TD.all = 1

ist der Fehler... das muss WEG!  #angry#

Warum kann ich leider nicht sagen, ohne gehts, mit nicht...

---

Quelle: „Leere Seite bei automaketemplate ausTutorial?“, typo3.net, https://www.typo3.net/d/54410-leere-seite-bei-automaketemplate-austutorial
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
