[TYPO3-german] Anfänger verzweifelt - variable Navigationstiefe

Matze Hoppe mat.hoppe at gmx.de
Fri Feb 23 08:31:44 CET 2007


Hallo,

ich versuche ein fest vorgegebenes Layout auf eine Typo3-Seite zu
übertragen.

Für die Linke Unternavigation habe ich bisher folgendes:

Das funktioniert, wenn keine 2. Ebene der Navigation existiert.
    http://luedo1.spd-dortmund.de/index.php?id=37
Das funktioniert, wenn eine dritte Ebene der Navigation existiert.
    http://luedo1.spd-dortmund.de/index.php?id=49

  marks.LNAVI = HMENU
  marks.LNAVI.entryLevel = 1
  marks.LNAVI.1 = TMENU
  marks.LNAVI.1 {
    expAll = 0
    wrap = <ul id="navLevel_01">|</ul>
    NO.wrapItemAndSub = <li>|</li>
    ACTIFSUB = 1
    ACTIFSUB.wrapItemAndSub = <li class="active">|</li>
    ACTIFSUB.ATagParams = class="active"
    ACT = 1
    ACT.linkWrap = <li><span class="active">|</span></li>
    ACT.doNotLinkIt = 1
    }
  marks.LNAVI.2 = TMENU
  marks.LNAVI.2 {
    wrap = <ul class="navLevel_02">|</ul>
    NO.linkWrap = <li>|</li>
    ACT = 1
    ACT.linkWrap = <li><span class="active">|</span></li>
    ACT.doNotLinkIt = 1
    }

Wenn nur eine zweite Navigationsebene existiert, schlägt es fehlt, weil es
dann wohl nicht <ul id="navLevel_01"> sondern bereits hier <ul
id="navLevel_02"> heissen muss.
    http://luedo1.spd-dortmund.de/index.php?id=32

Ich weiss hier echt nicht mehr weiter.

Danke fürs Lesen!



More information about the TYPO3-german mailing list