ParseTempletsFirst();" on line 219 and save it."/> ParseTempletsFirst();" on line 219 and save it.">

Home >CMS Tutorial >DEDECMS >How to modify list_article.htm list page with page number

How to modify list_article.htm list page with page number

藏色散人
藏色散人Original
2019-12-18 10:24:362601browse

How to modify list_article.htm list page with page number

How to modify the page number of list_article.htm list page?

SEO modification method of list page list_article.htm with page number

Recommended study: 梦Weavercms

Modify include/arc.listview .class.php

//How to modify the static page

1. Delete line 219 $this->ParseTempletsFirst();

2. In line 247$ Add

$this->Fields['pagexx'] = $this->PageNo;
$this->ParseTempletsFirst();
//动态页的修改方法

3 before this->ParseDMFields($this->PageNo,1);. In line 287 if((empty($this->PageNo) || $this->PageNo ==1) Add

$this->Fields['pagexx'] = $this->PageNo;
//list_article.htm模板的修改方法
<title>{dede:field.title/} / 第{dede:field.pagexx /}页</title>

before adding a way to optimize the custom list page:

Modify the column, fill in your optimization text in the column content, in the template list_article.htm Modify the title and add {dede:field.content/}.

Add another optimization:

Modify the column, fill in your optimization text in the column advanced option keywords, and add it to the template list_article Modify the title in .htm and add {dede:field name='keywords'/},

The above is the detailed content of How to modify list_article.htm list page with page number. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn