我们知道文章调用支持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 这个数字排序标签了
这样dede:channel 标签就完美支持autoindex 这个数字排序标签了
本文来自网络,不代表青岛站长网立场。转载请注明出处: https://www.0532zz.com/html/zhonghe/cms/20201117/12358.html