"景先生毕设|www.jxszl.com

autoindex,itemindex 的使用心得

2022-10-29 16:04编辑: www.jxszl.com景先生毕设
autoindexitemindex的使用心得

区别

channelartlist标签下使用{dede:globalname=itemindexrunphp=yes}@me;{/dede:global}

channel标签下使用[field:gl

 更多精彩就在: 51免费论文网|www.jxszl.com 
obalname=autoindex/]

在arclist中使用autoindexrunphp时用这种方式:

{dede:arclisttitlelen=IIIIrow=IVflag=corderby=id}[field:title/][field:globalname=autoindexrunphp=yes]if(@me==II){@me="
";}else{@me=;}[/field:global]
{/dede:arclist}

如何自由定义开始的数字
autoindex/itemindex可以使用@me+I.;实现由指定数字开始

遇到类似的问题做下这个笔记,在用到的时候可以灵活发挥!

list标签下试用autoindex

{dede:listpagesize=IV0orderby=id}

[field:globalname=autoindexrunphp=yes]if(@me%I.0==0){@me="test";}else{@me=;}[/field:global]

{/dede:list}


原文链接:http://www.jxszl.com/biancheng/dedecms/72958.html