织梦dede如何让摘要只出现在文章的第一页
其实在织梦dedecms前台显示的时候,所有对文章内容的解析都是通过 /include/arc.archives.class.php 进行处理的,所有列表页的解析都是通过 /include/arc.listview.class.php进行处理的, $this->NowPage = $pageNo; $this->Fields['nowpage'] = $this->NowPage; if($this->SplitPageField!='' && isset($this->Fields[$this->SplitPageField])) { $this->Fields[$this->SplitPageField] = $this->SplitFields[$pageNo - 1]; //if($pageNo>1) $this->Fields['description'] = trim(preg_replace("/[rnt]/",200))); if($pageNo>1) $this->Fields['description'] = ''; } 然后在模板调用的调用: {dede:field.description runphp='yes'} if(@me<>'' )@me = ' |