---
title: "Problem mit Typo3"
url: "https://www.typo3.net/d/21274-problem-mit-typo3"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2005-02-15"
last_reply: "2005-02-15"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Problem mit Typo3

Allgemein · 0 Antworten · gestartet 2005-02-15

## Eröffnungsbeitrag

**jerry_und_tom** · 2005-02-15 · [Beitrag #1](https://www.typo3.net/d/21274-problem-mit-typo3/1)

Also ich hab folgendes template

plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/template/test.html

# 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/
}

# Template content object:
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

#subparts.menu_1 < temp.menu_1

# Substitute the ###content### subpart with some example content:
  subparts.content < styles.content.get
}

# 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

page.10 < temp.mainTemplate

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

zu diesem HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title>Untitled</title>
</head>
<body>
<!-- ###DOCUMENT_BODY### -->
<table>
  <tr>
    <td id="content">
    <!-- ###INSIDE_HEADER### -->
			Header of the page
    <!-- ###INSIDE_HEADER### -->
    </td>
  </tr>
</table>
<!-- ###DOCUMENT_BODY### -->
</body>
</html>

jetzt hab ich im Root element über den wizard einfach Text angehängt ...
der wird mir aber nicht angezeit ...
was mache ich falsch?

lg Jerry

---

Quelle: „Problem mit Typo3“, typo3.net, https://www.typo3.net/d/21274-problem-mit-typo3
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
