Zum Inhalt springen

TYPO3 – HMENU / TMENU NO oder ACT crop einbinden

Erstellt am 8. September 2009 · Noch keine Antworten

Tags: Tipp

Sebastian Schmal ·

Falls Ihr auch mal das Problem habt, dass die Ausgabe von euren Menüpunkten zu lang ist, könnt Ihr ins TYPO3 Setup im HMENU/TMENU den TypoScript Code „crop“ verwenden…

Hier der TypoScript Code:

#1 level top-menu
1 = TMENU
1 {
noBlur = 1
expAll = 0

wrap = <ul class="sub3-navi">|</ul></li>

# Normal state properties
NO = 1
NO.allWrap = <li>|</li>
NO.ATagTitle.field = subtitle // title
NO.stdWrap.crop = 16 | .

# Enable active state and set properties:
ACT = 1
ACT.wrapItemAndSub = <li class="sub3-act">|</li>
ACT.ATagTitle.field = subtitle // title
ACT.stdWrap.crop = 16 | ...
}

Ursprünglich erschienen am 08.09.2009 auf typo3-probleme.de.