<?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>O&#039;Co DOO &#187; Layout</title>
	<atom:link href="http://www.iscodoo.com/tag/layout/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iscodoo.com</link>
	<description>一个竟然存在了四年的博客</description>
	<lastBuildDate>Sat, 24 Jul 2010 10:26:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>[转]如何给每个category 以 table list 方式显示的文章列表设置默认显示条数</title>
		<link>http://www.iscodoo.com/2008/04/joomla-category-list-layout-limit.html</link>
		<comments>http://www.iscodoo.com/2008/04/joomla-category-list-layout-limit.html#comments</comments>
		<pubDate>Mon, 21 Apr 2008 11:53:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Category]]></category>
		<category><![CDATA[Layout]]></category>

		<guid isPermaLink="false">http://www.iscodoo.com/?p=10227</guid>
		<description><![CDATA[转自:http://www.maycode.com/index.php/hotspot/39-joomla-inspect/407-joomla-develop.html Joomla 1.5.x的一个&#8221;BUG&#8221;吧,使用Category List Layout的格式输出分类文章的时候,默认是输出该分类的所有文章,如果文章数量很多的话,会严重影响网页打开的速度,而且页面也显得不美观,在后台一直找不到设置的地方,模版中也没找到,换了几个模版都是一样,这个问题多日困扰着我,常去的几个Joomla站点都找过了,发现很多人都有这个问题,都没有解决方法. 昨天遇到,终于在Joomla-开源天空找到了答案,谢谢这个网站的站长. 现在全文转载一下: 我们知道，Joomla!中，每个文章分类默认的显示方式以表格的方式显示，每页显示的条数可以由用户在表格顶部的地方进行设置。可是对于一个新的 到访者，默认文章列表将显示所的条数，如果文章非常多，网速又慢，对于一个用户是不会等待这个页面下载完毕的，可能会早早的就离开了你的网站，因此需要设 置在这种情况下，每个页面显示文章的数量。 我们需要修改 components/com_content/views/category/view.html.php文件 第68行，改为： if ($layout == 'blog') { if($limit == 0) $limit = $intro + $leading + $links; } else { if($limit == 0) $limit = 20; } 这段代码修改后，就是对于layout不是blog，并且又没有指定每页显示数量的情况下，设置每页显示数目为20. 提供一份我修改好了的文件，是1.5.3版本的，下载地址： http://www.mediafire.com/?tk9cznjiyty]]></description>
		<wfw:commentRss>http://www.iscodoo.com/2008/04/joomla-category-list-layout-limit.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
