织梦dede:channel的currentstyle里面加入~autoindex~自增
织梦模板代码1
{dede:channel type='top' row='10' currentstyle=""}
2
3
[*,' >
4
5
{/dede:channel}
修改方法
打开 \include\taglib\channel.lib.php 找到
$linkOkstr = str_replace("~typename~",$row['typename',,$linkOkstr);
在它的下面加入
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex',,$linkOkstr);
页:
[1]