09. 10. 2008, 14:55

der eine oder andere kanns sicher gebrauchen, hier eine Navigation fürs Forum:

[TS]lib.forumsnavi = COA
lib.forumsnavi {
wrap = <ul>|</ul>

5 = TEXT
5.value = Alle Foren
5.typolink.parameter = 117
5.wrap = <li>|</li>

10 = CONTENT
10 {
table = tx_mmforum_forums
select {
pidInList = 118
where = parentID = 1
orderBy = sorting
}

renderObj = COA
renderObj {
10 = TEXT
10.field = forum_name
10.wrap = <li>|</li>
10.typolink.parameter = 117
10.typolink.additionalParams.dataWrap = &tx_mmforum_pi1[action]=list_topic&tx_mmforum_pi1[fid]={field:uid}
10.ATagParams = class="act"
10.ATagParams.if {
equals.data = GPvar:tx_mmforum_pi1|fid
value.field = uid
}
}
}
}[/TS]