如何去除ecshop标题和网站底部的Powered by ECShop
1个回答
展开全部
1、去掉Powered by ECShop
修改文件:includes/lib_main.php
查找:$page_title = $GLOBALS[’_CFG’][’shop_title’] . ‘ - ‘ . ‘Powered by ECShop’;
将其改为
$page_title = $GLOBALS[’_CFG’][’shop_title’];
2、去掉页脚的版权信息
在ecshop根目录/themes/当前模板名/library/page_footer.lbi中, 找到如下代码并删除:
<a href="http://www.ecshop.com" target="_blank"
style="font-size:10px">Powered by <strong><span
style="color: #3366FF">ECShop</span> <span style="color:
#FF9966">{$ecs_version}</span></strong></a><br
/>
删掉底部ecshop的logo
在ecshop根目录/themes/当前模板名/library/page_footer.lbi, 找到如下代码:
<img src="../images/footer-logo.gif" alt="" id="footer-logo" />
将其删掉即可.
3、修改文件代码头部的Generator标记
修改文件:includes/cls_ecshop.php
查找:
define('APPNAME', 'ECSHOP');
修改为:
define('APPNAME', '自定义的网站代号');
4、修改文件:js/common.js
查找:onload = function() 代码段,全部删除
修改文件:includes/lib_main.php
查找:$page_title = $GLOBALS[’_CFG’][’shop_title’] . ‘ - ‘ . ‘Powered by ECShop’;
将其改为
$page_title = $GLOBALS[’_CFG’][’shop_title’];
2、去掉页脚的版权信息
在ecshop根目录/themes/当前模板名/library/page_footer.lbi中, 找到如下代码并删除:
<a href="http://www.ecshop.com" target="_blank"
style="font-size:10px">Powered by <strong><span
style="color: #3366FF">ECShop</span> <span style="color:
#FF9966">{$ecs_version}</span></strong></a><br
/>
删掉底部ecshop的logo
在ecshop根目录/themes/当前模板名/library/page_footer.lbi, 找到如下代码:
<img src="../images/footer-logo.gif" alt="" id="footer-logo" />
将其删掉即可.
3、修改文件代码头部的Generator标记
修改文件:includes/cls_ecshop.php
查找:
define('APPNAME', 'ECSHOP');
修改为:
define('APPNAME', '自定义的网站代号');
4、修改文件:js/common.js
查找:onload = function() 代码段,全部删除
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询