So also ich habe gestern Nacht mal das folgenede Tutorial durchgearbeitet, aber bei einen Punkt komme ich nicht ganz weiter.
Ich habe dieses Tutorial verwendet: http://typo3.org/documentation/document-library/doc_tut_templsel_de/
Wenn ich jetzt den Content bearbeite des mittleren Elemtents sag ich jetzt einfach mal dazu, dann sehe ich trotzdem nur den Inhalt aus den Template, also den Artikel mit dem Foto etc...
Wie kann ich es denn machen, dass der meine selbst erstellten Inhalte aus Typo3 ausliest?
zum Schluss des Tutorials kam ich zu diesen Setupparametern:
# Configuring the Auto-Parser for main template: # Read the template file: content.file = fileadmin/template/main/template_1.html # 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 HEAD.rmTagSections = title TD.all = 1 } # Prefix all relative paths with this value: relPathPrefix = fileadmin/template/main/ } # Menu 1 cObject # First level menu-object, textual temp.menu_1.1 { # Normal state properties # Enable active state and set properties: } # Second level menu-object, textual temp.menu_1.2 { # Normal state properties # Enable active state and set properties: } # Main TEMPLATE cObject for the BODY temp.mainTemplate { # Feeding the content from the Auto-parser to the TEMPLATE cObject: # 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 { # Feeding the content from the Auto-parser to the TEMPLATE cObject: # Select only the content between the <head>-tags workOnSubpart = DOCUMENT_HEADER } # Default PAGE object: 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