Home > CMS Tutorial > DEDECMS > body text

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

angryTom
Release: 2019-11-18 16:42:44
Original
2044 people have browsed it

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 ";
Copy after login

Change to:

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

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!