phpcms修改首页搜索框选项

后台:“模块管理”—“全站搜索模块”-“管理分类”。

Phpcms2008程序目录文件说明

主要目录部分

/admin    管理后台目录
– /skin/      后台样式
– /templates/       后台样式模板 Read the rest of this entry »

Phpcms2008模板文件说明

一、模板管理说明
1.所有的模板方案都保存在./templates/目录下
2.增加的网站模板方案,应该放置于.templates/目录
3.需要应用新的网站模板方案,把该模板方案设置为系统默认方案 Read the rest of this entry »

Zen Cart 添加修改模板(文件替代机制)

首先,为新的模板文件创建一个目录。
打开:includes/templates/ 在这里建立一个目录,例如mytemplate
复制includes\templates\classic 所有目录和文件到新创建的includes\templates\mytemplate/目录中.接着,用文本编辑器打开文件 /includes/templates/mytemplate/template_info.php。修改 $template_name = ‘Default Theme’; 为$template_name = ‘我的模板’; 加上你自己的版本、作者和描述。现在,转到管理页面,选择 工具(Tools) -> 模板选择(Template Selection),点击编辑,从下拉菜单中选择你的模板,并点击更新按钮。最后,选择工具(Tools) -> 外观设置(Layout Boxes Controller), 在屏幕最下面,选择重置按钮。 Read the rest of this entry »

Zen Cart 修改管理页面的目录名

在修改前,建议备份好程序和数据库.

1- 打开文件 admin/includes/configure.php.
将所有出现 /admin/ 的地方改成自己定义的名字
需要修改的部分: Read the rest of this entry »

php生成html文件原理

fopen打开文件函数
fopen(路径和文件名,打开方式) R-只读 W-写入 A-读写
fread读取文件内容
fread(打开的文件,结束位置) 结束位置以字节为单位
filesize读取文件大小,字节为计量单位 Read the rest of this entry »