本文介绍了织梦dedecms怎么让搜索结果根据栏目选择模板,解决思路:先在搜索模板里面添加下拉栏目标签,然后打开arc.searchview.class.php,在里面添加$tempfile = ($this->TypeID > 0) ? str_replace( ".htm ", "{$this->TypeID}.htm ",$tempfile) : $tempfile;就可以直接使用了。
2021-05-12 1734