muban大师 发表于 2019-3-31 10:35:10

织梦DEDECMS搜索显示搜索数量

打开 /include/arc.searchview.class.php 搜索
       
       
        else if($tagname=="field")
       
       
        在它上面加入
       
       
        else if($tagname=="itemcount")
       
        {
       
        $this->dtp->Assign($tagid,$this->TotalResult);
       
        }
       
        搜索模板用{dede:itemcount/}调用即可,
页: [1]
查看完整版本: 织梦DEDECMS搜索显示搜索数量