首页  »  站长资讯  »  网站优化

织梦dede:channel标签的数字递增调用教程

2023/03/11 12:19     老李收录网     已浏览284次
织梦dede:channel标签的数字递增调用方法
在include/taglib/channel.lib.php 第140行之后加一句
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex'],$linkOkstr);
下面是例句:

 
    {dede:channel type='top' currentstyle="
 ~typename~" } 
[field:typename/]
     {/dede:channel}     
根据以上例句来套用你的标签调用