muban大师 发表于 2021-6-7 10:36:25

织梦dede:channel的currentstyle里面加入autoindex自增

织梦标签代码


       
               
                       
                               
{dede:channel type='top' row='10' currentstyle=""}
[*,,
{/dede:channel}
                       
               
       


        修改方法
        打开 /include/taglib/channel.lib.php 找到
       
       
               
                       
                               
                                       
$linkOkstr = str_replace("~typename~",$row['typename',,$linkOkstr);
                               
                       
               
       
在它的下面加入



       
               
                       
                               
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex',,$linkOkstr);
页: [1]
查看完整版本: 织梦dede:channel的currentstyle里面加入autoindex自增