织梦DedeCMS栏目列表调用中currentstyle中也支持autoindex的方法
更多精彩就在: 51免费论文网|www.jxszl.com
/>I..打开include/taglib/channel.lib.php中搜索(大概在第I.IV0行):
$linkOkstr=str_replace("~typename~",$row[typename],$linkOkstr);
II.在下方加入代码:
$linkOkstr=str_replace("~autoindex~",$GLOBALS[autoindex]+I.,$linkOkstr);
DedeCMS栏目列表调用中currentstyle中也支持autoindex的方法
修改前
DedeCMS栏目列表调用中currentstyle中也支持autoindex的方法
修改后
释义:这里是加I.递增,如果是其他递增形式,改对应数字即可.
III.调用方法:
{dede:channeltype=toprow=VIIIcurrentstyle="
{/dede:channel}
原文链接:http://www.jxszl.com/biancheng/dedecms/75431.html
热门阅读