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

Dec 18, 2019 am 10:24 AM
dede

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();
//动态页的修改方法
Copy after login

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>
Copy after login

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 of this Website
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

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)