LIebe Community,
ich habe gestern erst damit angefangen mit mit Typo3 auseinander zu setzen.
Mein Problem ist, dass ich gar nichts aber auch gar nichts sehen kann.
Ich versuche auf der Startseite einen Kalender-Modul einzubauen. Im Setup meines Templates habe ich folgenden Code und habe im Template selbst den Tag <!--###CALENDER###--> eingefügt. Ich sehe aber nichts. Das gleiche gilt für den Tag <!--###CONTENT###--> dem ich hier versuche den Wert "HELLO WORLD - CONTENT" zuzuweisen.
Hilfe !!!!!!
----------------------
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/startseite.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 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 some example content:
subparts.menu_1 = TEXT
subparts.menu_1.value = HELLO WORLD - MENU
# Substitute the ###content### subpart with some example content:
subparts.CONTENT = TEXT
subparts.CONTENT.value = HELLO WORLD - CONTENT
plugin.tt_calender >
plugin.tt_calender = PHP_SCRIPT
plugin.tt_calender {
file = EXT:tt_calender/pi/calendar.inc
templateFile = {$plugin.tt_calender.file.templateFile}
pid_list.field = pages
recursive.field = recursive
fontFace = {$plugin.tt_calender.fontFace}
maxAge = {$plugin.tt_calender.maxAge}
parseFunc < styles.content.parseFunc
}
subparts.CALENDER < 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
page.bodyTagMargins = 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
------------------------------