<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms织梦dede:channel标签的数字递增调用方法

时间:2020-12-16

我们知道文章调用支持autoindex 但channel 不支持,那如何支持呢?
 
在include/taglib/channel.lib.php 第140行之后加一句
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex'],$linkOkstr);
 
下面是例句:
 
{dede:channel type='top' currentstyle="<li  id='taba~autoindex~' class='top1'><a href='~typelink~'>~typename~</a></li>" }
         <li  id='taba[field:global.autoindex/]'><a href='[field:typelink/]'>[field:typename/]</a></li> 
{/dede:channel}

这样dede:channel 标签就完美支持autoindex  这个数字排序标签了
0
首页
案例
关于
联系