{if $cat.id eq 9}{$cat.name|escape:html}{$child.name|escape:html}{/if} Read More
posted @ 2015-07-01 11:26 定格的有天 Views(140) Comments(0) Diggs(0)
if($cat_id == '205'){ $smarty->display('cat1.dwt', $cache_id); }elseif($cat_id == '2'){ $smarty->display('cat2.dwt', $cache_id); }else{ ... Read More
posted @ 2015-06-30 10:56 定格的有天 Views(112) Comments(0) Diggs(0)
方法一:修改init.php文件方法改变ecshop默认语言包 该方法适用于:安装ecshop中文版的站长使用。 1、进入您的后台,按照下图提示,将系统语言选项设为 en_us(英语) ,确定保存。 2、用文本编辑器打开init.php文件,查找定位“$_CFG = load_config();”(... Read More
posted @ 2015-06-29 17:50 定格的有天 Views(789) Comments(3) Diggs(0)
includes里的init.php的187-194行 if (!empty($_CFG['stylename'])) { $smarty->assign('ecs_css_path', 'themes/' . $_CFG['template'] . '/style_' . $_... Read More
posted @ 2015-06-29 16:56 定格的有天 Views(346) Comments(0) Diggs(0)
1.修改/admin/template/category_info.html{$lang.cat_img}:{if $cat_info.category_img}{/if}2.修改/languages/zh_cn/admin/category.php增加一个语言配置项$_LANG['cat_img'... Read More
posted @ 2015-06-29 16:49 定格的有天 Views(406) Comments(0) Diggs(0)
windows 2008 一键安装包下载地址为http://gongdan.oss-cn-hangzhou.aliyuncs.com/market/cmISV/34320/product/cmgj000263/windows2008_setup.zip下载后,在服务器内解压,参考压缩包的文档进行安装... Read More
posted @ 2015-06-26 15:25 定格的有天 Views(281) Comments(0) Diggs(0)
1,Overflow内容溢出时的设置overflow 水平及垂直方向内容溢出时的设置overflow-x 水平方向内容溢出时的设置overflow-y 垂直方向内容溢出时的设置以上三个属性设置的值为visible、scroll、hidden、autovisible 默认值。使用该值时,无论设置的"w... Read More
posted @ 2015-05-14 10:41 定格的有天 Views(502) Comments(0) Diggs(0)
或许出现以下错误情况:phpmyadmin:#1045 无法登录 MySQL 服务器。Access denied for user ‘root’@’localhost’ (using password: YES)问题原因:这有可能是由于前面设置mysql密码没有成功,所以导致了我们使用设置的mysq... Read More
posted @ 2015-04-03 10:31 定格的有天 Views(303) Comments(0) Diggs(0)
用织梦程序做网站,有时候因为功能需求,我们要为网站的栏目页添加缩略图功能,而dedecms又没自带这个功能,那么就需要我们来修改程序了。这里有一个栏目添加缩略图的方法,供大家参考。涉及到文件如下(注意备份):dede/catalog_add.php dede/catalog_edit.phpdede... Read More
posted @ 2015-03-30 09:30 定格的有天 Views(186) Comments(0) Diggs(0)
修改配置文件-时会弹出一个文本式的文件1、搜索:#LoadModule rewrite_module modules/mod_rewrite.so,去掉前面的#2、全部替换AllowOverride None为:AllowOverride Options FileInfo最后,重新启动APMServ... Read More
posted @ 2015-03-24 09:05 定格的有天 Views(102) Comments(0) Diggs(0)