What if the dream weaving dedecms TAG tag can't be found?
This article mainly introduces the dream weaving dedecms TAG tag can not be found how to do, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Resolve the problem that the tag could not be found on the TAG page
When we click on a tab on the tags.php page, we sometimes prompt: "the system does not have this tag, but it can be removed!"
But we check the program background, as well as the foreground display page. This label does exist, if you solve this problem, then?
Solution:
There is a tags.php file in the root directory of the Dedecms program
Open this file:
Find $tag = FilterSearch (urldecode ($tag))
Change to $tag = urldecode ($tag)
This problem can be solved.
The method of making dedeTAG color label:
1. Add the following functions to / include/common.func.php
Function getTagStyle () {$minFontSize=8; / / minimum font size, you can change $maxFontSize=18; / / maximum font size as needed, and you can change return 'font-size:'. ($minFontSize+lcg_value () * (abs ($maxFontSize-$minFontSize).' px; color:#'.dechex (rand (0255)) .dechex (rand (0196)) .dechex (rand (0255));}
two。 Invoke the tag in the template with the following code
{dede:tag row='45' getall='1' sort='hot'} [field:tag /] {/ dede:tag} Thank you for reading this article carefully. I hope the editor can't find out what to do with the dream weaving dedecms TAG tag. 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!