dedecms 调用内容页分页

arc.archives.class.php

$TRUEfilename = $this->GetTruePath().$fileFirst."_".$i.".".$this->ShortName;

 

                if($i>1)
                {
                    $TRUEfilename = $this->GetTruePath().$fileFirst."_".$i.".".$this->ShortName;
                    $this->Fields['sp_url'] = substr($this->Fields['arcurl'],0,strlen($this->Fields['arcurl'])-5).'_'.$i.'.html';  //by psd
                }
                else
                {
                    $TRUEfilename = $this->GetTruePath().$filename;
                    $this->Fields['sp_url'] = $this->Fields['arcurl']; //by psd
                }

 

模板article_article.htm {dede:field.sp_url/} 调用。

 

方法适用于移动适配中内容页一一对应。

你可能感兴趣的:(dedecms)