Hallo,
vor ca. 14 Tagen habe ich das Update von 3.8.x auf 4.0 gemacht - da ich Schwierigkeiten mit ein paar anderen Erweiterungen hatte.
Ich benütze die Extension rlmp_tmplselector, um zwischen verschiedenen Templates auswählen zu können und zwar ohne automaketemplate.
Das hat in 3.8.x auch wunderbar funktioniert.
Doch nun zeigt er mir gar nichts mehr an. Ich habe zwischenzeitlich ein neues 4.0 installiert da ich schon dachte, dass bei Upgrade irgendetwas schief gelaufen wäre. Doch auch im "nackten" Typo3 werden meine Templates nicht geparst.
Nachfolgend mein Setup.
#####Templateselector#####
plugin.tx_rlmptmplselector_pi1{
templatePathMain={$templatePath}
defaultTemplateFileNameMain={$templateName}
inheritMainTemplates = 1
}
# Hauptmenü oben
temp.navigation = HMENU
temp.navigation.entryLevel = 0
temp.navigation.1 = TMENU
temp.navigation.1 {
NO {
wrapItemAndSub = | |
stdWrap.case = lower
}
ACT < .NO
# ACT.ATagParams = class="navi-active"
ACT = 1
}
# Menü links
temp.subnavigation = HMENU
temp.subnavigation.entryLevel = 1
temp.subnavigation.1 = TMENU
temp.subnavigation.1 {
# Normal state properties
NO.allWrap = <div class="level1_menu">|</div>
# Enable active state and set property
ACT = 1
ACT.allWrap = <div class="level1_menu">|</div>
}
temp.subnavigation.2 = TMENU
temp.subnavigation.2 {
# Normal state properties
NO.allWrap = <div class="level2_menu">|</div>
# Enable active state and set property
ACT = 1
ACT.allWrap = <div class="level2_menu">|</div>
}
# Rootline Menü
temp.rootline = HMENU
temp.rootline.entryLevel = 0
temp.rootline.special = rootline
temp.rootline {
1 = TMENU
1.NO.allWrap = |/
}
# Meta Menü Funktionen
temp.funktionen = HMENU
temp.funktionen.special = directory
temp.funktionen.special.value = {$metas_id}
temp.funktionen.1 = TMENU
temp.funktionen.1 {
wrap = <hr style="color:black; height:1px; width:160px;" /><table cellspacing="0" cellpadding="0" border="0">|</table>
NO {
# Bild aus Seite auslesen
beforeImg {
import = uploads/media/
import.field = media
import.listNum = 0
}
allWrap = <tr><td><div class="level1_menu">|</div></td></tr>
}
}
#####Header#####
temp.headTemplate=TEMPLATE
temp.headTemplate{
template<plugin.tx_rlmptmplselector_pi1
workOnSubpart=DOCUMENT_HEADER
subparts.pagetitle=title
}
#####Body#####
temp.mainTemplate=TEMPLATE
temp.mainTemplate{
template<plugin.tx_rlmptmplselector_pi1
workOnSubpart=DOCUMENT_BODY
subparts.NAVIGATION < temp.navigation
subparts.SUBNAVIGATION < temp.subnavigation
subparts.ROOTLINE < temp.rootline
subparts.CONTENT < styles.content.get
marks.FUNKTIONEN < temp.funktionen
marks.NEWS < styles.content.getRight
}
#####Seitenkonfiguration#####
page=PAGE
page.typeNum = 0
page.bodyTag = <body>
page.bodyTag = <body bgcolor="#003399" topmargin="0" leftmargin="0">
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate
Kann mir irgend helfen und sagen, warum das unter 4.0 jetzt nicht mehr so funktioniert??
Vielen Dank
Thomas