PbootCMS后台增加副标题及自定义字段搜索 站长基地在apps/admin/model/content/ContentModel.php中//查找指定分类及子类文章及//在全部栏目查找文章中将->like('a.title',$keyword)改为->like('a.title,a.subtitle',$keyword)如果需要查找自定义字段,需要在$fields=array(里将自定义字段添加好,然后在like里添加上即可。PbootCMS教程
在apps/admin/model/content/ContentModel.php中//查找指定分类及子类文章及//在全部栏目查找文章中将->like('a.title',$keyword)改为->like('a.title,a.subtitle',$keyword)如果需要查找自定义字段,需要在$fields=array(里将自定义字段添加好,然后在like里添加上即可。