cms
cms copied to clipboard
通过子栏目名查询父栏目?
<stl:channels channelName="子栏目名" parent="true"> stl:channel</stl:channel> </stl:channels>
这样找不到呢
试试用channelIndex先定位具体栏目
<stl:channel channelIndex="子栏目名" parent="true"> 这种也不行啊
直接使用<stl:channel parent="true" type="Title"></stl:channel>试试
不行,比如说通过三级栏目的 channelIndex, 查不到它的父级栏目名。
uplevel或者toplevel属性可以试试看起不起作用