<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>织梦博客 &#187; Dedecms教程</title>
	<atom:link href="http://www.liukun.org/cms/dede/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liukun.org</link>
	<description>有一个梦 我已寻找了一千次</description>
	<lastBuildDate>Fri, 18 May 2012 18:13:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>织梦dede后台文件列表按文件名排序的方法</title>
		<link>http://www.liukun.org/471.html</link>
		<comments>http://www.liukun.org/471.html#comments</comments>
		<pubDate>Fri, 18 May 2012 18:13:10 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[织梦dede]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=471</guid>
		<description><![CDATA[<p>后台文件列表按文件名排序的方法: 织梦dede系统的后台文件, 默认的排序很乱, 不是按名称, 也不是按时间, 如果目录内容很多的话, 很难找到自己想要的文件:
没有按名字排序

实在是太不方便了, 于是想让这些文件列表按名字排序, 看了一下后台的文件, 原来是因为php的函数dir引起的, 以”默认模板管理”在文件列表为例, 在后台的找到模板文件: /dede/templets/templets_default.htm (dede为你的后台目录) ,打开这个文件找到:
 &lt;?ph...<a href='http://www.liukun.org/471.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>后台文件列表按文件名排序的方法: 织梦dede系统的后台文件, 默认的排序很乱, 不是按名称, 也不是按时间, 如果目录内容很多的话, 很难找到自己想要的文件:
没有按名字排序

实在是太不方便了, 于是想让这些文件列表按名字排序, 看了一下后台的文件, 原来是因为php的函数dir引起的, 以”默认模板管理”在文件列表为例, 在后台的找到模板文件: /dede/templets/templets_default.htm (dede为你的后台目录) ,打开这个文件找到:
 &lt;?ph...<a href='http://www.liukun.org/471.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/471.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dedecms文章实现隔行换色或者换背景的方法</title>
		<link>http://www.liukun.org/463.html</link>
		<comments>http://www.liukun.org/463.html#comments</comments>
		<pubDate>Fri, 04 May 2012 17:44:59 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[DedeCMS]]></category>
		<category><![CDATA[隔行换色]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=463</guid>
		<description><![CDATA[<p>格式如下：
{dede:arclist titlelen='22' row='7'}
[field:global runphp='yes' name=autoindex]
$a="&lt;li class='bg1'&gt;";  $b="&lt;li class='bg2'&gt;";
if ((@me%2)==0) @me=$a;  else @me=$b;
[/field:global]
&lt;a href="[field:arcurl /]" title="[field:fulltitle/]" target="_blank"&gt;[field:title /]&lt;/a&gt;&lt;/li&gt;
{/dede:arclist}
bg1和bg2的样式自己定义即可隔行换色或者换背景。
<a href='http://www.liukun.org/463.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>格式如下：
{dede:arclist titlelen='22' row='7'}
[field:global runphp='yes' name=autoindex]
$a="&lt;li class='bg1'&gt;";  $b="&lt;li class='bg2'&gt;";
if ((@me%2)==0) @me=$a;  else @me=$b;
[/field:global]
&lt;a href="[field:arcurl /]" title="[field:fulltitle/]" target="_blank"&gt;[field:title /]&lt;/a&gt;&lt;/li&gt;
{/dede:arclist}
bg1和bg2的样式自己定义即可隔行换色或者换背景。
<a href='http://www.liukun.org/463.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/463.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dedecms搜索每页只显示10篇文章的问题解决办法</title>
		<link>http://www.liukun.org/461.html</link>
		<comments>http://www.liukun.org/461.html#comments</comments>
		<pubDate>Wed, 02 May 2012 14:30:31 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[dedecms搜索]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=461</guid>
		<description><![CDATA[<p>dedecms搜索每页只显示10篇文章，模板里无法控制。
打开/plus/search.php查找
$pagesize = (isset($pagesize) &amp;&amp; is_numeric($pagesize)) ? $pagesize : 10;
将10改成每页想要显示的篇数即可。
<a href='http://www.liukun.org/461.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>dedecms搜索每页只显示10篇文章，模板里无法控制。
打开/plus/search.php查找
$pagesize = (isset($pagesize) &amp;&amp; is_numeric($pagesize)) ? $pagesize : 10;
将10改成每页想要显示的篇数即可。
<a href='http://www.liukun.org/461.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/461.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dedecms统计tag个数</title>
		<link>http://www.liukun.org/456.html</link>
		<comments>http://www.liukun.org/456.html#comments</comments>
		<pubDate>Fri, 27 Apr 2012 11:49:13 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[tag个数]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=456</guid>
		<description><![CDATA[<p>dedecms的tags页面统计tag个数，功能有点鸡肋，但说不准有人需要。
很简单，举个例子，照着写就行了。
当月60个热门标签
{dede:tag row='60' sort='month'}
&lt;a href='[field:link/]' class='tagc[field:highlight /]'&gt;[field:tag /]([field:total/])&lt;/a&gt;
{/dede:tag}
<a href='http://www.liukun.org/456.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>dedecms的tags页面统计tag个数，功能有点鸡肋，但说不准有人需要。
很简单，举个例子，照着写就行了。
当月60个热门标签
{dede:tag row='60' sort='month'}
&lt;a href='[field:link/]' class='tagc[field:highlight /]'&gt;[field:tag /]([field:total/])&lt;/a&gt;
{/dede:tag}
<a href='http://www.liukun.org/456.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/456.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安装目录无写入权限,无法进行写入锁定文件,请安装完毕删除安装目录</title>
		<link>http://www.liukun.org/432.html</link>
		<comments>http://www.liukun.org/432.html#comments</comments>
		<pubDate>Sun, 15 Apr 2012 08:59:16 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[权限]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=432</guid>
		<description><![CDATA[<p>dede登陆网站后台显示:"安装目录无写入权限,无法进行写入锁定文件,请安装完毕删除安装目录".
删除install。
<a href='http://www.liukun.org/432.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>dede登陆网站后台显示:"安装目录无写入权限,无法进行写入锁定文件,请安装完毕删除安装目录".
删除install。
<a href='http://www.liukun.org/432.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/432.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dede5.6升级到5.7sp1后类目和发布人不显示的问题</title>
		<link>http://www.liukun.org/429.html</link>
		<comments>http://www.liukun.org/429.html#comments</comments>
		<pubDate>Thu, 12 Apr 2012 17:19:32 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[类目和发布人不显示]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=429</guid>
		<description><![CDATA[<p>dede5.6升级到5.7sp1后类目和发布人不显示，删除/data/tplcache中的缓存文件即可。
<a href='http://www.liukun.org/429.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>dede5.6升级到5.7sp1后类目和发布人不显示，删除/data/tplcache中的缓存文件即可。
<a href='http://www.liukun.org/429.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/429.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dedecms修改列表和文档的默认命名规则</title>
		<link>http://www.liukun.org/401.html</link>
		<comments>http://www.liukun.org/401.html#comments</comments>
		<pubDate>Thu, 22 Mar 2012 17:37:08 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[DedeCMS]]></category>
		<category><![CDATA[文档的默认命名规则]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=401</guid>
		<description><![CDATA[<p>为了便于seo或其他原因有时候需要修改列表和文档的默认命名规则，虽然在新建栏目是可以一一修改。但有个一劳永逸的办法，何乐而不为呢。
以dede5.7为例
列表默认命名规则修改：
打开文件dede/templets/catalog_add.htm查找list_{tid}_{page}，在497行，改为list_{page}
文档的默认命名规则修改：
打开文件include/common.inc.php查找{typedir}/{Y}/{M}{D}/{aid}，在210行，改为{typedir}/{aid}
完工
<a href='http://www.liukun.org/401.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>为了便于seo或其他原因有时候需要修改列表和文档的默认命名规则，虽然在新建栏目是可以一一修改。但有个一劳永逸的办法，何乐而不为呢。
以dede5.7为例
列表默认命名规则修改：
打开文件dede/templets/catalog_add.htm查找list_{tid}_{page}，在497行，改为list_{page}
文档的默认命名规则修改：
打开文件include/common.inc.php查找{typedir}/{Y}/{M}{D}/{aid}，在210行，改为{typedir}/{aid}
完工
<a href='http://www.liukun.org/401.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/401.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>管理员禁用了游客评论 dede5.7开启游客评论</title>
		<link>http://www.liukun.org/397.html</link>
		<comments>http://www.liukun.org/397.html#comments</comments>
		<pubDate>Sat, 17 Mar 2012 18:43:08 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[游客评论]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=397</guid>
		<description><![CDATA[<p>dede5.7如何开启游客评论？
找到plus/feedback_ajax.php滴98行位置删除或注释掉如下代码
if($cfg_feedback_guest == 'N' &amp;&amp; $cfg_ml-&gt;M_ID &lt; 1)
{
echo "&lt;font color='red'&gt;管理员禁用了游客评论！&lt;a href='{$cfg_cmspath}/member/login.php'&gt;点击登录&lt;/a&gt;&lt;/font&gt;";
exit();
}
<a href='http://www.liukun.org/397.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>dede5.7如何开启游客评论？
找到plus/feedback_ajax.php滴98行位置删除或注释掉如下代码
if($cfg_feedback_guest == 'N' &amp;&amp; $cfg_ml-&gt;M_ID &lt; 1)
{
echo "&lt;font color='red'&gt;管理员禁用了游客评论！&lt;a href='{$cfg_cmspath}/member/login.php'&gt;点击登录&lt;/a&gt;&lt;/font&gt;";
exit();
}
<a href='http://www.liukun.org/397.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/397.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dede替换文章中的div</title>
		<link>http://www.liukun.org/385.html</link>
		<comments>http://www.liukun.org/385.html#comments</comments>
		<pubDate>Wed, 15 Feb 2012 09:09:19 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[dede替换文章中的div]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=385</guid>
		<description><![CDATA[<p>修改文件 /dede/inc/inc_archives_functions.php
查找
function AnalyseHtmlBody($body,&amp;$description,&amp;$litpic,&amp;$keywords,$dtype='')
{
在下面加入
 $body = str_replace("div","p",$body);
echo $str."\n";
<a href='http://www.liukun.org/385.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>修改文件 /dede/inc/inc_archives_functions.php
查找
function AnalyseHtmlBody($body,&amp;$description,&amp;$litpic,&amp;$keywords,$dtype='')
{
在下面加入
 $body = str_replace("div","p",$body);
echo $str."\n";
<a href='http://www.liukun.org/385.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/385.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEDECMS 删除文章时删除缩图和内容中大图</title>
		<link>http://www.liukun.org/382.html</link>
		<comments>http://www.liukun.org/382.html#comments</comments>
		<pubDate>Sun, 29 Jan 2012 15:23:32 +0000</pubDate>
		<dc:creator>织梦者</dc:creator>
				<category><![CDATA[Dedecms教程]]></category>
		<category><![CDATA[删除文章]]></category>

		<guid isPermaLink="false">http://www.liukun.org/?p=382</guid>
		<description><![CDATA[<p>打开dede/inc/inc_batchup.php找到"//删除数据库的内容"
在这前面加上
//删除缩略图
if($arcRow['litpic']!=""){
$dsql-&gt;ExecuteNoneQuery("Delete From #@__uploads where url='$arcRow[litpic]'");
$truedir = GetTruePath($arcRow['siterefer'],$arcRow['sitepath']);
$litpicfile = $truedir.$arcRow['litpic'];
@unlink($litpicfile);
}
//删除大图
$arcbodyQuery = "Select * from ".$arcRow['addtable']." where aid='$ai...<a href='http://www.liukun.org/382.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>打开dede/inc/inc_batchup.php找到"//删除数据库的内容"
在这前面加上
//删除缩略图
if($arcRow['litpic']!=""){
$dsql-&gt;ExecuteNoneQuery("Delete From #@__uploads where url='$arcRow[litpic]'");
$truedir = GetTruePath($arcRow['siterefer'],$arcRow['sitepath']);
$litpicfile = $truedir.$arcRow['litpic'];
@unlink($litpicfile);
}
//删除大图
$arcbodyQuery = "Select * from ".$arcRow['addtable']." where aid='$ai...<a href='http://www.liukun.org/382.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.liukun.org/382.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

