共 41 篇文章 |
|
阅35 转0 评0 公众公开 16-11-16 21:45 |
php url路由入门实例。RewriteEngine on #rewriteengine为重写引擎开关on为开启off为关闭 #RewriteCond $1 !^(index.php\.php|images|robots\.txt) RewriteRule ([a-zA-Z]{1,})-([0-9]{1,}).html$ sharexie/test.php?action=$1&id=$2 #([a-zA-Z]{1,})-([0-9]{1,}).html$是规则,sharexie/test.php?action=$1&id=$2是要替换的格式,$... 阅131 转0 评0 公众公开 16-11-16 18:32 |
DedeCMS伪静态教程: 含 列表 | 文章 | 问答 | 搜索 | TAG 伪静态。打开.htaccess文件,加入如下规则:#提供部分规则作参考RewriteRule ^category/list-([0-9]+)\.html$ /plus/list.php?tid=$1RewriteRule ^category/list-([0-9]+)-([0-9]+)-([0-9]+)\.html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3RewriteRule ^archives/view... 阅125 转0 评0 公众公开 15-06-16 15:28 |
DEDE用{dede:sql}标签取出当前文档的附加表中的内容。{dede:sql sql=''SELECT imgurls FROM #@__addonimages where aid=~aid~''} [field:imgurls runphp=''yes''] echo ''<pre>'';echo $GLOBALS[''a'']=@me;echo ''</pre>'';[/field:imgurls] {/... 阅70 转1 评0 公众公开 15-06-15 17:30 |
DedeCms 频道模型介绍,设计频道模型的方法(3) 如果发现发布的文章存在问题,需要修改,CMS系统调用的不是以上两个文件,而是:product_edit.php product_edit_action.php.step1:用dreamweaver或者editPlus打开复制好的“product_add.php”文件,查找“soft_edit.php”,替换成“product_edit.php” 查找“soft_edit_action.php”,替换成... 阅86 转0 评0 公众公开 15-06-15 16:26 |
step1:用dreamweaver或者editPlus打开复制好的“product_add.php”文件,查找“soft_add.php”,替换成“product_add.php” 查找“soft_add_action.php”,替换成“product_add_action.php”3、product_add_action.php的修改。step1:用dreamweaver或者editPlus打开复制好的“product_add_action.php”文件,查找“soft_add.php”,替换成“p... 阅31 转0 评0 公众公开 15-06-15 16:25 |
这是织梦原始的提示框。修改方法,打开。下面介绍一下showmsg()的使用方法。* 短消息函数,可以在某个动作处理后友好的提示信息。ShowMsg($msg, $gourl, $onlymsg=0, $limittime=0);$onlymsg==1 //进行操作;$onlymsg==0 //跳出弹框;分享到: 0赞 声明:OSCHINA 博客文章版权属于作者,受法律保护。未经作者同意不得转载。 阅1922 转0 评0 公众公开 15-06-12 15:27 |
Dedecms数据库结构表名:dede.表名:dede_addonarticle (ENGINE=MyISAM/CHARSET=gbk)smallint(5) unsigned NOT NULL DEFAULT ''0'' ,varchar(30) NOT NULL DEFAULT '''' ,varchar(255) NOT NULL DEFAULT '''' ,mediumint(8) unsigned NOT NULL DEFAULT ''0'' ,char(15) NOT ... 阅125 转0 评0 公众公开 15-06-09 15:21 |
{dede:arclist row=4 orderby=pubdate typeid=2 titlelen=''54''} [field:array runphp=''yes''] if(@me[''flag''] == ''h''){ @me="<li class=''list ''><a href=''".@me[''arcurl'']."'... 阅632 转9 评0 公众公开 15-05-15 11:03 |