卓越飞翔博客卓越飞翔博客

卓越飞翔 - 您值得收藏的技术分享站
技术文章64334本站已运行4115

PHPCMS二次开发教程标签页调用缩略图的方法

PHPCMS v9 tag标签页调用缩略图的修正方法:

打开phpcmsmodulescontenttag.php文件

找出

$res = $this->db->get_one(array('id'=>$contentid), 'title, description, url, inputtime, style');

修改为

$res = $this->db->get_one(array('id'=>$contentid), 'title, thumb, description, url, inputtime, style');

PHPCMS v9 tag标签页调用缩略图的调用方法:

{loop $datas $r}
  •   
  • {/loop}

    卓越飞翔博客
    上一篇: PHPCMS V9 TAG页面关键词每页显示20个的修改方法
    下一篇: PHPCMS栏目页如何绑定二级域名?
    留言与评论(共有 0 条评论)
       
    验证码:
    隐藏边栏