如何更改pure_***模板的导航

2010年02月26日 11:29 上午  |  分类:Zen Cart专题

pure_***的四个模板,其头部导航条更改地方是:\includes\templates\pure_orange\templates\tpl_top_nav.php

如何拷贝zen cart网站

2010年02月6日 6:03 下午  |  分类:Zen Cart专题

如何拷贝(复制)网站,在网络上搜索一下,全部是关于拷贝/复制网站模板,这不是我想要的,我要找的是如何拷贝/复制整个网站,因为搜索不到,如今我会了,在此分享下:

假如我们有了个A网站,是做好的,现在要再建个B网站,拷贝A网站,那我们先要把B网站建起来,建到网站初始形状已经出来,下面就开始了。

在服务器上,直接把A网站的所有文件复制到B网站的相应目录下,下载A的数据库zip压缩包,上传到B网站的数据库管理中,打开前台看下。

有时因为程序或其它问题,在B网站前台会出现些问题,需要一一解决。

新建zen cart网站首页一段内容怎么删除?

2009年09月29日 9:27 下午  |  分类:Zen Cart专题

新建zen cart网站后,往往主页中间有一段话如下:

Our professional services will help you to breathe new life into your business. Feel free to describe the functionality of modules and templates you need to enhance your Zen Cart by sending us a request for quote. Even more, you can use our site to download free templates and modules for your Zen Cart! Make your store eminent and surely customers will appreciate that. This is the main define statement for the page for english when no template defined file exists. It is located in: /includes/languages/english/index.php

删除方法是:FTP:/includes/languages/english/当前使用的模板名/index.php,在define(‘TEXT_MAIN’,”);里有这一段内容,删除!

另:前面如果有句Welcome to WebShop.com,也是在该文件里改的,位置是define(‘HEADING_TITLE’, ‘);里。

王子的模板

2009年09月15日 4:06 上午  |  分类:WordPress

wordpress默认的模板很经典,但是我已经不怎么喜欢了。所以想换个新的模板,要简单的,干净的……大家看得舒服,我想seo也有好处,挑来挑去还是觉得陈总博客的模板好。于是,就下了prowerv2模板。

安装完,老庄发现了我模板的一个BUG,在文章末尾没有评论框,而是只有一段文字:

Fatal error: Call to undefined function wp_related_posts() in /home6/pradasal/public_html/crazyprince/wp-content/themes/prowerV2/single.php on line 29.

找了好多地方,还是没解决,恼火了!

最后发现,原来是模板里的一些插件没有激活,到wordpress后台/插件/已安装/管理插件中,Pagebar2、wp_addbookmarks、Post-Plugin Library、Random Posts、WordPress Related Posts、WP-PostViews启用这六个插件即可,插件的调用代码已经集成到主题中。