---
title: "Contentbereich eines Templates wird nicht aktualisiert... :("
url: "https://www.typo3.net/d/86123-contentbereich-eines-templates-wird-nicht-aktualisiert"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2009-01-24"
last_reply: "2009-02-01"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Contentbereich eines Templates wird nicht aktualisiert... :(

Allgemein · 2 Antworten · gestartet 2009-01-24

## Eröffnungsbeitrag

**rj28kl** · 2009-01-24 · [Beitrag #1](https://www.typo3.net/d/86123-contentbereich-eines-templates-wird-nicht-aktualisiert/1)

Hallo,
ich benutzte bei einem Typo3 Entwurf fuer einen Verein den Auto-Template Maker. Leider aktualisiert er nicht den Contentbereich:
<http://www.southendjazz.com/echotest/index.php?id=8>

Eigentlich sollte dort eine Information ueber den Wohltaetigkeitskalender stehen, aber leider steht dort immer noch der Dummytext aus dem Template.

Im Script, um den Dummytext zu ersetzten folgendes vorgesehen:
Code:

```typoscript
# 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 dynamic menu:
  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
# 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
```

Das funktioniert in einer anderen Anwendung ohne Probleme.

Das Template ist ebenfalls gleich. Der HTML Body ist:
Code:

```plaintext
[LEFT]<!-- Page Content Area table cell: -->[/LEFT]
[LEFT]<tdrowspan="2"id="content"bgcolor=#EEFFFF>[/LEFT]
[LEFT]<h1>Buy PaperShredder(tm) Gizmo with 30-days money-back guarantee!</h1>[/LEFT]
[LEFT]<imgsrc="images/paperwork.jpg"width="192"height="156"border="0"alt=""align="right"/>[/LEFT]
[LEFT]<pclass="bodytext">Text</p>[/LEFT]
[LEFT]<pclass="bodytext">Text1</p>
<br/>[/LEFT]
</td>
```

Diese ID Content wird nicht ersetzt. Im anderen CMS funktioniert es auf die selbe weise... ich verzweifel... woran kann es liegen? Hat jemand einen Tipp oder einen Ansatz? Cache ist geleert... 🙁

## Antworten

### [#2](https://www.typo3.net/d/86123-contentbereich-eines-templates-wird-nicht-aktualisiert/2) · Vitrea · 2009-01-26

Halo rj28kl,
Du könntst versuchen Content genrell aus dem html-Template rauszunehmen und nur die Marker zu setzen.

Gruß Eva

### [#3](https://www.typo3.net/d/86123-contentbereich-eines-templates-wird-nicht-aktualisiert/3) · rj28kl · 2009-02-01

Hi,
danke hat wie von dir beschrieben funktioniert :)!!!!!

---

Quelle: „Contentbereich eines Templates wird nicht aktualisiert... :(“, typo3.net, https://www.typo3.net/d/86123-contentbereich-eines-templates-wird-nicht-aktualisiert
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
