CmsEasy 4.8to5.0 升级包
作者:jackie 发布时间:2012-08-08 08:25:31 浏览 :

1.升级概述:
从CmsEasy4.8升级到CmsEasy5.0
2.升级方法:
【第一步】
(1)备份现有的数据库和文件;
【第二步】
(1)下载升级包upgrade48to50,解压到任意地方;
(2)上传uploads里面的文件到程序安装目录,覆盖;
(3)运行http://您的cmseasy4.8安装目录/upgrade.php;
【第三步】
(1)删除upgrade文件夹和upgrade.php;
(2)进入后台进行网站配置;
(3)后台进行更新缓存;
3.备注:
(1)如果您改动了文件,请先相关备份,进行升级后,可以对照默认文件进行调整;
(2)请查阅“CmsEasy5.x说明.txt”文档;
更新内容:
增加会员权限配置;
增加不同会员组折扣配置;
增加内容有效时间;
增加购物后提示结算;
修正静态生成功能;
修正表单多选和安装问题;
修正回收站过期文章恢复问题;
修正bbs板块内无法发帖;
修正分类生成缩略图;
修正下载图片地址错误;
增加栏目封面内容分页;
修正上传图片大写后缀问题;
修正静态不支持title问题;
修正内链导致内容无法访问问题。
模板中:
archive/show_products.html 中
- <script type="text/javascript">
- $(function() {
- // 放大镜
- var options =
- {
- zoomWidth: 350,
- zoomHeight: 250,
- showEffect:'show',
- hideEffect:'fadeout',
- fadeoutSpeed: 'slow',
- title :false
- }
- $(".jqzoom").jqzoom(options);
- // 图片左右滚动
- $('#image_list').jcarousel();
- // 点击小图更换大图
- $('#image_list img:only-child').click(function(){
- $('#current_img').attr('src', this.src);
- // 大图的命名方式为 小图 + 下划线
- $('#current_img').parent().attr('href', this.alt);
- });
- });
- </script>
- 改成
- <script type="text/javascript">
- $(function() {
- // 放大镜
- var options =
- {
- zoomWidth: 350,
- zoomHeight: 250,
- showEffect:'show',
- hideEffect:'fadeout',
- fadeoutSpeed: 'slow',
- title :false
- }
- $(".jqzoom").jqzoom(options);
- // 图片左右滚动
- $('#image_list').jcarousel();
- // 点击小图更换大图
- $('#image_list img:only-child').click(function(){
- $('#current_img').attr('src', this.src);
- // 大图的命名方式为 小图 + 下划线
- $('#current_img').parent().attr('href', this.alt);
- });
- $('#dialog').dialog({
- autoOpen: false,
- width : 300,
- buttons : {
- "继续购物" : function() {
- $(this).dialog("close");
- },
- "去购物车结算": function() {
- window.location.href= "{url('archive/orders',true)}";
- $(this).dialog("close");
- }
- }
- });
- $('#dialog_link').click(function(){
- $.get("{url('archive/doorders/aid/'.$archive['aid'],true)}", null,function(data){
- $('#dialog').dialog('open');
- return false;
- });
- });
- });
- </script>
- <link type="text/css" href="common/js/jquery/ui/jquery-ui-1.7.3.custom.css" rel="stylesheet" />
- <script type="text/javascript" src="common/js/jquery/ui/jquery-ui-1.7.3.custom.min.js"></script>
- <div id="dialog" title="本站提示"><p>加入购物车成功!</p></div>