菜单

ts odd even in template

2013年07月28日 - typoscript
temp.elemente = COA
temp.elemente {
    10 = CONTENT
    10 {
        table = tt_content
        select {
            where = colPos = 2
            orderBy = sorting
        }
        renderObj < tt_content
        renderObj.wrap = |###SPLITTER###
    }
    stdWrap.split {
        token = ###SPLITTER###
        cObjNum = 1 |*| 2 || 3 |*| 4 || 5
        1.current = 1
        1.wrap = 
|
2.current = 1 2.wrap =
|
3.current = 1 3.wrap =
|
4.current = 1 4.wrap =
|
5.current = 1 } }

temp.blah = CONTENT
temp.blah {
    table = tt_content
    select {
        where = colPos = 2
        orderBy = sorting
    }
    renderObj = tt_content
    renderObj {
        stdWrap.outerWrap.cObject = CASE
        stdWrap.outerWrap.cObject {
            key.stdWrap.dataWrap = {cObj:parentRecordNumber}%2
            key.prioriCalc = 1
            default = TEXT
            default.value = 
|
1 = TEXT 1.value =
|
} } }

发表评论

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