The solution that dedecms search pages cannot use tags such as arclist
Editor to share with you the solution that dedecms search pages can not use tags such as arclist. I hope you will gain a lot after reading this article. Let's discuss it together.
What if the dedecms search page cannot use tags such as arclist?
This paper illustrates the solution that dedecms search pages can not use tags such as arclist. Share it with you for your reference. The specific methods are as follows:
This describes the method that the dedecms template search page search.php supports arclist and channelartlist tag calls. The steps are as follows:
Open include/arc.searchview.class.php.
Find:
The code is as follows:
Require_once (DEDEINC. "/ taglib/hotwords.lib.php"); require_once (DEDEINC. "/ taglib/channel.lib.php")
Insert below
The code is as follows:
Require_once (DEDEINC. "/ taglib/arclist.lib.php"); require_once (DEDEINC. "/ taglib/channelartlist.lib.php")
Find
The code is as follows:
Else if ($tagname== "hotwords") {$this- > dtp- > Assign ($tagid,lib_hotwords ($ctag,$this);}
Insert below
The code is as follows:
Else if ($tagname== "arclist") {$this- > dtp- > Assign ($tagid,lib_arclist ($ctag,$this));} else if ($tagname== "channelartlist") {$this- > dtp- > Assign ($tagid,lib_channelartlist ($ctag,$this));} after reading this article, I believe you have some understanding of the solution that arclist and other tags can not be used in dedecms search pages. Want to know more about it, welcome to follow the industry information channel, thank you for reading!