网站地图    收藏   

主页 > 后端 > dedecms >

dede搜索页面不能使用arclist等标签解决办法 - De

来源:自学PHP网    时间:2014-11-30 17:03 作者: 阅读:

[导读] dede模板搜索页search.php支持arclist和channelartlist标签调用打开include/arc.searchview.class.php.//查找:require_once(DEDEINC./taglib/hotwords.lib.php);require_once(DEDEINC./taglib/chan......

dede搜索页面不能使用arclist等标签解决办法

dede模板搜索页search.php支持arclist和channelartlist标签调用

打开include/arc.searchview.class.php.

  1. //查找: 
  2.  
  3. require_once(DEDEINC.”/taglib/hotwords.lib.php”); 
  4. require_once(DEDEINC.”/taglib/channel.lib.php”); 
  5.  
  6. //下面插入 
  7.  
  8. require_once(DEDEINC.”/taglib/arclist.lib.php”); 
  9. require_once(DEDEINC.”/taglib/channelartlist.lib.php”); 
  10. //phpfensi.com 
  11. //查找 
  12.  
  13. else if($tagname==”hotwords”) 
  14. $this->dtp->Assign($tagid,lib_hotwords($ctag,$this)); 
  15.  
  16. //下面插入 
  17.  
  18. else if($tagname==”arclist”) 
  19. $this->dtp->Assign($tagid,lib_arclist($ctag,$this)); 
  20. else if($tagname==”channelartlist”) 
  21. $this->dtp->Assign($tagid,lib_channelartlist($ctag,$this)); 
  22. }

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论