[TYPO3-german] Re-2: HMENU: Nur Geschwister eines bestimmten Sublevels anzeigen

thomas.buegel at web.de thomas.buegel at web.de
Wed Mar 19 13:38:03 CET 2008


 Hi Joey!

> temp.blah = HMENU
> temp.blah {
>   special = directory
>     special.value.data = leveluid:-2
>     1 = TMENU
>     1 {
>         NO {
>             allWrap = wrap|wrap
>         }
>     }
> }
> 
> so etwa? ;-)

Ja - Wow - das ist es, was ich gesucht habe!

> Siehe hierzu: TSRef => datatype => getText

Da hatte ich noch nicht nachgesehen - danke für den Hinweis!

Habs nun so: 

temp.blah = HMENU
temp.blah {
 special = directory
  special.value.data = leveluid:-2
  entryLevel = 5
  1 = TMENU
  1 {
      stdWrap.dataWrap = <div id="detailNav"><ul>|</ul></div>
      NO.linkWrap = <li>|</li>
      ACT = 1
      ACT.linkWrap = <li><strong>|</strong></li>
    }
}

Dadurch erreiche ich, dass die Liste nur ab Page-Level 5 generiert wird, also für Detailseiten, wofür ich sie benötige!

Danke - nun ist es ein sauberer Code, ohne 'Tricks'.

Gruß Thomas



More information about the TYPO3-german mailing list