博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年8月27日

摘要: 文章转载:http://www.maihui123.com/dedecms/2012051964.html织梦dedecms模板制作时,我们需要每循环一次,变量加一,这是就需要使用到autoindex标签。代码写法如下: {dede:arclist titlelen='26' row='10'} [field:title /] [field:global name=autoindex runphp="yes"]if(@me%5==0)@me="";else @me="";[/field:global] 阅读全文

posted @ 2013-08-27 13:31 SmarTom 阅读(331) 评论(0) 推荐(0)

摘要: 原文:http://www.wuaie.com/?p=66源码改写$typeid = $row['id'];if((class_exists('PartView'))){$pv = new PartView($typeid);$text = $likeType;$text= str_replace(array('{field', '/}'), array('[field', '/]'), $text);$pv->SetTemplet($text,'string');$artli 阅读全文

posted @ 2013-08-27 09:27 SmarTom 阅读(643) 评论(0) 推荐(1)