TRS中怎么获取父级栏目的父级栏目信息
最后更新时间:2021年07月27日 人气:...

获取父级栏目的父级栏目:

<TRS_Channels id="${@parent.parent.chnlname}" CHILDTYPE="0">    
    <dt id="dt_<TRS_Channel FIELD='CHANNELID'/>"><TRS_Channel id="owner" field="chnldesc" autolink="true">栏目名称</TRS_Channel></dt>    
</TRS_Channels>

可以通过层级逐级取需要的栏目信息。

热门评论