摘要:phpcms/modules/admin/index.php// $code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFE...
阅读全文
摘要:\caches\caches_model\caches_data\model_field_1.cache.php搜索name="introcude_length" value="200"
阅读全文
摘要:phpcms\modules\admin\templates\main.tpl.php注释掉既可
阅读全文
摘要:phpcms\modules\admin\templates\googlesitemap.tpl.php修改selected到天和将20的生成数量改为大的数值,可以更快的操作
阅读全文
摘要:';var_dump($data);echo '';?>
阅读全文
摘要:\phpcms\modules\content\tag.php找到: 'title, description, url, inputtime, style'改成:'title, thumb, description, url, inputtime, style'
阅读全文
摘要:{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="20" order="id desc" keywords="$rs[keywords]"}{loop $data $r}{str_cut($...
阅读全文
摘要:caches\caches_template\default\content对应模板文件的编译
阅读全文
摘要:{loop $keywords $keyword} {$keyword}{/loop}
阅读全文
摘要:1、用于phpcms搬家,news(thumb)、news_data(content)、category(image)、page(content)UPDATE 表名 SET指定字段 = replace (指定字段, '想要替换的字符串', '替换成的字符串')WHERE 条件;UPDATE `v9_...
阅读全文
摘要:http://blog.csdn.net/yanhui_wei/article/category/1220735
阅读全文
摘要:phpcmsV9搜索结果自定义控制分页条数,具体方法:打开搜索模型文件夹phpcms/modules/search/index.php,找到第85行: $result = $this->db->listinfo($sql, 'searchid DESC', $page, 10);修改数值10为12,...
阅读全文
摘要:一、调用父栏目首先是列表页和二级栏目页list.html{$CATEGORYS[$top_parentid][catname]} //顶级父栏目名称{$CATEGORYS[$CAT[parentid]][catname]} //父栏目名称这个没有测试过。{$CATEGORYS[$top_pare...
阅读全文
摘要:在用phpcms V9做二次开发的时候,我们有时候会把一个栏目生成到根目录下,而且这个栏目又有子栏目,我们生成静态的时候分页会出现问题,就是分页的路径的地址错误。有一种解决方法就是,把这个栏目生成动态的,不要静态的,但是这样对于搜索引擎的收录不是太友好,那么我们就把它生成静态的,这时候我们可以这样做...
阅读全文
摘要:修改caches\configs\system.php中'html_root' => 'html',//生成静态文件路径改成'html_root' => '',//生成静态文件路径,然后修改url规则就可以了
阅读全文
摘要:http://www.jb51.net/cms/112109.html 静态URL生成规则http://v9.help.phpcms.cn/html/2010/database_1228/107.html 表结构
阅读全文
摘要:1、修改/caches/configs/system.php里面所有和域名有关的,把以前的老域名修改为新域名。2、进入后台设置--站点管理,对相应的站点的域名修改为新域名。3、点击后台右上角的更新缓存按钮更新系统缓存。4、进入内容--附件管理--附件地址替换。把附件地址批量的替换为新的地址。5、内容...
阅读全文
摘要:二级{pc:content action="category" catid="0" siteid="$siteid" order="listorder ASC"} 首页 {loop $data $r} {$r[catname]} {if $r[arrchild...
阅读全文
摘要:1、在这个目录下/caches/bakup/default导出文件category.sql2、登录网站的数据管理页面phpmyadmin3、导入数据库选择category.sql4、登陆网站后台更新缓存
阅读全文