• dede让channelartlist标签支持currentstyle属性

      打开include\taglib\channelartlist.lib.php 找到 $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); 在此行代码下方增加以下代码: if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] ){              $pv->Fields['currentstyle'] = $currentstyle ?...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年8月27日 | 分类:DedeCMS技巧 | 阅读:1,718次 |
  • DEDE标题长截取加省略号

    在 过程中也许很多人会遇到这样的情况,列表标题文字太长了,想截取文字长度,同时在标题后面加省略号...,提示性的符号,这样比较友好,今天就和大家说下DEDE标题长截取加省略号,修改l的方法, {dede:arclist titlelen='50' row='10'} <li><a title="[field:title /]" href="[field:filename /]">[field:title function=' ( strlen("@me")>30 ? cn_substr...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年8月27日 | 分类:DedeCMS技巧 | 阅读:1,375次 |
  • ecshop中ecs_sessions 总报错

    第一种错误: MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `test`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('8a3107988bf98cc9a5079fdfbe766120', '1278128679', '127.0.0.1', 'a:0:{}') ) [2] => Array ( [error] => Table 'test.ecs_sessions' doesn't exist...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年7月27日 | 分类:Ecshop | 阅读:1,535次 |
  • input 取消“提交查询”

    原因用Input 做按钮 <input type="submit" > 结果在火狐里显示如下图 方法:<input type="submit" value="提交" name="submit"> value="" 即可
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年7月23日 | 分类:HTML | 阅读:1,355次 |
  • Cisco1242无线AP设置

      Cisco1242无线AP设置.rar
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年7月13日 | 分类:Cisco | 阅读:1,021次 |
  • CentOS安装中文支持包

    安装非常简单,如是其他版本linux系统,使用相应的在线升级命令即可,如apt-get 1.安装中文包:yum -y groupinstall chinese-support 2.修改字符编码配置文件 vi /etc/sysconfig/i18n LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT="lat0-sun16" export LC_ALL="zh_CN.GB18030" 3.reboot 重启系统 或参考...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年7月13日 | 分类:Linux | 阅读:1,381次 |
  • CentOS 用Yum安装unrar

    系统环境:CentOs6.3 X86_64 问题:默认CentOs6.3不能使用Yum自动安装Unrar [root@rekfan.com /]# yum install unrar Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors * base: centos.mirror.cdnetworks.com * extras: centos.mirror.cdnetworks.com * updates: centos.mirror.cdnetworks.com base | 3.7 kB 00:00 extras | 3...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年7月03日 | 分类:Linux | 阅读:1,360次 |
  • EcTouch20141218整合微信支付

    下载代码包,并解压。整合好的源码下载地址:http://pan.baidu.com/s/1pJMdm47 备份网站目录mobile\plugins\payment 及文件mobile\include\apps\default\controller\CommonController.class.php 复制压缩包内的payment目录到mobile\plugins\下并覆盖原payment。 修改微信平台中的设置 公众号支付 ->JS API网页->支付授权目录 为 http://您的域名...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年6月16日 | 分类:Ecshop | 阅读:1,598次 |
  • 微信通帐户绑定

    修改php.ini就可以了。 1. 在PHP.ini中搜索关键字 : allow_call_time_pass_reference 没有的自行建立。 2. 将 Off 改成 On ,Web Server重起就OK了~ allow_call_time_pass_reference = Off 变成 allow_call_time_pass_reference = On ps 文档注解为: 是否启用在函数调用时强制参数被按照引用传递。此方法已不被赞成并在 PHP/Zend 未来的版本中很可能不再支持。鼓励使用的方...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年6月04日 | 分类:Ecshop | 阅读:1,185次 |
  • 小京东v3 修复微信功能变量报错

    删除表weixin_keywords,然后重新执行下面的语句 在phpmyadmin 执行。 -- -- Table structure for table `weixin_keywords` -- DROP TABLE IF EXISTS `weixin_keywords`; /*!40101 SET @saved_cs_client     = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `weixin_keywords` ( `id` int(11) NOT NULL AUTO_INCREMENT, `key` var...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年6月03日 | 分类:Ecshop | 阅读:1,590次 |
  • ecshop2.7.3忘记管理员密码怎么办?

    方案一:使用phpmyadmin修改忘记的管理员密码。服务器可以上传一个phpmyadmin,虚拟主机一般会有的,在数据库高级管理里。 进入phpmyadmin,进入ecshop的数据库,进入表ecs_admin_user 打开,如下图 找到ID为1的那个记录,可能你的不是叫admin,但user_id为1的才是最高权限的管理员。 点击编辑,修改password字段,前面的函数选择 MD5 ,输入你要设置的新密码,如111111 ,...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年5月28日 | 分类:Ecshop | 阅读:1,203次 |