[TYPO3-german] Re: Typo3 6.2 Menu mit Bilder aus Seiteneigenschaften
Christian Hackl
hackl.chris at googlemail.com
Sun Dec 10 18:09:27 CET 2017
sers,
zum Bleistift für Typo3 >= 8
2 = TMENU
2 {
wrap = <div class="subNav-wrap"><ul> |
stdWrap.append = COA
stdWrap.append {
10 = TEXT
10.value = </ul>
20 = HMENU
20 < lib.submainnav
30 = TEXT
30.value = </div>
}
expAll = 1
NO = 1
NO {
wrapItemAndSub = <li> | </li>
ATagTitle.field = abstract // description // subtitle // title
ATagParams = target="{field:target}"
ATagParams.insertData = 1
stdWrap.cObject = COA
stdWrap.cObject {
10 = FILES
10 {
references {
table = pages
uid.field = uid
fieldName = media
data = media
required = 1
treatIdAsReference = 1
listNum = 0
}
renderObj = IMAGE
renderObj {
file {
treatIdAsReference = 1
import.data = file:current:publicUrl
width = 192
height = 192
}
altText.data = file:current:description // file:current:title // file:current:alternative
titleText.data = file:current:title
}
}
20 = TEXT
20 {
wrap = <span>|</span>
data = field:title
}
}
}
IFSUB = 1
IFSUB < .NO
ACT = 1
ACT < .NO
ACT {
wrapItemAndSub = <li class="li_act active"> | </li>
ATagParams = class="act"
}
}
More information about the TYPO3-german
mailing list