<{if $categoryup eq 0 }>
<{getcategories rootcategory="$category" template='<li><a href=()[url]() class=()cate_$id()>[category]</a></li>'}>
<{else}>
<{getcategories rootcategory="$categoryup" template='<li><a href=()[url]() class=()cate_$id()>[category]</a></li>'}>
<{/if}>
以上代码未在akcms其他版本测试。
转载请注明:本文《akcms 6.1.2处于二级栏目时 获取同级栏目的办法》链接: http://seo.leidu.net/post-385.html
百度已收录
发表评论: