Home > CMS Tutorial > DEDECMS > How to solve the problem of dede:arclist only taking effect once in dedecms dream weaving system

How to solve the problem of dede:arclist only taking effect once in dedecms dream weaving system

藏色散人
Release: 2020-01-15 10:48:34
Original
2824 people have browsed it

How to solve the problem of dede:arclist only taking effect once in dedecms dream weaving system

How to solve the problem that the dedecms dream weaving system {dede:arclist keyword='dynamically obtain keywords'} only takes effect once?

Solution to the dedecms dream weaving system The dream system {dede:arclist keyword='dynamically obtain keywords'} has a bug that only takes effect once

Recommended study:Dreamweavercms

When we pass {dede: When arclist keyword='keyword'} is used to call the article list, you will find that it only takes effect in one of the columns. In other columns, the last keyword is still displayed. The reason is due to the cache of arclist.

Just modify the /include/taglib/arclist.lib.php file, probably at line 384:

$taghash = md5(serialize($ctag).$typeid);
Copy after login

Change the above code to:

$taghash = md5(serialize($ctag).$typeid.$keyword);
Copy after login

That’s it .

The above is the detailed content of How to solve the problem of dede:arclist only taking effect once in dedecms dream weaving system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template