上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页
摘要: 打开source\include\post\post_newthread.php找到if(!$sortid && !$special&& trim($message) == '') {showmessage('post_sm_isnull');}在下面加上以下代码就可以了//-------------------------------------- $query = DB::query... 阅读全文
posted @ 2011-05-23 11:43 天涯海客 阅读(183) 评论(0) 推荐(0) 编辑
摘要: dedecms5.7 判断seo标题是否为空,如果为空时,则自动调用栏目名称{dede:field name='id' runphp='yes'}$tid=@me;$dsql = $db = new DedeSql(false);$sql='select seotitle from dede_arctype where id='.$tid;$arr = $db->GetOne($sql);$seo... 阅读全文
posted @ 2011-05-09 16:45 天涯海客 阅读(154) 评论(0) 推荐(0) 编辑
摘要: declarecurcursorread_onlyforselectPNamefromPointdeclare@namevarchar(40)opencurfetchnextfromcurinto@namewhile(@@fetch_status=0)beginprint@namefetchnextfromcurinto@nameendclosecu... 阅读全文
posted @ 2011-05-06 15:26 天涯海客 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Sql 多表查询更新语句update tableA set UID = tableB.UserID from tableA , tableB where tableA.UserName=tableB.UserName 阅读全文
posted @ 2011-05-04 18:51 天涯海客 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 下面用一个企业招聘信息作为例子让大家熟悉一下DEDECMS的模块插件制作方法。登录DEDECMS后台,打开模块管理->模块生成向导模块名称:企业招聘信息联系Email:redaug@qq.com模块xx名称开发团队:redaug发布时间:2011-11-02官方网址:http://www.qqtu88.com/后台管理菜单: 使用说明文件:版权所有:redaug联系XXXXX网址:http... 阅读全文
posted @ 2011-04-27 16:42 天涯海客 阅读(732) 评论(0) 推荐(0) 编辑
摘要: 转自http://mengdejun.iteye.com/blog/945024这是一个很简单插件实例,通过此插件,你可以知道怎么样开发一个插件,它结构是怎么设置的,数据库,后台等。文件结构:enroll.php 文件在 plus文件下enroll.htm文件在templets/plus 文件夹下adenroll.php 文件在dede文件夹下adenroll.html 文件dede/temple... 阅读全文
posted @ 2011-04-27 16:33 天涯海客 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 找到\include\arc.listview.class.php,搜索原文 $this->Fields['title'] =preg_replace("/[]/", " / ",$this->TypeLink->GetPositionLink(false));大约为83行修改为 $this->Fields['title']=preg_replace('/[\s\v]+/',"",ereg_r... 阅读全文
posted @ 2011-04-27 14:50 天涯海客 阅读(262) 评论(0) 推荐(0) 编辑
摘要: dedecms很灵活,内容模型可以完成很多我们想要的工作,例如这里就举例说明一个留言系统的开发,留言系统的开发里面就需要用到表单,你的这个表单可以通过内容模型来实现。1.dede 内容模型管理–添加模型2.内容模型管理 > 更改内容模型 > 字段管理3.人才系统字段参考station 岗位 类别 √ √ √title 职位名称 单行文本 √ √workplace 工作地点 选项 √ √status... 阅读全文
posted @ 2011-04-26 16:08 天涯海客 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 织梦dedecms虽然可以生成静态页面, 也可以重写成为伪静态. 在后台有设置可以开启伪静态. 开启后还要经过一定的设置才能使用.下面是方法,组件我已经在附件里发布了!我总结为三步:第一步. 首先栏目和文章最好设置成动态浏览. 这样才不会生成静态html文件.第二步. 设置重写规则. 在系统目录下加一个 .htaccess文件. 内容为:RewriteEngine OnRewriteRule ^p... 阅读全文
posted @ 2011-04-26 14:19 天涯海客 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 收藏的SOCKS5_代理ip,代理IP不错的网站http://proxygo.com.ru/http://5uproxy.net/http_anonymous.html 阅读全文
posted @ 2011-04-25 18:02 天涯海客 阅读(351) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页