找到include/taglib/arclist.lib.php
第一步:查找:
channelid = ctag->GetAtt(‘channelid’);
替换:
channelid = ctag->GetAtt(‘channelid’); currentstyle = ctag->GetAtt(‘currentstyle’);
第二步:查找:
ctag->GetAtt(‘limit’), ctag->GetAtt(‘orderway’), ctag->GetAtt(‘noflag’), pagesize,isweight
替换:
ctag->GetAtt(‘limit’), ctag->GetAtt(‘orderway’), ctag->GetAtt(‘noflag’), pagesize,isweight,
第三步:
查找:
function lib_arclistDone(&typeid=0, row=10, col=1, titlelen=30, infolen=160, imgwidth=120, imgheight=90, listtype=’all’, orderby=’default’, keyword=”, innertext=”, arcid=0, idlist=”, channelid=0, limit=”, att=”, order=’desc’, subday=0, noflag=”,tagid=”, pagesize=0, isweight=’N’)
替换:
function lib_arclistDone(&typeid=0, row=10, col=1, titlelen=30, infolen=160, imgwidth=120, imgheight=90, listtype=’all’, orderby=’default’, keyword=”, innertext=”, arcid=0, idlist=”, channelid=0, limit=”, att=”, order=’desc’, subday=0, noflag=”,tagid=”, pagesize=0, isweight=’N’,
第四步:查找:
row[‘textlink’] = “”.row[‘title’].””;
替换:
row[‘textlink’] = “”.row[‘title’].””; if(currentstyle==’on’) { if(row[‘id’]==arcid) row[‘style’]=”on”; else
调用方法:
{dede:arclist titlelen=’60’ currentstyle=’on’ row=’8′ typeid=’3′}
[field:title/]
{/dede:arclist}
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/hz/148679.html