---
title: "Template per Auto-parser forhanden... content fehlt"
url: "https://www.typo3.net/d/2914-template-per-auto-parser-forhanden-content-fehlt"
source: "typo3.net"
tags: ["Backend","Frage","Templates & Layouts"]
created: "2003-05-18"
last_reply: "2003-05-18"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Template per Auto-parser forhanden... content fehlt

Backend · 0 Antworten · gestartet 2003-05-18

## Eröffnungsbeitrag

**dreamer07** · 2003-05-18 · [Beitrag #1](https://www.typo3.net/d/2914-template-per-auto-parser-forhanden-content-fehlt/1)

Hi,
habe ein Template per autoparser erstellt. Marker sind vorhanden.
Wie bekomme ich nun aber den Content dynamisch rein?

babe tt_contant eingefügt, aber es geht nicht.

hier mein Setup:

# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/static/index2.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

}

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

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

page.10 =< plugin.tx_automaketemplate_pi1

# 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 ###content### subpart with some example content:
  subparts.content < styles.content.get

---

Quelle: „Template per Auto-parser forhanden... content fehlt“, typo3.net, https://www.typo3.net/d/2914-template-per-auto-parser-forhanden-content-fehlt
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
