会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
azcqwezxc
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2017年12月1日
织梦(dedecms)设置文章默认作者和来源
摘要: 打开你的管理员目录(默认是dede)下的article_add.php文件,找到第93到95行,把默认的: 修改方法: //对保存的内容进行处理if(emptyempty($writer))$writer=$cuserLogin->getUserName(); if(emptyempty($sour
阅读全文
posted @ 2017-12-01 09:42 azcqwezxc
阅读(332)
评论(0)
推荐(0)
2017年11月30日
dede按权重排序无效-BUG-不准,解决办法
摘要: 解决dede:list标签不准的方法 1、找到"根目录\include\arc.listview.class.php"文件。 2、修改代码:在文件第727行处添加按weight排序判断代码(红色部分为新添加代码)。 //排序方式 $ordersql = ''; if($orderby=="sendd
阅读全文
posted @ 2017-11-30 13:21 azcqwezxc
阅读(843)
评论(0)
推荐(0)
2017年11月28日
dede 内容页调用自定义模型图片方法
摘要: 修改/include/extend.func.php文件,添加如下代码至末尾: function GetOneImgUrl($img,$ftype=1){ if($img <> ''){ $dtp = new DedeTagParse(); $dtp->LoadSource($img); if(is
阅读全文
posted @ 2017-11-28 16:22 azcqwezxc
阅读(1061)
评论(0)
推荐(0)
dede 自定义模型中,有时候新增的字段会报错:
摘要: Fatal error:Call to a member function GetInnerText() on a non-object in E:\wamp\www\include\customfields.func.php in line 539. 解决办法: 打开\include\custom
阅读全文
posted @ 2017-11-28 15:31 azcqwezxc
阅读(548)
评论(0)
推荐(0)
2017年11月2日
手机站,纯全屏,1rem=100px
摘要: <!DOCTYPE html><html><head> <script type="text/javascript"> document.documentElement.style.fontSize=document.documentElement.clientWidth/6.4+'px'; doc
阅读全文
posted @ 2017-11-02 11:37 azcqwezxc
阅读(261)
评论(0)
推荐(0)
2017年10月16日
mysqldump导出/导入 全部数据库
摘要: windows环境下 添加“系统环境变量”。我的电脑>属性>高级>环境变量,在“系统变量”栏目下找到 path 双击编辑。先添加;(分号),再添加MySQL安装目录下bin文件夹(包含mysql.exe和mysqldump.exe等文件)的路径,如 F:\wamp\bin\mysql\mysql5.
阅读全文
posted @ 2017-10-16 14:19 azcqwezxc
阅读(711)
评论(0)
推荐(0)
2017年9月15日
css3 animation
摘要: #ayr_banner a { display:inline-block; width:49%; height:90%; border: 1px solid red; background: #fff; opacity: 0; animation:mymove 2s infinite;} @keyf
阅读全文
posted @ 2017-09-15 16:27 azcqwezxc
阅读(88)
评论(0)
推荐(0)
2017年9月5日
网页插入视频例子代码
摘要: <video width="658" height="444" poster="http://www.youname.com/images/first.png" autoplay="autoplay" preload="none" loop="loop" controls="controls"><s
阅读全文
posted @ 2017-09-05 11:26 azcqwezxc
阅读(257)
评论(0)
推荐(0)
2017年9月4日
Memcached和Memcache安装(64位win7)
摘要: 一、Memcached和Memcache的区别: 网上关于Memcached和Memcache的区别的理解众说纷纭,我个人的理解是: Memcached是一个内存缓存系统,而Memcache是php的一个扩展,是php用于操作和管理Memcached的工具。如果安装了Memcached但没有安装Me
阅读全文
posted @ 2017-09-04 16:47 azcqwezxc
阅读(149)
评论(0)
推荐(0)
dede搜索页-分页
摘要:
阅读全文
posted @ 2017-09-04 13:41 azcqwezxc
阅读(121)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告