How to call the site-related article tags on the dedecms article page
This "dedecms article page how to call the site-related article tags" most people do not understand, so the editor summed up the following content, detailed, clear steps, with a certain reference value, I hope you can get something after reading this article, let's take a look at this "dedecms article page how to call the site-related article tags" article bar.
{dede:likearticle row='12' titlelen='200'} [field:title/] {/ dede:likearticle}
The above is the easiest dedecms tag to call the relevant article title. Using this code will only call the relevant article title and link of the current column.
Implement to call the site-wide method:
You only need to modify a piece of code in the corresponding php file. The specific modifications are as follows.
Modify method:
Find the file:\ include\ taglib\ likearticle.lib.php
After the DW software opens the likearticle.lib.php file
Find the code:
$typeid = "And arc.typeid in ($typeid) And arc.id$arcid"
Modified to:
$typeid = "And arc.id$arcid"; the above is the content of this article on "how to call the relevant article tags on the dedecms article page". I believe you all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about it, please follow the industry information channel.