Zum Inhalt springen

automaketemplate - problem mit zu vielen tables ?

Erstellt am 15. Juli 2004 · 3 Antworten · letzte Antwort am 15. Juli 2004

Tags: Frage

tomww ·

ich glaube nicht das Typo3 da ein Problem hat - vermutlich weisst Du einigen Markern oder subparts einfach nichts zu und dann wird dieser Teil eben nicht angezeigt (das ist kein Bug sondern ein Feature ;-)

Post doch mal Dein Typo-Template ...

Tom

piero ·

ehm .. wie jetz ? wenn typo3 ne markierung entdeckt die ich niemals in typoscript erwähne "verschlingt" er es einfach ? das ja grausam ..

ich check mal obs das ist, glaube es aber eher nicht ..

[edit: nein, das ist es definitiv nicht. automaketemplate scheint tatsächlich teile zu zerschreddern .. sehr strange]

aber hier noch das Main Template cObject:

# 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

# template = FILE
# template.file = fileadmin/templates/ticketmachine.net/main_template.html

 # Select only the content between the <body>-tags
 workOnSubpart = DOCUMENT_BODY

 # make the menus:
 subparts.menu < temp.menu
 subparts.menu2 < temp.submenu

 # Substitute the ###content### subpart with content from the style extension:
 subparts.content < styles.content.get

 # substitute the right content
 subparts.contentright < styles.content.getRight

}

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