Ecshop商品浏览历史样式修改方法
2024-09-06 11:56:16
想要修改ECSHOP的浏览历史样式,发现 history.lbi 中不能修改。
需要修改的文件:includes\lib_insert.php,找到函数:function insert_history(),下面的代码:
$str.=’<ul><li><a href=”‘.$goods['url'].’” target=”_blank”><img src=”‘.$goods['goods_thumb'].’” alt=”‘.$goods['goods_name'].’” /></a></li><li><a href=”‘.$goods['url'].’” target=”_blank” title=”‘.$goods['goods_name'].’”>’.$goods['short_name'].’</a><br />’.$GLOBALS['_LANG']['shop_price'].’<font>’.$goods['shop_price'].’</font><br /></li></ul>’;
上面的代码就是所对应的样式代码,修改即可。
另外,调用的模板文件:history.lbi,中的:
<div id=’history_list’>
{insert name=’history’}
</div>
其中,id=”history_list”是“清空”操作的ID。
from: Internet
最新文章
- 进击的docker 一 : Docker 简介
- SqlServer字段说明查询
- 洛谷P3373 【模板】线段树 2
- Linq专题之对象初始化器
- [端API] 控件在一个页面里open了,但其他页面打开这个控件怎么关闭
- override和new的区别【摘】
- (转)Libevent(2)— event、event_base
- [置顶] 最优间隔分类器、原始/对偶问题、SVM的对偶问题——斯坦福ML公开课笔记7
- string数组转化成int数组
- mySQL的安装和基础使用及语法教程
- LNMP环境并发优化
- [android] 手机卫士自定义组合控件
- Docker学习笔记之运行和管理容器
- Storm Trident API
- SPP-Net
- 深度解析CNN
- 解决xampp启动mysql失败
- 新开篇关于vue
- 【bzoj】3477: [Usaco2014 Mar]Sabotage 01分数规划
- 在线安装eclipse中html/jsp/xml editor插件 eclipseeditor