让dedecms autoindex,itemindex 从0到1开始的办法!
{dede:globalname=itemindexrunphp="yes"}@me=@me+I.;{/dede:global}
更多精彩就在: 51免费论文网|www.jxszl.com
autoindexitemindex的使用心得区别
channelartlist标签下使用{dede:globalname=itemindexrunphp=yes}@me;{/dede:global}
自增I.
arclist标签下使用[field:global.autoindex/]默认从I.开始
channel标签下使用[field:global.autoindex/]默认从0开始
channelartlist标签下使用{dede:global.itemindex/}默认从I.开始
arclist从0开始[field:globalname=autoindexrunphp="yes"]@me=@me-I.;[/field:global]
channel从I.开始[field:globalname=autoindexrunphp="yes"]@me=@me+I.;[/field:global][field:typename/]
channelartlist从0开始{dede:globalname=itemindexrunphp=yes}@me=@me-I.;{/dede:global}
原文链接:http://www.jxszl.com/biancheng/dedecms/76685.html