|
1.获取dedecms织梦的循环次数代码
{dede:arclist typeid='3' row='8'}
[field:global.autoindex/,
{/dede:arclist}
2.在循环时做条件判断。例:当循环到第4条时增加一个
{dede:arclist typeid='3' row='8'}
[url=,
[img][/img]
[/url]
[field:global name=autoindex runphp='yes',
(@me!=4)? @me="":@me="";
[/field:global,
{/dede:arclist} |
|