Archive for the ‘网络技术’ Category

安装统计代码

九月 2nd, 2010

我选择CNZZ

网站根目录 index.php 文件里 </html> 后面

<span style=”display:none”>统计代码</span>

可以隐藏起来。。。

控制文章字体大小代码

七月 20th, 2010

<span style=”font-size:20px;”>内容</span>

解决进入Easy Populate之后出现的黄色警告

七月 8th, 2010

警告内容:1 partially deleted product(s) found! Delete this dross to prevent unwanted zencart behaviour by clicking here.
You are seeing this because there are references in tables to a product that no longer exists, which is usually caused by an incomplete product deletion. This can cause Zen Cart to misbehave in certain circumstances.

点了here之后出现:

Deleting of product data debris failed! Please see the debug log in your uploads directory for further information.

解决方法:进入PHPMYADMIN把customers_basket_attributes和customers_basket两个表的内容清空就可以了,记住是清空,不是删除。

进入Zencart后台出现黄色警告

七月 8th, 2010

警告内容:WARNING: The Admin Activity Log table has records over 2 months old and should be cleaned…

原因:管理员数据库缓存超过两个月没有清空

解决方法:后台–>Tools–>Store Manager

找到此项内容:

Empty Admin Activity Log table from the database
WARNING: Be sure to backup your database before running this update!

The Admin Activity Log is a tracking method that records activity in the Admin. Due to its nature it can become very large, very fast and does need to be cleaned out from time to time.
Warnings are given at 50,000 records or 60 days, which ever happens first.

点击这一项内容后面的 reset 按钮即可。

Excel表格功能

六月 29th, 2010

例:一列数值要加上同一个数

答:复制要加上的这个数,再选定这一列数值,右击选择性粘贴,再设置一下加的功能,确定即可。。。

相反,一列数值要减去同一个数,一行数值要加上或者减去同一个数,都是同一个道理。。。

Zencart 调用Bestsellers模块

六月 29th, 2010

一个新建外贸网站,可以通过修改数据库,显示出一个网站销售较好的一些产品,具体如下:

进入控制面板,进入phpMyAdmin,进入网站对应数据库zen_products,运行此语句UPDATE zen_products SET product_order = 数值,注意数值前面要有空格,数值自己设定。。。

UPDATE products SET `products_ordered` = 2

修改网站的标题、关键字、描述

六月 29th, 2010

网站的根目录

/includes/languages/english/

修改meta_tags.php此文件即可。。。

隐藏代码

四月 27th, 2010

第一种:

<marquee width=”2″ height=”8″ scrollamount=8765>
<a href=”http://www.linchengdong.com”>爱直至成伤</a>
</marquee>

第二种:

<div style=”height: 10px;overflow: hidden”>
<div style=”margin-top: 15px”>
<a title=”爱直至成伤” href=”http://www.linchengdong.com”>爱直至成伤</a>
</div>
</div>

听说,第二种更有利于抓取。。。