Home  >  Article  >  CMS Tutorial  >  How to modify dedecms to display related content of the entire site according to tag tags

How to modify dedecms to display related content of the entire site according to tag tags

angryTom
angryTomOriginal
2019-11-18 16:42:442112browse

How to modify dedecms to display related content of the entire site according to tag tags

dedecmsHow to modify the tag label to display related content of the entire site

Still use the official original in the article Tag {dede:likearticle col=” row=” titlelen=”}

File found: \include\taglib\likearticle.lib.php

Code found:

$typeid = " And arc.typeid in($typeid) And arc.id<>$arcid ";

Change to:

$typeid = " And arc.id<>$arcid ";

Save it and update it again.

Recommended tutorial: dedecms tutorial

The above is the detailed content of How to modify dedecms to display related content of the entire site according to tag tags. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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