ich hab ein echtes problem .. bei meiner ersten typo installation lief fast alles glatt .. aber bei jeder weiteren haperts irgendwie am typoscript für die templates .. dabei mach ich alles genauso 🙁
das template wird vom autoparser richtig eingelesen, die entsprechenden parts auch richtig mit ###xxx### markiert .. das template wird auch ausgegeben.
aber die subparts werden nicht ersetzt 🙁
folgender code:
# 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### subpart with dynamic menu:
subparts.menu < temp.menu
# Substitute the ###content### subpart with content from the style extension:
subparts.content < 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
}
das ergebnis könnt ihr euch unter http://www.pierosartini.de ansehen.
ich komm einfach nicht dahinter wo der fehler liegen soll 🙁
auf anfrage geb ich auch gerne einen admin acc raus damit ihrs euch mal ansehen könnt.
danke schonmal für jede hilfe 🙂
hast du das problem gelöst??
Sonst bei include statics content(default) auswählen
MFG
Dander
hallo, nein das problem besteht leider weiter 🙁
eine typo installation läuft ohne probleme, die zweite nicht.
das setup ist seltsamerweise identisch (oder ich bin blind 😉 )
content(default) wird im main template geincluded.
(dieses welches auch die anderen templates aus dem seperaten template ordner einbindet - über basis templates)
die reihenfolge stimmt überein -- ich bin am verzweifeln 🙁
sind im template die id´s gesetzt?
sind sie.
hier die url: http://pierosartini.de
# Menu 1 cObject
temp.menu = HMENU
# First level menu-object, textual
temp.menu.1 = TMENU
temp.menu.1 {
expAll = 1
# Normal state properties
NO.allWrap = <div class="menu1-level1"> | </div>
# Enable active state and set properties:
# NO.doNotLinkIt = 1
# ACT.doNotLinkIt = 1
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
# Second level menu-object, textual
temp.menu.2 = TMENU
temp.menu.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
# 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### subpart with dynamic menu:
subparts.menu < temp.menu
# Substitute the ###content### subpart with content from the style extension:
subparts.content < styles.content.get
}
also typo3 findet sie und ersetzt sie nicht...
weis nicht ob das hilft aber schreib
< styles.content.get mal so
<styles.content.get
MFG
Dander
versuch mal den subparts den typ content mit
subparts.XXX = CONTENT zuzuweisen, bevor du den inhalt dahin kopierst....