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:
# 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:
[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... 🙁