Get the App
SLTechnology News&Howtos  ›  Servers  › 

Dedecms dream weaving system dede:arclist only works once. What's going on?

Shulou Source: shulou.com Published: 2022-06-02 05:01:51 10月04日 Update

This article mainly introduces how the dedecms dream weaving system dede:arclist takes effect only once. It has a certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

How to solve the problem that dedecms dream weaving system {dede:arclist keyword=' dynamic keyword acquisition'} only works once?

Solve the problem of dedecms dream weaving system {dede:arclist keyword=' dynamic keyword acquisition'} bug that takes effect only once

Recommended study: dream weaving cms

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

You just need to modify the / include/taglib/arclist.lib.php file, which is about 384 lines:

$taghash = md5 (serialize ($ctag). $typeid)

Change the above code to:

$taghash = md5 (serialize ($ctag). $typeid.$keyword)

That's all right.

Thank you for reading this article carefully. I hope the editor will share what happens when the dedecms dream weaving system dede:arclist takes effect only once. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Tags: System key keyword article thing dynamic column learning code value content reason just at the same time file article method friend cache ribbon Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Apple OPPO Reno Redmi Shulou Tech Info