Home > Article > CMS Tutorial > 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);
Change the above code to:
$taghash = md5(serialize($ctag).$typeid.$keyword);
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!