当前位置:Gxlcms > PHP教程 > ecshop怎样单独的取出各项评论的数据

ecshop怎样单独的取出各项评论的数据

时间:2021-07-01 10:21:17 帮助过:5人阅读

ecshop的评论应该怎样单独取出我要的数据呢?


    

评论者的头像 评论者的用户名 评论内容 评论时间

因为ecshop在页面通过{insert name='comments' type=$type id=$id}一下子取太多东西了,我要怎样能单独取出上面那种我要的数据呢?

回复内容:

ecshop的评论应该怎样单独取出我要的数据呢?


    

评论者的头像 评论者的用户名 评论内容 评论时间

因为ecshop在页面通过{insert name='comments' type=$type id=$id}一下子取太多东西了,我要怎样能单独取出上面那种我要的数据呢?

重写 comments 的代码。
{insert name='comments' type=$type id=$id}
这一块是调用了一个文件的,找到这个文件,重写。

人气教程排行