The summary of the article will automatically extract the first paragraph of the content page. This has a problem Article pagination After that, the summary of each page is different, and the subsequent pages will automatically extract the first paragraph of the current page, which is very messy.
Then you need to set the text of the pagination summary as a unified summary, and the summary length should be consistent.
1、 Methods to solve the inconsistency of article pagination summary:
Open:
includerc.archives.class.php
Found:
*Parse the template and assign values to changes in the content
Modify:
Delete the following code
if($pageNo>1) $this->Fields['description'] =trim(ereg_replace("[ ]", ' ',cn_substr(html2text($this->Fields[$this->SplitPageField]), 200)));
2、 Methods for adjusting inconsistent length of article pagination summary:
1. Go to the database to modify the description field of the dede_archives table. The length is two hundred and fifty Change to the number you want. If you want to cancel automatic summary and change to manual summary, change null to yes , the default value is changed to null.
2. Modify dede/article_add.php and dede/article_edit.php to find $description=cn_substrR ($description, 250); Change 250 to the number you want.
3. Modify de/templates/article_add.htm and de/templates/article_edit.htm, find the<textarea name="description" rows="5" id="description" style="width: 80%; height: 50px">, and change height: 50px to height: 100px or more.
4. Go to the background, find the system ->basic system parameters ->other options ->automatic summary length, clear the number inside, and do not fill in any number. Press OK.
With this change, the length of the content summary of the article content page is the length you need.
Statement: All articles on this site, unless otherwise specified or marked, are originally published on this site. No individual or organization is allowed to copy, embezzle, collect and publish the content of this website to any website, book and other media platforms without the consent of this website. If the content of this website infringes upon the legitimate rights and interests of the original author, please contact us for handling.