Dedecms Modified "Previous: No" and "Next: no" display content

Source: Internet
Author: User
Keywords No dedecms show content previous

In the process of using dedecms, we need to have some personalized requirements, such as changing the "previous: No" and "Next: No" display content, I would like to change to "Previous:no" and "Next:no", or to any of the styles and words we want to achieve, What should we do?

At this time, we need to modify the include/arc.archives.class.php file, to achieve our personalized functional requirements, open the file.

Find
About 813 lines:

$this->prenext[' pre '] = "Previous: <a href= ' $mlink ' >{$preRow [' title ']}</a> '];

Modified to:

$this->prenext[' pre '] = "Previous: <a href= ' $mlink ' >{$preRow [' title ']}</a> '];

Find
About 818 lines:

$this->prenext[' pre '] = "previous: no";

Modified to:

$this->prenext[' pre '] = "previous:no";

Find
About 815 lines:
$this->prenext[' next '] = "Next: <a href= ' $mlink ' >{$nextRow [' title ']}</a> '];
Modified to:

$this->prenext[' Next: <a href= ' $mlink ' >{$nextRow [' title ']}</a>];

Find
About 830 lines:
$this->prenext[' next '] = "Next: No";
Modified to:
$this->prenext[' next '] = "next:no";

Save the file, regenerate the corresponding article content, has reached the effect we need! Screenshot below:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.