菜单

TS-MENU配置(最新版)

2010年06月2日 - typo3

######### Main Menu #########################
#includeLibs.gtmenu_class = fileadmin/gtmenu.txt
lib.Menu = HMENU
lib.Menu{
entryLevel = 0
1=TMENU
1{
noBlur = 1
#expAll = 0   #sub menu all show
wrap = <ul>|</ul>
NO {
allWrap = <li>|</li>
stdWrap.htmlSpecialChars = 1
ATagTitle.field = title    #加title
stdWrap.innerWrap = |<span></span>    #在a标签内部加内容
}
ACT < NO
ACT = 1
#ACT.after = <span></span>
#ACT.ATagParams.dataWrap := appendString(” class=’current'”)
ACT.linkWrap = <li class=”current”>|</li>
ACT.stdWrap.innerWrap = |<span></span>
}
}

ts_main_menu = COA
ts_main_menu.10 < lib.Menu
#######################################################

######### Sub Menu #########################
#includeLibs.gtmenu_class = fileadmin/gtmenu.txt
temp.Menu = HMENU
temp.Menu{
entryLevel = 0
1=TMENU
1{
noBlur = 1
expAll = 1
#wrap = <ul>|</ul>
#NO.stdWrap.htmlSpecialChars = 1
NO.doNotShowLink = 1
#NO.doNotLinkIt = 1
NO.allWrap.dataWrap= <ul>|
NO.wrapItemAndSub = |&nbsp;</ul>
NO.ATagParams.dataWrap =  id='{field:title}’
#ACT < .NO
#ACT = 1
#ACT.ATagParams.dataWrap := appendString(” class=’current'”)
}
2=TMENU
2{
noBlur = 1
#wrap = <ul>|</ul>
NO.stdWrap.htmlSpecialChars = 1
NO.allWrap.dataWrap= <li>|
NO.wrapItemAndSub = |</li>
NO.ATagParams.dataWrap =  title='{field:title}’
ACT < .NO
ACT = 1
ACT.ATagParams.dataWrap := appendString(” class=’current'”)
}
}

ts_sub_menu = COA
ts_sub_menu.10 < temp.Menu
#######################################################

############# footer Menu ####################
ts_footer_menu = COA
ts_footer_menu{
10 = HMENU
10 {
special = directory
special.value = 6
1 = TMENU
1 {
noBlur = 1
wrap = <p>©Copyright&nbsp;Gelco.eu&nbsp;2010&nbsp;&nbsp;&#124;</p><ul>|</ul>
NO {
allWrap = <li>|</li>
ATagParams.dataWrap =  title='{field:title}’
stdWrap.htmlSpecialChars = 1
}
ACT < NO
ACT = 1
ACT.ATagParams.dataWrap := appendString(” class=’current'”)
}
}
}
#################################################

标签:

发表评论

电子邮件地址不会被公开。 必填项已用*标注