
Diesmal ein Codesnippsel für ein Grafisches Listen Menu mit Typoscript für mehrere Levels. Dieses Menu ist lauffähig und natürlich noch ausbaufähig.
// TYPO3 Setup
// mainmenu
lib.mainmenu = HMENU
lib.mainmenu {
entryLevel = 0
1 = GMENU
1 {
useLargestItemY = 1
noBlur = 1
expAll = 0
accessKey = 0
wrap =
<ul>|</ul>
NO = 1
NO {
ATagTitle.field = subtitle // title // description
allWrap =
<li>|</li>
XY = [10.w]+4,[10.h]+6
transparentBackground = 1
backColor = #000
10 = TEXT
10 {
text.field = title
offset = 0,16
fontColor = #ffffff
niceText = 0
align = center
fontFile = fileadmin/templates/fonts/verdanab.ttf
fontSize = 11
}
}
RO < .NO
RO = 1
RO.10 {
fontColor = #78d200
}
ACT < .RO
ACT = 1
ACT.10 {
fontColor = #78d200
fontFile = fileadmin/templates/fonts/verdanab.ttf
}
}
2 < .1
2 = GMENU
2 {
wrap =
<ul class="level2">|</ul>
}
}
Kategorie typo3
Add your Comment
Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>








