DEDE中channelartlist自增参数autoindex无效可以用global.itemindex代替

| | Comments (0)



用法语句:

{dede:channelartlist row=6}
{dede:global.itemindex runphp='yes'}
$aa=@me;
if($aa%2==0){
@me='row1';
}else{
@me='row2';
}
{/dede:global.itemindex}
">
{/dede:channelartlist}

这样子就在dedecms模板中channelartlist标签内实现dedecms 样式表css间隔隔行显示不同效果,只需要把代码插到class='这里插代码',ok 我想可能大家可以了解,网上能查到的信息基本没有,我无私的奉献下了。

单点日志:  http://spoint.babyshoot.cn

Leave a comment

Archives

Ads by google

Pages

Powered by Movable Type 4.24-en

About this Entry

This page contains a single entry by 单点日志 published on October 24, 2010 10:39 PM.

dedecms 样式表css间隔隔行显示不同效果 was the previous entry in this blog.

Excel批量提取超链接中的地址 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.