Zum Inhalt springen

Template per Auto-parser forhanden... content fehlt

Erstellt am 18. Mai 2003 · Noch keine Antworten

Tags: Frage

dreamer07 ·

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