织梦dedecms图集标签实现数字自增
{dede:productimag
更多精彩就在: 51免费论文网|www.jxszl.com
elist}
{/dede:productimagelist}
不过既然提出了imgurls标签的这个问题,自然也是有解决办法的.
打开include aglibchannelimg.lib.php,找到,
$fields[text]=str_replace("","",$ctag->GetAtt(text));
$fields[title]=$title;
$fields[imgsrc]=trim($ctag->GetInnerText());
$fields[imgsrctrue]=$fields[imgsrc];
在其下添加,
$fields[photoid]=$GLOBAL[photoid]+I.;
调用代码:[field:global.photoid/]
原文链接:http://www.jxszl.com/biancheng/dedecms/75231.html
热门阅读