我是Typo3的新手,我在第一页中有我的HMENU定义: (class /typo3/fileadmin/layouts/ts/main.ts)
# 3-Stufige Hauptnavigation
tmp.navi_main = HMENU
tmp.navi_main {
1.expAll = 1
1 = TMENU
1 {
NO {
wrapItemAndSub = <li id="nav{field:uid}" class="no no0 first">|</li> |*| <li id="nav{field:uid}" class="no no0">|</li> |*| <li id="nav{field:uid}" class="no no0 last">|</li>
wrapItemAndSub.insertData = 1
ATagTitle.field = title // abstract // description
stdWrap.dataWrap = <span>|<span class="nav-subtitle">{field:subtitle}</span></span>
ATagParams = class="a0"
allStdWrap.insertData = 1
stdWrap.htmlSpecialChars = 1
}
ACT < .NO
ACT = 1
ACT {
wrapItemAndSub = <li id="nav{field:uid}" class="act act0 first">|</li> |*| <li id="nav{field:uid}" class="act act0">|</li> |*| <li id="nav{field:uid}" class="act act0 last">|</li>
wrapItemAndSub.insertData = 1
ATagParams = class="act0 a0"
}
CUR < .NO
CUR = 1
CUR {
wrapItemAndSub = <li id="nav{field:uid}" class="act cur act0 first">|</li> |*| <li id="nav{field:uid}" class="act cur act0">|</li> |*| <li id="nav{field:uid}" class="act cur act0 last">|</li>
wrapItemAndSub.insertData = 1
ATagParams = class="act0 cur a0"
}
wrap = <ul id="navi-main" class="navi-main0"> | </ul>
noBlur = 1
}
2 < .1
2 {
NO {
wrapItemAndSub = <li id="nav{field:uid}" class="no no1 first">|</li> |*| <li id="nav{field:uid}" class="no no1">|</li> |*| <li id="nav{field:uid}" class="no no1 last">|</li>
ATagParams = class="a1"
}
ACT < .NO
ACT = 1
ACT {
wrapItemAndSub = <li id="nav{field:uid}" class="act act1 first">|</li> |*| <li id="nav{field:uid}" class="act act1">|</li> |*| <li id="nav{field:uid}" class="act act1 last">|</li>
ATagParams = class="act1 a1"
}
CUR < .NO
CUR = 1
CUR {
wrapItemAndSub = <li id="nav{field:uid}" class="act cur act1 first">|</li> |*| <li id="nav{field:uid}" class="act cur act1">|</li> |*| <li id="nav{field:uid}" class="act cur act1 last">|</li>
wrapItemAndSub.insertData = 1
ATagParams = class="act0 cur a0"
}
wrap (
<ul class="navi-main1">
|
</ul>
)
}
#excludeUidList = 11,12,13
}
在我的主页面中我有这个图像我需要在我的hMenu中添加新项目(蓝色div带有超链接和href),但我不知道在哪里添加新的Literal? 有人可以帮我这个吗?文字在数据库中?或者在哪里? 谢谢!