摘要: 当小伙伴在使用echop模板进行修改的时候,如果你删掉底部自带版权后,再调试程序刷新界面的时候,时不时就会冒出一个power by ecshop,而且是带有链接的,很不舒服,所以需要去掉,下面是最简单的办法。找到js/common.js文件搜索onload=onload = function(){}函数将该函数直接删掉即可。 阅读全文
posted @ 2014-02-22 17:12 求必印 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 第一步在系统目录文件找到includes/lib_goods.php 这个文件打开在此页最底部加入以下函数代码/** * 首页获取指定分类产品 * * @access public * @param string $cat_id53_best_goods * @param array $cat_id53_best_goods * @return array */ function index_get_cat_id_goods_best_list($cat_id = '', $num = '') { $sql ... 阅读全文
posted @ 2014-02-22 17:00 求必印 阅读(6203) 评论(0) 推荐(0) 编辑
摘要: 打开 index.php 添加 fun函数一个,需放在中间。/** * 获得指定栏目的文章列表。 * @param int $cid 栏目ID * @param int $row 条数 * @return array */function index_get_articles($cid = 0, $row = 10){ $ta = $GLOBALS['ecs']->table('article'); $tac = $GLOBALS['ecs']->table('article_cat'); $sql = " 阅读全文
posted @ 2014-02-22 16:57 求必印 阅读(3441) 评论(0) 推荐(0) 编辑