dedecms织梦dede:channel标签的数字递增调用方法
我们知道文章调用支持autoindex 但channel 不支持,那如何支持呢?在include/taglib/channel.lib.php 第140行之后加一句
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex',,$linkOkstr);
下面是例句:
{dede:channel type='top' currentstyle="" }
,
{/dede:channel}
这样dede:channel 标签就完美支持autoindex这个数字排序标签了
页:
[1]