Hallo,
als ich heute an einer Seite weiterarbeiten wollte habe ich festgestellt, dass ein Erweiterungstemplate auf einmal nicht mehr funktioniert.
Ich habe keine Änderungen daran vorgenommen. Gibt es irgend eine Möglichkeit herauszufinden was da los ist? Gibt es sowas wie eine Debug Info des Templates??
Hier mal das Erweiterungstemplate:
/* [treeLevel = 1] temp.submenu = HMENU temp.submenu { excludeUidList = 69 entryLevel = 1 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } } [treeLevel = 2] temp.submenu = HMENU temp.submenu { entryLevel = 2 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } stdWrap.ifEmpty.cObject = HMENU stdWrap.ifEmpty.cObject { entryLevel = 1 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } } [treeLevel = 3] temp.submenu = HMENU temp.submenu { entryLevel = 3 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } stdWrap.ifEmpty.cObject = HMENU stdWrap.ifEmpty.cObject { entryLevel = 2 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } } [treeLevel = 4] temp.submenu = HMENU temp.submenu { entryLevel = 4 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } stdWrap.ifEmpty.cObject = HMENU stdWrap.ifEmpty.cObject { entryLevel = 3 1 = TMENU 1 { expAll = 1 NO.wrapItemAndSub = <li>|</li> IFSUB = 1 IFSUB.wrapItemAndSub = <li class="hasSub">|</li> ACT < .NO ACT = 1 ACT.wrapItemAndSub = <li class="active">|</li> ACT.ATagParams = class="active" ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="hasSub active">|</li> ACTIFSUB.ATagParams = class="active" } } [end] */ temp.content { slide = -1; table = tt_content } temp.zusatzinfo { 10 { table = tt_content } } temp.inhalt { 10.value = <div id="submenu" class="noprint"><div><ul> 20 < temp.submenu 30.value = .... 40 < temp.zusatzinfo 50.value = </div></div> 60 < temp.content } page.bodyTagAdd = data-cat="product" page.30.30 < temp.inhalt
Ich habe die Menü-Geschichte auskommentiert und zumindest die Zusatzinfo wird dann angezeigt. Also scheint da irgendwie der Wurm drin zu sein. Was ich nicht verstehe warum es bisher funktioniert hat und jetzt nicht mehr.
Ziel der Übung ist es, ein Untermenü zu zeigen welches immer die nächste Tiefe anzeigt. Oder, wenn da keine Unterseiten mehr sind die aktuelle Tiefe.
Ich bin total verzweifelt.. wäre schön wenn da mal jemand draufschauen könnte.