xml Miva - 另类树种
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml Miva - 另类树种相关的知识,希望对你有一定的参考价值。
<mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Parent( l.settings:category:id, l.settings:subcats )" />
<mvt:foreach iterator="sub_category" array="subcats">
<mvt:do file="g.Module_Feature_URI_DB" name="l.settings:sub_category:canonical_exists" value="URI_Load_Category_Canonical( l.settings:sub_category:id, l.settings:sub_category:canonical )" />
<mvt:if expr="l.settings:sub_category:canonical_exists">
<mvt:assign name="l.settings:sub_category:link" value="l.settings:sub_category:canonical:uri" />
<mvt:else>
<mvt:assign name="l.settings:sub_category:link" value="g.domain:mm_url $ 'Screen=CTGY&Category_Code=' $ l.settings:sub_category:code" />
</mvt:if>
<mvt:do file="g.Module_Root $ '/modules/component/cmp-cssui-cattree.mvc'" name="l.result" value="CSSUI_CatTree_Load( l.settings:sub_category:id, l.settings:sub_category )" />
</mvt:foreach>
<mvt:foreach iterator="cat" array="breadcrumbs:links">
<mvt:assign name="l.settings:cat:level" value="POS1" />
<li class="level-&mvte:cat:level; active"><a href="&mvte:cat:link;">&mvte:cat:name;</a></li>
</mvt:foreach>
<mvt:if expr="l.settings:subcats GT 0">
<mvt:assign name="l.settings:sub_category_level" value="l.settings:cat:level + 1" />
<mvt:foreach iterator="sub_category" array="subcats">
<li class="level-&mvte:sub_category_level;"><a href="&mvte:sub_category:link;">&mvte:sub_category:name;</a></li>
</mvt:foreach>
</mvt:if>
以上是关于xml Miva - 另类树种的主要内容,如果未能解决你的问题,请参考以下文章
7-24 树种统计
优化算法树种优化算法(TSA)含Matlab源码 1429期
xml SD4 Miva9更改==如果他们没有使用MIVA9优惠券,请删除优惠券==
xml SD4 Miva9更改==如果他们没有使用MIVA9优惠券,请删除优惠券==
7-12 树种统计(25 分)
7-24 树种统计(25 分)(二叉排序的应用)