<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

autoindex,itemindex 的使用心得

时间:2020-12-14

autoindex   itemindex 的使用心得

区别  

channelartlist 标签下使用 {dede:global name='itemindex' runphp='yes'}@me;{/dede:global}

channel 标签下使用 [field:global name=autoindex/]  

在arclist中使用autoindex runphp 时用这种方式:

{dede:arclist titlelen='22' row='4' flag='c' orderby='id'}<a href="[field:arcurl /]" target="_blank">[field:title /]</a>[field:global name='autoindex' runphp='yes']if(@me==2){@me="<br />";}else{@me=' ';}[/field:global] 
{/dede:arclist}
  
如何自由定义 开始的数字 
autoindex/itemindex 可以使用 @me+1;实现由指定数字开始

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

list 标签下试用autoindex

{dede:list pagesize='40' orderby='id'}

[field:global name='autoindex' runphp='yes']if(@me%10==0){@me="test";}else{@me='';}[/field:global] 

{/dede:list}
0
首页
案例
关于
联系