文章关键字 ‘zencart’

zencart产品排序

2011年10月26日,星期三

Configuration-Product listing-Display Product Listing Default Sort Order

1a=model number sort ascending
1d=model number sort descending
2a=name sort ascending
2d=name sort descending
4a=price sort ascending
4d=price sort descending

zencart后台路径修改

2011年10月13日,星期四

zencart低版本安全很差,管理后台有个忘记密码发送的bug。今天google了一下,修改了,不知道能不能生效。

zen cart安全如何修改zencart后台管理目录admin

修改”admin”目录名,用一个很难猜测到的名字。

(在进行下面的修改前,请备份文件和数据库。)

A- 用文本编辑器,例如记事本,打开文件admin/includes/configure.php。

将所有出现/admin/的地方改成自己的管理目录名。

需要修改的部分:

define(’DIR_WS_ADMIN’, ‘/admin/’);

define(’DIR_WS_CATALOG’, ‘/’);

define(’DIR_WS_HTTPS_ADMIN’, ‘/admin/’);

define(’DIR_WS_HTTPS_CATALOG’, ‘/’);

需要修改的部分:

define(’DIR_FS_ADMIN’, ‘/home/mystore.com/www/public/admin/’);

define(’DIR_FS_CATALOG’, ‘/home/mystore.com/www/public/’);

B- 找到ZenCart的/admin/目录,

将该目录名按照admin/includes/configure.php中的定义作相应修改。

解决zenlightbox在chrome无法问题

2010年11月24日,星期三

目前似乎还没看到中文翻译的解决办法。
希望能帮到大家。

讨论:

开始DAVE以为是NO-DOM功能浏览器问题

“I guess after Chrome 4 it stop working… until Chrome is fixed, you could add AppleWebKit to the list checking for non-DOM ready browsers.”

in… includes\classes\zen_lightbox\autoload_default.php”

后来发觉是Mootools版本问题,似乎也通过这个解决了。

“I was wrong about Chrome… its Mootools that needs to be upgraded to version 1.3 in zen lightbox…. Chrome wont work with anything lower then 1.3 of Mootools….

http://www.zen-cart.com/forum/showthread.php?t=45314&highlight=Chrome&page=214”

解决:
最终我使用了另一个回帖的方法:
aozhaver的回帖
不用去动js
不过本人因为看了之前的帖,已经动过了,但目前似乎没问题
(/includes/templates/Your_Template/jscript/的Mootools已经是1.3 com)

下载文件,更新方法见下文。
替换新文件操作 slimbox.php
目录:…/includes/classes/zen_lightbox
With the new slimbox.php

替换新文件操作 stylesheet_zen_lightbox.css in your
…/includes/templates/YOUR_TEMPLATE/css

复制文件 GIFS (photo) 到以下目录
…/includes/templates/YOUR_TEMPLATE/images

下载:ZEN_LIGHTBOX_FIX

原文:


“Originally Posted by aozhaver View Post
OK, God forbid anyone should post here a PROPER solution to help others with the new chrome issue so after fiddling for 2 days I bring you here the proper working fully tested solution *no fiddling required*.

Get this file Attachment 8349

Upload to the following locations and replace existing files:

Replace slimbox.php in your
…/includes/classes/zen_lightbox
With the new slimbox.php file included in my ZIP

Replace stylesheet_zen_lightbox.css in your
…/includes/templates/YOUR_TEMPLATE/css
with the new stylesheet_zen_lightbox.css file included in my ZIP

copy the GIFS (photo) files to your
…/includes/templates/YOUR_TEMPLATE/images

THATS IT!!!

DONT TOUCH your JScript folder files!! – leave that for the wisecracks…

The only reason that this thread isnt FLOODED with people having this problem is simply because most haven’t updated their chrome version.

Even I by total chance had to uninstall chrome and reinstall a new version to resolve unrelated issues and then my woes started with lightbox.

GOOD LUCK!! ”

出处
http://www.zen-cart.com/forum/showthread.php?p=961153