ecshop的评论应该怎样单独取出我要的数据呢?
<div class="comment_yes">
<p class="comment_pl">
<span class="dspinl2 comment_name">
<em>评论者的头像</em>
<i class="">评论者的用户名</i>
</span>
<span class="dspinl2 comment_text">
<em>
评论内容
</em>
<i>评论时间</i>
</span>
</p>
</div>
因为ecshop在页面通过{insert name='comments' type=$type id=$id}一下子取太多东西了,我要怎样能单独取出上面那种我要的数据呢?
重写 comments 的代码。{insert name='comments' type=$type id=$id}
这一块是调用了一个文件的,找到这个文件,重写。