Hallo zusammen!
Zur Ausgangslage:
Ich Benutze TYPO3 4.1.1 und bastle an einer Seite, die jeweils am rechten Rand eine Kontextspalte hat. Diese soll jeweils die Inhalte der Kontextspalte des Obersten Menüs anzeigen + dass man zusätzlich pro Seite individuell noch was anfügen kann. Ich habe das nun ganz elegant mit dem Pagecontent-Typ "Insert record" gelöst.
Nun mein Problem:
Ich habe bereits etwa 80 Seiten erstellt und dabei die Verknüfung vergessen vorzunehmen. Das würde also heissen: jede dieser 80 Seiten einzeln aufmachen und einen Pagecontent "Insert Record" erstellen. Da ich dazu aber keine Lust habe meine Frage, ob das irgendwie auch schneller geht. Z.B. per Direkteintrag in die Datenbank habe ich mir gedacht, leider habe ich aber die Tabelle nirgends gefunden, wo ich diese Daten eintragen könnte.
Wäre cool, wenn mir jemand mit einem Tipp weiterhelfen könnte!
Schonmal Danke im Vraus!
Grüsse Estro
Selbst gelöst:
page.10.subparts.CONTENT_RIGHT = RECORDS
page.10.subparts.CONTENT_RIGHT {
tables = tt_content
# ID des Contents der auf allen Seiten angezeigt werden soll
source = 95
dontCheckPid = 1
}
# template TEMPLATE cObject for the BODY
temp.templateTemplate = TEMPLATE
temp.templateTemplate {
# 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
subparts.rechts < page.10.subparts.CONTENT_RIGHT
#
}
# template 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.templateTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate