<?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>52JOOMLA! - Joomla爱好者的交流平台&#124;Joomla模板&#124;Joomla组件&#124;Joomla扩展&#124;Joomla教程 &#187; Joomla使用教程</title>
	<atom:link href="http://www.52joomla.com/joomla-knowledgegained/feed" rel="self" type="application/rss+xml" />
	<link>http://www.52joomla.com</link>
	<description>52Joomla! - Joomla爱好者的交流平台，共同讨论Joomla建站技术，下载Joomla模板、Joomla扩展、Joomla教程，推广Joomla在国内的应用。</description>
	<lastBuildDate>Tue, 07 Sep 2010 05:32:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://www.52joomla.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://www.52joomla.com/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=cat&id=641_1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>不使用备份、恢复组件转移Joomla网站教程</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/do-not-use-backup-and-restore-component-transfer-joomla-website-tutorial.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/do-not-use-backup-and-restore-component-transfer-joomla-website-tutorial.html#comments</comments>
		<pubDate>Fri, 20 Aug 2010 04:45:14 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Akeeba Backup]]></category>
		<category><![CDATA[jcloner]]></category>
		<category><![CDATA[joomla备份]]></category>
		<category><![CDATA[joomla恢复]]></category>
		<category><![CDATA[joomla教程]]></category>
		<category><![CDATA[joomla转移]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1861</guid>
		<description><![CDATA[应本站会员dodgelee的要求，特地写了这篇不使用备份、恢复组件转移Joomla网站的教程，希望对大家有所帮助。 1、过程分析： 一般来说，转移PHP网站需要做的就是数据库、网站文件的转移以及数据库连接文件的修改，Joomla也不例外，不使用其他组件，我们同样用这样的方法来进行转移。 2、数据库的转移： 首先，我们得找到数据库，如下图，我使用的是PHP组合套件XAMPP，所以你可以看到这样的界面，然后进入PHPMYADMIN。 &#160; &#160; 下图是PHPMYADMIN的界面，下面我们将以52joomla数据库为例，点击进入52joomla数据库。 &#160; &#160; 进入52Joomla数据库之后，我们可以在PHPMYADMIN界面左侧看到所有的表，在右侧可以看到&#8220;导出&#8221;（export）按钮。 &#160; &#160; 进入&#8220;导出&#8221;后，将看到如下的界面： &#160; &#160; 将下面的&#8220;另存为文件&#8221;选中，可将数据库导出为.sql文件（如果不选中，PHPMYADMIN将给出一长段MYSQL代码用于导入，不过不建议此方式）。 &#160; &#160; 选中&#8220;另存为文件&#8221;后，点击&#8220;执行&#8221;，系统自动开始创建并下载数据库文件，图为Chrome的下载界面。 &#160; &#160; 这是我们得到的以.sql为后缀名的数据库文件，至此，数据库的导出已经完成。 现在，我们将备份好的数据库上传至服务器上： 为了方便，这里我还是用本地的PHPMYADMIN为例子，但是实际应用中我们需要进入到服务器的PHPMYADMIN中进行操作！ &#160; &#160; 新建一个名为&#8220;52joomla1&#8221;的数据库（例），输入数据库名，点击&#8220;创建&#8221;（Create）。 &#160; &#160; 进入52joomla1数据库，点击右侧&#8220;Import&#8221;（导入）进行导入数据库的操作。不知道为什么我这新建数据库之后变成了英文的界面，不过没关系，不影响操作。 &#160; &#160; 选择我们之前备份好的数据库，然后点击&#8220;执行&#8221;。注意：如果之前导出时你未选择&#8220;另存为文件&#8221;，生成的SQL代码你可以在这里的&#8220;SQL&#8221;里执行来实现数据库的导入。 &#160; &#160; OK，数据库转移完成。 3、文件的转移及配置文件的修改： &#160; &#160; 将Joomla网站的所有文件上传至服务器，并在服务器上编辑configuration.php文件，或者你可以在本地编辑好后再上传覆盖服务器上的此文件。 &#160; &#160; 在configuration.php文件中找到/* Database Settings */的内容，修改其中$host（数据库服务器地址），$user（数据库用户名），$password（数据库密码），$db（数据库名称）的内容。如果不知道这些内容，请联系你的主机服务商。在这里还需要注意的是$log_path和$tmp_path，这两项是设置Joomla的日志目录和临时目录，如果你不知道服务器的绝对路径，就留空吧。 &#160; 修改完成后，你的Joomla网站转移就完成了。 &#160; 虽然不使用组件来实现Joomla的转移看起来比较&#8220;低碳&#8221;，但52Joomla不推荐此方法，原因是太麻烦，而且很慢，特别是文件上传慢而且上传过程中容易出现问题。所以，如果可以的话，尽量使用Joomla的备份、转移组件来转移你的Joomla吧。 &#160; 以下是Joomla备份、转移组件传送门： 推荐：简单方便的Joomla网站备份、转移工具 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>应本站会员<strong>dodgelee</strong>的要求，特地写了这篇不使用备份、恢复组件转移Joomla网站的教程，希望对大家有所帮助。</p>
<p>1、过程分析：</p>
<p>一般来说，转移PHP网站需要做的就是数据库、网站文件的转移以及数据库连接文件的修改，Joomla也不例外，不使用其他组件，我们同样用这样的方法来进行转移。</p>
<p>2、数据库的转移：</p>
<p>首先，我们得找到数据库，如下图，我使用的是PHP组合套件XAMPP，所以你可以看到这样的界面，然后进入PHPMYADMIN。</p>
<p><span id="more-1861"></span></p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111713.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1862" height="476" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111713.png" title="2010-08-20_111713" width="299" /></a></p>
<p>&nbsp;</p>
<p>下图是PHPMYADMIN的界面，下面我们将以52joomla数据库为例，点击进入52joomla数据库。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111810.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1863" height="151" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111810.png" title="2010-08-20_111810" width="444" /></a></p>
<p>&nbsp;</p>
<p>进入52Joomla数据库之后，我们可以在PHPMYADMIN界面左侧看到所有的表，在右侧可以看到&ldquo;导出&rdquo;（export）按钮。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111908.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1864" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111908.png" title="2010-08-20_111908" width="600" /></a></p>
<p>&nbsp;</p>
<p>进入&ldquo;导出&rdquo;后，将看到如下的界面：</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111956.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1865" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_111956.png" title="2010-08-20_111956" width="600" /></a></p>
<p>&nbsp;</p>
<p>将下面的&ldquo;另存为文件&rdquo;选中，可将数据库导出为.sql文件（如果不选中，PHPMYADMIN将给出一长段MYSQL代码用于导入，不过不建议此方式）。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112043.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1866" height="201" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112043.png" title="2010-08-20_112043" width="594" /></a></p>
<p>&nbsp;</p>
<p>选中&ldquo;另存为文件&rdquo;后，点击&ldquo;执行&rdquo;，系统自动开始创建并下载数据库文件，图为Chrome的下载界面。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122216.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1870" height="151" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122216.png" title="2010-08-20_122216" width="324" /></a></p>
<p>&nbsp;</p>
<p>这是我们得到的以.sql为后缀名的数据库文件，至此，数据库的导出已经完成。</p>
<p>现在，我们将备份好的数据库上传至服务器上：</p>
<p>为了方便，这里我还是用本地的PHPMYADMIN为例子，但是<span style="color: rgb(255, 0, 0);"><strong>实际应用中我们需要进入到服务器的PHPMYADMIN中进行操作！</strong></span></p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122724.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1871" height="368" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122724.png" title="2010-08-20_122724" width="505" /></a></p>
<p>&nbsp;</p>
<p>新建一个名为&ldquo;52joomla1&rdquo;的数据库（例），输入数据库名，点击&ldquo;创建&rdquo;（Create）。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122855.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1872" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_122855.png" title="2010-08-20_122855" width="600" /></a></p>
<p>&nbsp;</p>
<p>进入52joomla1数据库，点击右侧&ldquo;Import&rdquo;（导入）进行导入数据库的操作。<span style="color: rgb(169, 169, 169);">不知道为什么我这新建数据库之后变成了英文的界面，不过没关系，不影响操作。</span></p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_123114.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1873" height="364" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_123114.png" title="2010-08-20_123114" width="618" /></a></p>
<p>&nbsp;</p>
<p>选择我们之前备份好的数据库，然后点击&ldquo;执行&rdquo;。注意：如果之前导出时你未选择&ldquo;另存为文件&rdquo;，生成的SQL代码你可以在这里的&ldquo;SQL&rdquo;里执行来实现数据库的导入。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_123301.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1874" height="113" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_123301.png" title="2010-08-20_123301" width="414" /></a></p>
<p>&nbsp;</p>
<p>OK，数据库转移完成。</p>
<p>3、文件的转移及配置文件的修改：</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112250.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1867" height="693" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112250.png" title="2010-08-20_112250" width="629" /></a></p>
<p>&nbsp;</p>
<p>将Joomla网站的所有文件上传至服务器，并在服务器上编辑configuration.php文件，或者你可以在本地编辑好后再上传覆盖服务器上的此文件。</p>
<p>&nbsp;</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112436.png" rel="lightbox[1861]"><img alt="" class="alignnone size-full wp-image-1868" src="http://www.52joomla.com/wp-content/uploads/2010/08/2010-08-20_112436.png" title="2010-08-20_112436" width="600" /></a></p>
<p>&nbsp;</p>
<p>在configuration.php文件中找到/* Database Settings */的内容，修改其中$host（数据库服务器地址），$user（数据库用户名），$password（数据库密码），$db（数据库名称）的内容。如果不知道这些内容，请联系你的主机服务商。在这里还需要注意的是$log_path和$tmp_path，这两项是设置Joomla的日志目录和临时目录，如果你不知道服务器的绝对路径，就留空吧。</p>
<p>&nbsp;</p>
<p>修改完成后，你的Joomla网站转移就完成了。</p>
<p>&nbsp;</p>
<p>虽然不使用组件来实现Joomla的转移看起来比较&ldquo;低碳&rdquo;，但52Joomla不推荐此方法，原因是太麻烦，而且很慢，特别是文件上传慢而且上传过程中容易出现问题。所以，如果可以的话，尽量使用Joomla的备份、转移组件来转移你的Joomla吧。</p>
<p>&nbsp;</p>
<p>以下是Joomla备份、转移组件传送门：</p>
<p><strong>推荐：<a href="http://www.52joomla.com/joomla-extensions/joomla-website-backup-transfer-components-jcloner-component-download.html" target="_blank">简单方便的Joomla网站备份、转移工具 &ndash; Jcloner组件</a></strong></p>
<p><a href="http://www.52joomla.com/joomla-extensions/akeeba-backup-core-for-j1-5-entire-station-backup-restore-and-migration-of-components-of-multi-language-version-v3-0.html" target="_blank">Akeeba Backup Core for J1.5 整站备份、恢复及迁移组件 v3.0 多国语言版</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/do-not-use-backup-and-restore-component-transfer-joomla-website-tutorial.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>给Joomla初学者【四】：为你的Joomla开启SEF</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-e380904e38091-open-for-your-joomla-sef.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-e380904e38091-open-for-your-joomla-sef.html#comments</comments>
		<pubDate>Tue, 17 Aug 2010 02:21:31 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla初学者教程]]></category>
		<category><![CDATA[sef]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1754</guid>
		<description><![CDATA[使用SEF(search engine friendly)网址的主要目的是使内容的关键词出现在URL中，这也是我们常说的SEO中的一项重要内容，对于搜索引擎的来说，这样可以增强当前页面与这些关键词之间的关联度。下面我们来看看如何在Joomla 1.5中使用SEF网址。 1.安装Joomla 1.5 2.在全局设置中(Global Configuration)，将“搜索引擎优化网址(Search Engine Friendly URLs)”设置为“开启(Yes)”，保存设置。 这是Joomla系统中最主要的搜索引擎优化设置，所以在进行下面的步骤之前，我们首先将它开启；现在，站点的URL就是由当前页面或文章的标题别名 (Alias)构成了。如果没有为当前页面或文章设置别名，那么URL会直接使用页面或文章的标题来构成URL(Title)。 如果你遇到问题，可以尝试修改configuration.php文件中的$live_site设置。如果你的Joomla安装在站点根路径中(例 如 public_html或htdocs)，那么需要将$live_site设置为“/” 或 &#8220;http://www.example.com&#8221;或 &#8220;http://example.com&#8221;。如果站点安装在子路径中，就需要将$live_site设置为“/子路径名” 或 &#8220;http://www.example.com/子路径名&#8221;或 &#8220;http://example.com/子路径名&#8221;。 如果设置成功，那么现在URL应该由： http://www.example.com/index.php?option=com_content&#38;view=article&#38;id=19&#38;Itemid=27 变为： http://www.example.com/index.php/joomla-overview 3.在全局设置中，将“为URL添加后缀(Add suffix to URLs)”设置为“开启(Yes)”，保存设置。 这只是一个“形式上”的步骤——为URL增加.html后缀，例如将： http://www.example.com/index.php/joomla-overview 变为： http://www.example.com/index.php/joomla-overview.html 4.在全局设置中，将“使用Apache的mod_rewrite(Use Apache mod_rewrite)”设置为“开启(Yes)”，保存设置。 注意，要使Apache的mod_rewrite正常开启，我们需要将站点根目录中的“htaccess.txt”文件重命名为“.htaccess”。 成功开启后，下面这样的URL： http://www.example.com/index.php/joomla-overview.html 将被改变为： http://www.example.com/joomla-overview.html 有一点建议，就是尽量为你站点中所有的页面和文章添加别名，这样就可以比较精确的控制SEF网址了；别名尽量只使用数字与字母，通过连字号“-”进行分隔，避免特殊符号。 你还可以下载一个Joomla中文转拼音URL插件来实现添加文章时自动生成别名。 转自：webjx.com，52Joomla整理]]></description>
			<content:encoded><![CDATA[<p>使用SEF(search engine friendly)网址的主要目的是使内容的关键词出现在URL中，这也是我们常说的SEO中的一项重要内容，对于搜索引擎的来说，这样可以增强当前页面与这些关键词之间的关联度。下面我们来看看如何在Joomla 1.5中使用SEF网址。<span id="more-1754"></span></p>
<p><strong>1.<a href="http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-2-installation-joomla1-5.html" target="_blank">安装Joomla 1.5</a></strong></p>
<p><strong>2.在全局设置中(Global Configuration)，将“搜索引擎优化网址(Search Engine Friendly URLs)”设置为“开启(Yes)”，保存设置。</strong></p>
<p>这是Joomla系统中最主要的搜索引擎优化设置，所以在进行下面的步骤之前，我们首先将它开启；现在，站点的URL就是由当前页面或文章的标题别名 (Alias)构成了。如果没有为当前页面或文章设置别名，那么URL会直接使用页面或文章的标题来构成URL(Title)。</p>
<p>如果你遇到问题，可以尝试修改configuration.php文件中的$live_site设置。如果你的Joomla安装在站点根路径中(例  如 public_html或htdocs)，那么需要将$live_site设置为“/” 或 &#8220;http://www.example.com&#8221;或  &#8220;http://example.com&#8221;。如果站点安装在子路径中，就需要将$live_site设置为“/子路径名” 或  &#8220;http://www.example.com/子路径名&#8221;或 &#8220;http://example.com/子路径名&#8221;。</p>
<p>如果设置成功，那么现在URL应该由：</p>
<div>
<div>
<div>
<pre>http://www.example.com/index.php?option=com_content&amp;view=article&amp;id=19&amp;Itemid=27</pre>
</div>
</div>
</div>
<p>变为：</p>
<div>
<div>
<div>
<pre>http://www.example.com/index.php/<span style="color: #335533;">joomla</span>-overview</pre>
</div>
</div>
</div>
<p><strong>3.在全局设置中，将“为URL添加后缀(Add suffix to URLs)”设置为“开启(Yes)”，保存设置。</strong></p>
<p>这只是一个“形式上”的步骤——为URL增加.html后缀，例如将：</p>
<div>
<div>
<div>
<pre>http://www.example.com/index.php/<span style="color: #335533;">joomla</span>-overview</pre>
</div>
</div>
</div>
<p>变为：</p>
<div>
<div>
<div>
<pre>http://www.example.com/index.php/<span style="color: #335533;">joomla</span>-overview.html</pre>
</div>
</div>
</div>
<p><strong>4.在全局设置中，将“使用Apache的mod_rewrite(Use Apache mod_rewrite)”设置为“开启(Yes)”，保存设置。</strong></p>
<p>注意，要使Apache的mod_rewrite正常开启，我们需要将站点根目录中的“htaccess.txt”文件重命名为“.htaccess”。</p>
<p>成功开启后，下面这样的URL：</p>
<div>
<div>
<div>
<pre>http://www.example.com/index.php/<span style="color: #335533;">joomla</span>-overview.html</pre>
</div>
</div>
</div>
<p>将被改变为：</p>
<div>
<div>
<div>
<pre>http://www.example.com/<span style="color: #335533;">joomla</span>-overview.html</pre>
</div>
</div>
</div>
<p>有一点建议，就是尽量为你站点中所有的页面和文章添加别名，这样就可以比较精确的控制SEF网址了；别名尽量只使用数字与字母，通过连字号“-”进行分隔，避免特殊符号。</p>
<p>你还可以下载一个<a href="http://www.52joomla.com/joomla-extensions/joomlazhongwenzhuanpinyinurldechajian.html" target="_blank">Joomla中文转拼音URL插件</a>来实现添加文章时自动生成别名。</p>
<p>转自：<a href="http://www.webjx.com/" target="_blank">webjx.com</a>，52Joomla整理</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-e380904e38091-open-for-your-joomla-sef.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>分享：Joomla中文API手册、模板开发手册、扩展开发手册</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/share-joomla-chinese-api-manual-template-development-of-manuals-development-manuals-expansion.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/share-joomla-chinese-api-manual-template-development-of-manuals-development-manuals-expansion.html#comments</comments>
		<pubDate>Fri, 13 Aug 2010 03:08:31 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomla中文API手册]]></category>
		<category><![CDATA[joomla中文手册]]></category>
		<category><![CDATA[joomla扩展开发中文手册]]></category>
		<category><![CDATA[joomla模板开发中文手册]]></category>
		<category><![CDATA[分享]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1740</guid>
		<description><![CDATA[这是平时自己收藏以及一直在学习的一些Joomla中文手册，对于想更深入了解Joomla的朋友真的非常有帮助。 1、扩展开发教程，讲的非常详细易懂，曾经一边看教程一边做，愣是做了一个组件出来，虽然功能不是特别强大，但至少说明这个教程是非常棒的。 2、模板开发教程，对Joomla模板构造完全解析，相信认真看完此教程后，你完全能自己独立开发Joomla模板。 3、API手册，非常全面，不求完全看懂，但一定要多看，多对照Joomla看，这样有助于理解Joomla内核。 下面是下载： Joomla1.5.x中文API手册 Joomla1.5.x模板开发中文手册 Joomla1.5.x扩展开发中文手册]]></description>
			<content:encoded><![CDATA[<p>这是平时自己收藏以及一直在学习的一些Joomla中文手册，对于想更深入了解Joomla的朋友真的非常有帮助。</p>
<p>1、扩展开发教程，讲的非常详细易懂，曾经一边看教程一边做，愣是做了一个组件出来，虽然功能不是特别强大，但至少说明这个教程是非常棒的。</p>
<p>2、模板开发教程，对Joomla模板构造完全解析，相信认真看完此教程后，你完全能自己独立开发Joomla模板。</p>
<p>3、API手册，非常全面，不求完全看懂，但一定要多看，多对照Joomla看，这样有助于理解Joomla内核。</p>
<p>下面是下载：</p>
<p><span id="more-1740"></span></p>
<p><a href="http://code.google.com/p/luoqiu/downloads/detail?name=joomla_api.doc&amp;can=2&amp;q=" target="_blank">Joomla1.5.x中文API手册<br />
</a></p>
<p><a href="http://code.google.com/p/luoqiu/downloads/detail?name=joomla_template.doc&amp;can=2&amp;q=" target="_blank">Joomla1.5.x模板开发中文手册<br />
</a></p>
<p><a href="http://code.google.com/p/luoqiu/downloads/detail?name=joomla_extension.zip&amp;can=2&amp;q=" target="_blank">Joomla1.5.x扩展开发中文手册<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/share-joomla-chinese-api-manual-template-development-of-manuals-development-manuals-expansion.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Joom!Fish &#8211; Joomla多语言网站使用教学</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joom-fish-joomla-multi-language-web-site-use-teaching.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joom-fish-joomla-multi-language-web-site-use-teaching.html#comments</comments>
		<pubDate>Mon, 26 Jul 2010 05:52:32 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomfish]]></category>
		<category><![CDATA[joomfish教学]]></category>
		<category><![CDATA[joomla多语言网站]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1667</guid>
		<description><![CDATA[此文章转自Joomla123.com.tw，文章内容使用Google自动翻译。 &#160; 想建造多国语言网站的朋友们应该都多少知道有个强大的套件叫做JoomFish。不过刚开始没经过教学的话，很多人可能无法立即摸清它的使用方式。因此Asika做了点简易的教学，让没接触过的人立即上手。 &#160; Joom!Fish怎么运作？ 首先，JoomFish不是翻译套件，无法帮你翻译文章。它的功能是让Joomla中的文章同时出现多种不同语言的版本，但这些版本的内容还是要自行翻译贴上该语系的内容。对Joomla来说，文章还是只有一篇。只是依照语系显示不同的语言版本而已。 Joomla中每个套件(包括文章在内)都需要有相对应的资料库来储存，而JoomFish便是产生一个一模一样的资料库来储存这些文章或套件内容的多语系版本。 &#160; 取得JoomFish 官网下载区：按此连结 JoomlaTaiwan讨论区的中文化：按此连结 Asika包好的JoomFish2.0.4主程式含中文化档案：按此下载&#160;(两个档案，要先解压缩) &#160; 安装JoomFish 首先，下载主程式与中文化档案。安装完主程式会看见一併安装了许多配套外挂与模组。 &#160; 然后在同一个安装画面，直接安装中文化语系档即可。刚刚提供的语系档有自动安装功能。 &#160; JoomFish主控台画面 &#160; 此时到前台观看，从一些按钮上可以看见网站被转成英语状态，并表示文章没有被翻译。这是因为我们尚未在JoomFish中启动中文语系的关系。因为JoomFish预设是英语为主。 &#160; 启用多语言功能 我们先到语言设定中，这里看到的是网站中的所有已安装语系。因为繁中版只有英语还有正体中文，所以就这两个选项。要其它语言的话，只要去官方找该语言的joomla语系档安装即可。 勾选正体中文的启动选项，按下储存。此时正体中文启动了，并且是预设状态。 &#160; &#160; 接着我们要把国旗换回青天白日满地红。到语言管理把简码由zh改为tw。再按一次储存。 &#160; &#160; 现在应该可以看到中华明国国旗出现了。 &#160;&#160; &#160; &#160; 开始翻译文章 进入翻译页面，一开始是空的。我们必须先选择要翻译哪些内容以及要翻译的语言才行。现在我要建立英文内容的文章，所以内容元素选择Contents，语言选择English。然后空空如也的页面就会出现很多选项。 &#160; 随便选择一个文章，我先选择了「Joomla! 社群入口网站」这篇文章。然后进入翻译页面。 点选复制可以直接把原始内容复制过来，点选删除则是清空栏位，每个栏位上方都会附上原始内容供参考用。 因为我是要把中文翻译成英文，所以就填入了「Joomla! 社群入口网站」的英文版本。储存前别忘记把发佈打勾。 &#160; 往下捲会看见，发表文章时有什么选项，这里就有什么。所有设定皆可调整，同样可以复制原始文章中的参数。依照不同元件会有不同的参数设置。 &#160; 储存后，可以看见这篇文章亮出绿灯，表示翻译完成。红灯表示尚未有翻译版本。 &#160; 到前台选择英文语系的选项，有没有看到，第一篇中文文章被转换成英文了。其他都还是中文。 &#160; 同样的我们还可以翻译许多不同的选单、元件、模组等等。如下图是选单的翻译，还有很多其它元件。 &#160; 这样我们就可以成功把整个网站连同元件模组任何地方都做成多国语系。下图是Asika很久以前架的网站，便是JoomFish的使用案例之一。 &#160; 其他功能 「统计」是用来记录翻译过与未翻译的项目数量。 [...]]]></description>
			<content:encoded><![CDATA[<p>此文章转自<a href="http://www.joomla123.com.tw/the-components/joomfish.html" target="_blank">Joomla123.com.tw</a>，文章内容使用Google自动翻译。</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="image" border="0" height="139" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="image" width="343" /><span id="more-1667"></span></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">想建造多国语言网站的朋友们应该都多少知道有个强大的套件叫做<strong>JoomFish</strong>。不过刚开始没经过教学的话，很多人可能无法立即摸清它的使用方式。因此Asika做了点简易的教学，让没接触过的人立即上手。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">Joom!Fish怎么运作？</span></span></h3>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">首先，<strong>JoomFish不是翻译套件</strong>，无法帮你翻译文章。它的功能是让Joomla中的文章同时出现多种<strong>不同语言的版本</strong>，但这些版本的内容还是要<strong>自行翻译</strong>贴上该语系的内容。对Joomla来说，文章还是只有一篇。只是依照语系显示不同的语言版本而已。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">Joomla中每个套件(包括文章在内)都需要有相对应的资料库来储存，而JoomFish便是产生一个一模一样的资料库来储存这些文章或套件内容的多语系版本。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">取得JoomFish</span></span></h3>
<p class="download" style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 60px; font-size: 15px !important; background-image: url(http://www.joomla123.com.tw/templates/ja_iolite/images/download-bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(201, 192, 183); border-right-color: rgb(201, 192, 183); border-bottom-color: rgb(201, 192, 183); border-left-color: rgb(201, 192, 183); background-position: 10px 50%; background-repeat: no-repeat no-repeat; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">官网下载区：<a href="http://www.joomfish.net/en/downloads" style="color: rgb(250, 105, 0); text-decoration: none; " target="_blank">按此连结</a></span></p>
<p class="download" style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 60px; font-size: 15px !important; background-image: url(http://www.joomla123.com.tw/templates/ja_iolite/images/download-bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(201, 192, 183); border-right-color: rgb(201, 192, 183); border-bottom-color: rgb(201, 192, 183); border-left-color: rgb(201, 192, 183); background-position: 10px 50%; background-repeat: no-repeat no-repeat; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">JoomlaTaiwan讨论区的中文化：<a href="http://www.joomla.org.tw/phpbb3/viewtopic.php?f=28&amp;t=4590#p15264" style="color: rgb(250, 105, 0); text-decoration: none; " target="_blank">按此连结</a></span></p>
<p class="download" style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 60px; font-size: 15px !important; background-image: url(http://www.joomla123.com.tw/templates/ja_iolite/images/download-bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(201, 192, 183); border-right-color: rgb(201, 192, 183); border-bottom-colo<br />
r: rgb(201, 192, 183); border-left-color: rgb(201, 192, 183); background-position: 10px 50%; background-repeat: no-repeat no-repeat; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><span class="download">Asika包好</span>的JoomFish2.0.4主程式含中文化档案：<a href="http://filedeck.net/files/1CLHPZKR/JoomFish2.0.4-TW-Unzip-1st.zip" style="color: rgb(250, 105, 0); text-decoration: none; " target="_blank">按此下载</a>&nbsp;<span style="color: rgb(128, 0, 0); ">(两个档案，要先解压缩)</span></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">安装JoomFish</span></span></h3>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">首先，下载主程式与中文化档案。安装完主程式会看见一併安装了许多配套外挂与模组。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="image" border="0" height="82" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image_3.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="image" width="449" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-01" border="0" height="207" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf01.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-01" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">然后在同一个安装画面，直接安装中文化语系档即可。刚刚提供的语系档有自动安装功能。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-02" border="0" height="201" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf02.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-02" width="444" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: left; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">JoomFish主控台画面</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-04" border="0" height="280" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf04.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-04" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">此时到前台观看，从一些按钮上可以看见<strong>网站被转成英语状态</strong>，并表示<strong>文章没有被翻译</strong>。这是因为我们尚未在JoomFish中<strong>启动中文语系</strong>的关系。因为JoomFish预设是英语为主。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-03" border="0" height="340" src="http://www.joomla1<br />
23.com.tw/images/j123_new/JoomFish_E2CF/jf03.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-03" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">启用多语言功能</span></span></h3>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">我们先到语言设定中，这里看到的是网站中的所有已安装语系。因为繁中版只有英语还有正体中文，所以就这两个选项。要其它语言的话，只要去官方找该语言的joomla语系档安装即可。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">勾选<strong>正体中文</strong>的<strong>启动</strong>选项，按下储存。此时正体中文启动了，并且是预设状态。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;<img alt="jf-05" border="0" height="298" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf05.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-05" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">接着我们要把国旗换回青天白日满地红。到语言管理把<strong>简码</strong>由<strong>zh</strong>改为<strong>tw</strong>。再按一次储存。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;<img alt="image" border="0" height="124" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image_7.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-right-width: 0px; border-right-style: initial; border-right-color: initial; border-top-width: 0px; border-top-style: initial; border-top-color: initial; display: inline; border-left-width: 0px; border-left-style: initial; border-left-color: initial; border-bottom-width: 0px; border-bottom-style: initial; border-bottom-color: initial; " title="image" width="304" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">现在应该可以看到中华明国国旗出现了。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;<img alt="jf-08" border="0" height="59" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf08.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-08" width="231" />&nbsp;<img alt="jf-09" border="0" height="138" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf09.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-09" width="243" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Aria<br />
l, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">开始翻译文章</span></span></h3>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">进入翻译页面，一开始是空的。我们必须先选择要翻译哪些内容以及要翻译的语言才行。现在我要建立英文内容的文章，所以内容元素选择Contents，语言选择English。然后空空如也的页面就会出现很多选项。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-10" border="0" height="226" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf10.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-10" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">随便选择一个文章，我先选择了<strong>「Joomla! 社群入口网站」</strong>这篇文章。然后进入翻译页面。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">点选<strong>复制</strong>可以直接把<strong>原始内容</strong>复制过来，点选<strong>删除</strong>则是<strong>清空栏位</strong>，每个栏位上方都会附上原始内容供参考用。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">因为我是要把中文翻译成英文，所以就填入了「Joomla! 社群入口网站」的英文版本。储存前别忘记把<strong>发佈</strong>打勾。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-12" border="0" height="399" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf12.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-12" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">往下捲会看见，发表文章时有什么选项，这里就有什么。所有设定皆可调整，同样可以复制原始文章中的参数。依照不同元件会有不同的参数设置。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-15" border="0" height="398" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf15.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-15" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">储存后，可以看见这篇文章亮出绿灯，表示翻译完成。红灯表示尚未有翻译版本。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-13" border="0" height="58" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf13.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-13" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); f<br />
ont-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">到前台选择<strong>英文语系</strong>的选项，有没有看到，第一篇中文文章被转换成英文了。其他都还是中文。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-14" border="0" height="259" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf14.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-14" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">同样的我们还可以翻译许多不同的<strong>选单、元件、模组</strong>等等。如下图是选单的翻译，还有很多其它元件。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-16" border="0" height="239" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf16.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-16" width="265" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">这样我们就可以成功把整个网站连同元件模组任何地方都做成多国语系。下图是Asika很久以前架的网站，便是JoomFish的使用案例之一。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="image" border="0" height="226" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image_4.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="image" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="image" border="0" height="226" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image_5.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="image" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<h3 style="line-height: normal; font-weight: bolder; color: rgb(255, 255, 255); font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 16px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: -5px; padding-top: 0px; padding-right: 2px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(105, 91, 78); "><span style="color:#fff;"><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">其他功能</span></span></h3>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><strong>「统计」</strong>是用来记录翻译过与未翻译的项目数量。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-18" border="0" height="300" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf18.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-18" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><strong>「孤儿翻译」</strong>&nbsp;指的是原始文件已经不存在的翻译文章，根本不会再有出现的机会。</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-b<br />
ottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="image" border="0" height="212" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/image_6.png" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="image" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; ">&nbsp;</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><strong>「内容元素」</strong>&nbsp;则是可供翻译的程式种类。一开始看到的只有<strong>内建元件</strong>，若是有新的元件要翻译，可以安装该元件为JoomFish设计的XML外挂。(未提供的也可以自己制作)</span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-19" border="0" height="284" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf19.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-19" width="480" /></span></p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 15px !important; text-align: center; "><span class="Apple-style-span" style="color: rgb(105, 91, 78); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 20px; "><img alt="jf-20" border="0" height="206" src="http://www.joomla123.com.tw/images/j123_new/JoomFish_E2CF/jf20.jpg" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; " title="jf-20" width="480" /></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joom-fish-joomla-multi-language-web-site-use-teaching.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>52Joomla会员推荐 &#8211; Joomla 1.5 网站建设基础视频教程</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/52joomla-member-recommendation-joomla-1-5-based-website-building-video-tutorials.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/52joomla-member-recommendation-joomla-1-5-based-website-building-video-tutorials.html#comments</comments>
		<pubDate>Sat, 24 Jul 2010 15:21:51 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[52joomla会员推荐]]></category>
		<category><![CDATA[joomla建站基础]]></category>
		<category><![CDATA[joomla视频教程]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1661</guid>
		<description><![CDATA[感谢本站会员hn577的推荐 这是电驴会员分享的Joomla1.5网站建设基础视频教程，目录清晰且作者持续在更新，很值得处于Joomla入门阶段的朋友观看，在这里向大家推荐。 下载地址：http://www.verycd.com/topics/2829036/]]></description>
			<content:encoded><![CDATA[<p><strong>感谢本站会员<a href="http://www.52joomla.com/forum/space.php?uid=17">hn577</a>的推荐</strong></p>
<p>这是电驴会员分享的Joomla1.5网站建设基础视频教程，目录清晰且作者持续在更新，很值得处于Joomla入门阶段的朋友观看，在这里向大家推荐。<span id="more-1661"></span></p>
<p>下载地址：<a href="http://www.verycd.com/topics/2829036/">http://www.verycd.com/topics/2829036/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/52joomla-member-recommendation-joomla-1-5-based-website-building-video-tutorials.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla1.5+Joomfish2.0+VirtueMart1.1整合方案</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-joomfish2-0-virtuemart1-1-integration.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-joomfish2-0-virtuemart1-1-integration.html#comments</comments>
		<pubDate>Wed, 21 Jul 2010 06:01:52 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomfish]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[virtuemart]]></category>
		<category><![CDATA[整合]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1626</guid>
		<description><![CDATA[最近的一个项目中涉及到VirtueMart的多语言化（前台产品展示），以前没做过，后来从国外网站找到了解决方案，在这里与大家分享一下。 整合步骤： 安装好Joomla1.5.20、JoomFish2.0.4、VirtueMart1.1.4（在此软件版本下测试通过）。 下载并安装VirtueMart语言包，将解压得到的languages文件夹上传至Joomla根目录/administrator/components/com_virtuemart目录。 使用PHPMYADMIN工具，将附1中的代码执行。 下载VirtueMart Content Elements for Joomfish 2.0，将解压得到的contentelements文件夹上传至Joomla根目录/administrator/components/com_joomfish目录。 到这里你应该就能在后台Joomfish管理中看到Virtuemart的选项了，如图： 如果你遇到&#34;Fatal error: Call to a member function getTable() on a non-object&#34;的错误，你可以尝试将joomla根目录/administrator/components/com_joomfish/contentelements/目录下的vm_store_info.xml 修改为： vm_vendor.xml。 原文地址：http://www.gjcwebdesign.com/joomla-15-virtuemart-11-joomfish-20.html（英文） 附1： &#160; ALTER TABLE `jos_vm_product_attribute_sku` ADD `attribute_sku_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST ;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.52joomla.com/wp-content/uploads/2010/07/joomfish_logo.png" rel="lightbox[1626]"><img alt="" class="alignnone size-full wp-image-1629" height="94" src="http://www.52joomla.com/wp-content/uploads/2010/07/joomfish_logo.png" title="joomfish_logo" width="282" /></a></p>
<p>最近的一个项目中涉及到VirtueMart的多语言化（前台产品展示），以前没做过，后来从国外网站找到了解决方案，在这里与大家分享一下。<span id="more-1626"></span></p>
<p>整合步骤：</p>
<ol>
<li>安装好<a href="http://www.52joomla.com/joomla-software/official-release-joomla1-5-20.html" target="_blank">Joomla1.5.20</a>、<a href="http://www.52joomla.com/joomla-extensions/joomfish-for-j1-5-multilingual-web-interface-management-component-multi-language-version-2-0-4.html" target="_blank">JoomFish2.0.4</a>、<a href="http://www.52joomla.com/joomla-extensions/virtuemartshangchengzujian1-1-4forj1-5duoyuyanban.html" target="_blank">VirtueMart1.1.4</a>（在此软件版本下测试通过）。</li>
<li>下载并安装<a href="http://joomlacode.org/gf/download/frsrelease/11282/45003/Language_Pack_for_VirtueMart_1.1.4.zip">VirtueMart语言包</a>，将解压得到的languages文件夹上传至Joomla根目录/administrator/components/com_virtuemart目录。</li>
<li>使用PHPMYADMIN工具，将<span style="color:#f00;"><strong>附1</strong></span>中的代码执行。</li>
<li>下载<a href="https://www.joomfish.net/forum/download/file.php?id=158" target="_blank">VirtueMart Content Elements for Joomfish 2.0</a>，将解压得到的contentelements文件夹上传至Joomla根目录/administrator/components/com_joomfish目录。</li>
<li>到这里你应该就能在后台Joomfish管理中看到Virtuemart的选项了，如图：</li>
</ol>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/07/joomfish_translate.png" rel="lightbox[1626]"><img alt="" class="alignnone size-full wp-image-1628" height="310" src="http://www.52joomla.com/wp-content/uploads/2010/07/joomfish_translate.png" title="joomfish_translate" width="395" /></a></p>
<p>如果你遇到&quot;Fatal error: Call to a member function getTable() on a non-object&quot;的错误，你可以尝试将joomla根目录/administrator/components/com_joomfish/contentelements/目录下的vm_store_info.xml 修改为： vm_vendor.xml。</p>
<p>原文地址：<a href="http://www.gjcwebdesign.com/joomla-15-virtuemart-11-joomfish-20.html" target="_blank">http://www.gjcwebdesign.com/joomla-15-virtuemart-11-joomfish-20.html</a>（英文）</p>
<p><span style="color:#f00;"><strong>附1：</strong></span></p>
<p>&nbsp;</p>
<pre class="php" style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 10px; padding-right: 0px; padding-bottom: 10px; padding-left: 15px; margin-top: 10px; margin-right: 0pt; margin-bottom: 5px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 5px; border-style: initial; border-color: initial; text-align: left; background-color: rgb(249, 249, 249); border-left-style: solid; border-left-color: rgb(48, 76, 132); white-space: pre-wrap; word-wrap: break-word; width: 600px; font-family: 'Courier New'; overflow-x: hidden; overflow-y: hidden; "><span class="Apple-style-span" style="color: rgb(125, 127, 139); line-height: 16px; ">ALTER TABLE `jos_vm_product_attribute_sku`
ADD `attribute_sku_id` INT<span style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: justify; color: rgb(102, 204, 102); ">(</span> <span style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: justify; color: rgb(204, 102, 204); ">11</span> <span style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: justify; color: rgb(102, 204, 102); ">)</span>
NOT <span style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: justify; color: rgb(0, 0, 0); font-weight: bold; ">NULL</span> AUTO_INCREMENT PRIMARY <a href="http://www.php.net/key" style="vertical-align: baseline; font-size: 12px; outline-width: initial; outline-style: none; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: left; cursor: pointer; text-decoration: none; color: rgb(48, 76, 132); "><span style="vertical-align: baseline; font-size: 12px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-align: justify; color: rgb(0, 0, 102); ">KEY</span></a> FIRST ;
</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-joomfish2-0-virtuemart1-1-integration.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>纯CSS制作二级下拉菜单及在Joomla中的应用</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/pure-css-drop-down-menu-and-create-two-application-in-joomla.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/pure-css-drop-down-menu-and-create-two-application-in-joomla.html#comments</comments>
		<pubDate>Wed, 30 Jun 2010 02:13:44 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomla二级菜单]]></category>
		<category><![CDATA[Joomla初学者教程]]></category>
		<category><![CDATA[制作教程]]></category>
		<category><![CDATA[纯CSS二级菜单]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1578</guid>
		<description><![CDATA[本来这篇教程应该是写在Joomla模板开发之后的，但是模板开发教程还在整理，就先发个制作Joomla二级下拉菜单的教程解解馋 提示：本教程只是为了让大家了解二级菜单的制作原理以及如何运用到Joomla中，建议不要直接将教程中出现的代码照搬到你的网站中使用，而且这样也容易出问题。 首先，我们看一下HTML代码： &#60;div class=&#8221;joomlamenu&#8221;&#62; &#60;ul&#62; &#60;li&#62;&#60;a href=&#8221;"&#62;菜单1&#60;/a&#62; &#60;ul&#62; &#60;h3&#62;这里包含了下拉菜单&#60;/h3&#62; &#60;li&#62;&#60;a href=&#8221;"&#62;菜单1-1&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#8221;"&#62;菜单1-2&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#8221;"&#62;菜单1-3&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#8221;"&#62;菜单1-4&#60;/a&#62;&#60;/li&#62; &#60;/ul&#62; &#60;/li&#62; &#60;/ul&#62; &#60;/div&#62; 从HTML的结构中不难看出，我们这里实现的是在菜单1中包含了4个子菜单。 接下来我们看下CSS代码： .joomlamenu ul {padding:0; margin:0; font-size:12px;} .joomlamenu ul li {line-height:24px;} .joomlamenu ul li ul {display:none;}   //这是包含子菜单的UL标签样式，在没有任何动作前，我们使用CSS中的display:none将其隐藏。 .joomlamenu ul li:hover ul {display:block;}  //这里使用CSS中的伪类:hover，即当鼠标移动到1级菜单的li标签时，将子菜单UL显示。 .joomlamenu ul li ul h3 {font-size:12px; color:red;}  //还可以在子菜单UL中添加各种标签。 很简单，是吧？ 嗯，现在一个非常简陋的二级下拉菜单程序就做好了。 下面，我们来将这个二级下拉菜单整合到Joomla中去。 1、在制作模板时，我们定义一个名为joomlamenu的位置（模板制作教程中将会讲解）。 代码如： [...]]]></description>
			<content:encoded><![CDATA[<p>本来这篇教程应该是写在Joomla模板开发之后的，但是模板开发教程还在整理，就先发个制作Joomla二级下拉菜单的教程解解馋 <img src='http://www.52joomla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><span style="color: #ff0000;">提示：<span style="font-weight: normal;"><span style="color: #000000;">本</span></span></span></strong>教程只是为了让大家了解二级菜单的制作原理以及如何运用到Joomla中，建议不要直接将教程中出现的代码照搬到你的网站中使用，而且这样也容易出问题。</p>
<p>首先，我们看一下HTML代码：<span id="more-1578"></span></p>
<div id="_mcePaste">&lt;div class=&#8221;joomlamenu&#8221;&gt;</div>
<div>&lt;ul&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1&lt;/a&gt;</div>
<div id="_mcePaste">&lt;ul&gt;</div>
<div id="_mcePaste">&lt;h3&gt;这里包含了下拉菜单&lt;/h3&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-1&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-2&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-3&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-4&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;/ul&gt;</div>
<div id="_mcePaste">&lt;/li&gt;</div>
<div id="_mcePaste">&lt;/ul&gt;</div>
<div>&lt;/div&gt;</div>
<div>从HTML的结构中不难看出，我们这里实现的是在菜单1中包含了4个子菜单。</div>
<div>接下来我们看下CSS代码：</div>
<div>
<div>.joomlamenu ul {padding:0; margin:0; font-size:12px;}</div>
<div>.joomlamenu ul li {line-height:24px;}</div>
<div>.joomlamenu ul li ul {display:none;}   //这是包含子菜单的UL标签样式，在没有任何动作前，我们使用CSS中的display:none将其隐藏。</div>
<div>.joomlamenu ul li:hover ul {display:block;}  //这里使用CSS中的伪类:hover，即当鼠标移动到1级菜单的li标签时，将子菜单UL显示。</div>
<div>.joomlamenu ul li ul h3 {font-size:12px; color:red;}  //还可以在子菜单UL中添加各种标签。</div>
<div>很简单，是吧？</div>
<div>嗯，现在一个非常简陋的二级下拉菜单程序就做好了。</div>
</div>
<div>下面，我们来将这个二级下拉菜单整合到Joomla中去。</div>
<div>1、在制作模板时，我们定义一个名为joomlamenu的位置（模板制作教程中将会讲解）。</div>
<div>代码如：</div>
<div>
<div>&lt;div class=&#8221;joomlamenu&#8221;&gt;</div>
<div><span style="white-space: pre;"> </span>&lt;?php if($this-&gt;countModules(&#8216;joomlamenu&#8217;)) : ?&gt;</div>
<div><span style="white-space: pre;"> </span>&lt;jdoc:include type=&#8221;modules&#8221; name=&#8221;joomlamenu&#8221; /&gt;</div>
<div><span style="white-space: pre;"> </span>&lt;?php endif; ?&gt;</div>
<div>&lt;/div&gt;</div>
<div>2、然后我们创建一组名为joomlamenu的菜单，并创建几个用来测试的菜单，并对其中一个设置子菜单。</div>
<div>3、找到joomlamenu模块，在右边模块设置中Always show sub-menu Items项选择yes，Menu style为list。</div>
<div>4、保存后你就可以看到二级的下拉菜单了。</div>
<div>现在你应该可以看到我们原来的HTML代码大概变成了这样：</div>
<div>
<div id="_mcePaste">&lt;div class=&#8221;joomlamenu&#8221;&gt;</div>
<div>&lt;ul&gt;</div>
<div id="_mcePaste">&lt;li id=&#8221;current&#8221; class=&#8221;<span style="font-family: Consolas, 'Lucida Console', monospace; line-height: normal; font-size: 12px; white-space: pre-wrap; -webkit-text-size-adjust: none;">parent active item2</span>&#8220;&gt;&lt;a href=&#8221;"&gt;菜单1&lt;/a&gt; //当你点击进入这个菜单之后就会出现id=&#8221;current&#8221;和class=&#8221;active&#8221;这两个属性。</div>
<div id="_mcePaste">&lt;ul&gt;</div>
<div id="_mcePaste">&lt;h3&gt;这里包含了下拉菜单&lt;/h3&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-1&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-2&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-3&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;li&gt;&lt;a href=&#8221;"&gt;菜单1-4&lt;/a&gt;&lt;/li&gt;</div>
<div id="_mcePaste">&lt;/ul&gt;</div>
<div id="_mcePaste">&lt;/li&gt;</div>
<div id="_mcePaste">&lt;/ul&gt;</div>
<div>&lt;/div&gt;</div>
<div>现在，我们再来对CSS代码进行一下小修改：</div>
<div>
<div>.joomlamenu ul {padding:0; margin:0; font-size:12px;}</div>
<div>.joomlamenu ul li {line-height:24px;}</div>
<div>.joomlamenu ul li a {display:block; background:#CCC;}  //将一级菜单的A标签区块化，并设置保背景色为#CCC</div>
<div>.joomlamenu ul li a:hover {background:#AAA;} //当鼠标移动到一级菜单时，改变其背景颜色</div>
<div>.joomlamenu ul li.active a {background:#AAA;} //进入当前菜单后，我们使当前的菜单颜色为#AAA，从而与其他菜单区分开来。</div>
<div>.joomlamenu ul li ul {display:none;}</div>
<div>.joomlamenu ul li:hover ul {display:block;}</div>
<div>.joomlamenu ul li ul h3 {font-size:12px; color:red;}</div>
</div>
<div>到这里，本教程基本就完了，如果有不明白的地方欢迎提出讨论。还是那句话，我希望大家看懂原理，而不是看死代码。</div>
<div>最后，非常实用的<a href="http://code.google.com/p/luoqiu/downloads/detail?name=css20.chm&amp;can=2&amp;q=#makechanges" target="_blank">CSS2.0中文手</a>册送给大家。:)</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/pure-css-drop-down-menu-and-create-two-application-in-joomla.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>简单方便的Joomla网站备份、转移工具 &#8211; Jcloner组件</title>
		<link>http://www.52joomla.com/joomla-extensions/joomla-website-backup-transfer-components-jcloner-component-download.html</link>
		<comments>http://www.52joomla.com/joomla-extensions/joomla-website-backup-transfer-components-jcloner-component-download.html#comments</comments>
		<pubDate>Fri, 25 Jun 2010 10:09:51 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla扩展下载]]></category>
		<category><![CDATA[jcloner]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[数据库]]></category>
		<category><![CDATA[移站]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1554</guid>
		<description><![CDATA[在没有使用Jcloner组件之前，每次转移Joomla网站又得下载数据库，还得下载Joomla网站文件，转完了还得修改配置文件，费时费事。 有了Jcloner就不一样了，备份、转移，5分钟搞定！详情往下看： 操作方法： 在你需要转移或备份的Joomla网站上安装Jcloner组件（文件名为com_cloner1.9.2.zip），下载地址在下面（注意，一定要打开System &#8211; Legacy插件）。 打开Jcloner组件，点击“Generate Backup”。 如果你能明白各个选项的意思，你可以进行一下配置（建议不作任何修改），完了之后点击右上角“Continue”按钮，之后等待备份完成。 使用FTP工具进入administrator/backups目录下载名称类似于“backup_2010-06-25_02-55_www_xxx_com-sql-nodrop.tgz”的文件。 如果你只是想备份，那么，已经完成了。如果你是想转移站点，请接着看。 将从本站下载到的jcloner组件压缩包中的另外三个文件（Joomla.Cloner.php、pcltar.lib.php、pclzip.lib.php）以及第四步中下载到的文件使用FTP工具一并传到你的新服务器上。 在新的服务器上运行Joomla.Cloner.php文件，如 http://www.xxx.com/Joomla.Cloner.php。 其他地方都不用管，只看“Mysql configuration:”部分，选中“import mysql database”即可，然后将你的数据库信息输入好。 “Files transfer and configuration:”部分我怕我描述的大家无法理解，特做了一张图（见末尾）。 “Start Install”，完成之后删除第四步和第六步中提到的文件。 OK，完成！ 下载地址： http://code.google.com/p/luoqiu/downloads/detail?name=jcloner.rar&#38;can=2&#38;q=#makechanges 如果你对版权很在意，请到这里购买： http://www.joomlaplug.com/Tools/JoomlaCloner/JoomlaCloner_-_Joomla__Backup_and_Restore_component.html 如果你有什么疑问或遇到问题，可以在评论区提出。 现已遇到过的问题： 恢复网站时可能会遇到权限的问题，请先将服务器目录权限设置为777，恢复完成后再修改回来。]]></description>
			<content:encoded><![CDATA[<p>在没有使用Jcloner组件之前，每次转移Joomla网站又得下载数据库，还得下载Joomla网站文件，转完了还得修改配置文件，费时费事。</p>
<p>有了Jcloner就不一样了，备份、转移，5分钟搞定！详情往下看：<span id="more-1554"></span></p>
<p><strong>操作方法：</strong></p>
<ol>
<li>在你需要转移或备份的Joomla网站上安装Jcloner组件（文件名为com_cloner1.9.2.zip），下载地址在下面（<strong><span style="color: #ff0000;">注意，一定要打开System &#8211; Legacy插件</span></strong>）。</li>
<li>打开Jcloner组件，点击“Generate Backup”。</li>
<li>如果你能明白各个选项的意思，你可以进行一下配置（建议不作任何修改），完了之后点击右上角“Continue”按钮，之后等待备份完成。</li>
<li>使用FTP工具进入administrator/backups目录下载名称类似于“backup_2010-06-25_02-55_www_xxx_com-sql-nodrop.tgz”的文件。</li>
<li>如果你只是想备份，那么，已经完成了。如果你是想转移站点，请接着看。</li>
<li>将从本站下载到的jcloner组件压缩包中的另外三个文件（Joomla.Cloner.php、pcltar.lib.php、pclzip.lib.php）以及第四步中下载到的文件使用FTP工具一并传到你的新服务器上。</li>
<li>在新的服务器上运行Joomla.Cloner.php文件，如 http://www.xxx.com/Joomla.Cloner.php。</li>
<li>其他地方都不用管，只看“Mysql configuration:”部分，选中“import mysql database”即可，然后将你的数据库信息输入好。</li>
<li>“Files transfer and configuration:”部分我怕我描述的大家无法理解，特做了一张图（见末尾）。</li>
<li>“Start Install”，完成之后删除第四步和第六步中提到的文件。</li>
<li>OK，完成！</li>
</ol>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/06/change.jpg" rel="lightbox[1554]"><img class="alignnone size-full wp-image-1555" title="change" src="http://www.52joomla.com/wp-content/uploads/2010/06/change.jpg" alt="" width="508" height="398" /></a></p>
<p><strong>下载地址：</strong></p>
<p><a href="http://code.google.com/p/luoqiu/downloads/detail?name=jcloner.rar&amp;can=2&amp;q=#makechanges" target="_blank">http://code.google.com/p/luoqiu/downloads/detail?name=jcloner.rar&amp;can=2&amp;q=#makechanges</a></p>
<p>如果你对版权很在意，请到这里<strong><span style="color: #ff0000;">购买</span></strong>：</p>
<p><a href="http://www.joomlaplug.com/Tools/JoomlaCloner/JoomlaCloner_-_Joomla__Backup_and_Restore_component.html" target="_blank">http://www.joomlaplug.com/Tools/JoomlaCloner/JoomlaCloner_-_Joomla__Backup_and_Restore_component.html</a></p>
<p>如果你有什么疑问或遇到问题，可以在评论区提出。</p>
<p><strong><span style="color: #ff0000;">现已遇到过的问题：</span></strong></p>
<ol>
<li>恢复网站时可能会遇到权限的问题，请先将服务器目录权限设置为777，恢复完成后再修改回来。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-extensions/joomla-website-backup-transfer-components-jcloner-component-download.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Joomla 1.5 模板解构</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla-1-5-templates-deconstruction.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla-1-5-templates-deconstruction.html#comments</comments>
		<pubDate>Fri, 18 Jun 2010 01:21:06 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla模板]]></category>
		<category><![CDATA[模板]]></category>
		<category><![CDATA[结构]]></category>
		<category><![CDATA[解析]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1515</guid>
		<description><![CDATA[转载自：石头的日志 Joomla1.5 的模板引擎比起Joomla 1.0时代有相当大的进步，在Joomla1.5中允许设计者为模板定制可选参数，这些参数对应不同的选项，例如修改模板背景颜色、字号大小、宽度&#8230; 。用户可以在管理后台的模板管理里修改，参数值保存在模板根目录下的&#8220;params.ini&#8221;文件里。 重写代码功能也非常不错，这个新的功能提高了Joomla 模板的可访问性，他允许设计者重写Joomla核心组件与模块的HTML代码，在以前Joomla的组件与模块应用了大量的表格，做为一个现代网站，网页布局中已经很少使用表格了，我们通过这个重写代码的功能，可以去掉所有Joomla组件与模块中的表格。 Joomla1.5在默认安装下，里面有一个叫&#8220;Beez&#8221;的模板，他是重写代码的完美案例，如果想使用重写代码功能，可以参考这个模板。在模板的根目录下，所有重写的组件、模块的代码都放在&#8220;html&#8221;文件夹里，Joomla在加载模板时会查看这个文件夹，如果里面有组件与模块的HTML代码，那么Joomla会使用这个文件夹里的代码代替原组件与模块的HTML代码。下面的文字介绍了设计制作Joomla 1.5模板的基本思路。 制作一个空白的Joomla 1.5 模板： name/index.php name/templateDetails.xml 这两个文件是必须的，并且文件名也必须与上面的例子相同，因为这两个文件是被joomla核心直接调用的，所以不能错。 &#60;install&#160;version=&#8220;1.5&#8243;&#160;type=&#8220;template&#8221;&#62; &#60;name&#62;template&#160;name&#60;/name&#62; &#60;creationdate&#62;2008.02.08&#60;/creationdate&#62; &#60;author&#62;lyw0301&#60;/author&#62; &#60;copyright&#62;GPL&#60;/copyright&#62; &#60;authoremail&#62;lyw0301@gmail.com&#160;&#60;/authoremail&#62; &#60;authorurl&#62;www.plili.com&#160;&#60;/authorurl&#62; &#60;version&#62;1.0&#60;/version&#62; &#60;description&#62;模板的描述信息&#60;/description&#62; &#60;files&#62; &#60;filename&#62;index.php&#60;/filename&#62; &#60;filename&#62;templateDetails.xml&#60;/filename&#62; &#60;filename&#62;js/script.js&#60;/filename&#62; &#60;filename&#62;images/header.gif&#60;/filename&#62; &#60;filename&#62;images/logo.gif&#60;/filename&#62; &#60;filename&#62;css/customize.css&#60;/filename&#62; &#60;filename&#62;css/layout.css&#60;/filename&#62; &#60;filename&#62;css/template.css&#60;/filename&#62; &#60;/files&#62; &#60;positions&#62; &#60;position&#62;user1&#60;/position&#62; &#60;position&#62;top&#60;/position&#62; &#60;position&#62;left&#60;/position&#62; &#60;position&#62;banner&#60;/position&#62; &#60;position&#62;right&#60;/position&#62; &#60;position&#62;footer&#60;/position&#62; &#60;/positions&#62; &#60;params&#62; &#60;/params&#62;&#60;/install&#62; templateDetails文件内容解释： &#60;install version=&#8221;1.5&#8243; type=&#8221;template&#8221;&#62;. 这行信息告诉后台安装安装器，我们要安装的内容是模板，版本是1.5 &#60;name&#62;&#60;/name&#62;. 定义模板的名称，这个名称同时还用做模板所在目录的名称，所以不能是中文或任何特殊字符 &#60;creationDate&#62;&#60;/creationDate&#62;. 模板建立的日期 &#60;author&#62;&#60;/author&#62;.模板的所有人 &#60;copyright&#62;&#60;/copyright&#62;.模板的版权信息 [...]]]></description>
			<content:encoded><![CDATA[<p>转载自：<a href="http://www.yaiba.net/joomla-templates-15-1020/" target="_blank">石头的日志</a> </p>
<p>Joomla1.5 的模板引擎比起Joomla 1.0时代有相当大的进步，在Joomla1.5中允许设计者为模板定制可选参数，这些参数对应不同的选项，例如修改模板背景颜色、字号大小、宽度&hellip; 。用户可以在管理后台的模板管理里修改，参数值保存在模板根目录下的&ldquo;params.ini&rdquo;文件里。</p>
<p>重写代码功能也非常不错，这个新的功能提高了Joomla 模板的可访问性，他允许设计者重写Joomla核心组件与模块的HTML代码，在以前Joomla的组件与模块应用了大量的表格，做为一个现代网站，网页布局中已经很少使用表格了，我们通过这个重写代码的功能，可以去掉所有Joomla组件与模块中的表格。 </p>
<p>Joomla1.5在默认安装下，里面有一个叫&ldquo;Beez&rdquo;的模板，他是重写代码的完美案例，如果想使用重写代码功能，可以参考这个模板。在模板的根目录下，所有重写的组件、模块的代码都放在&ldquo;html&rdquo;文件夹里，Joomla在加载模板时会查看这个文件夹，如果里面有组件与模块的HTML代码，那么Joomla会使用这个文件夹里的代码代替原组件与模块的HTML代码。<span id="more-1515"></span>下面的文字介绍了设计制作Joomla 1.5模板的基本思路。</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/06/2449326910_9bdd280f15_o.png" rel="lightbox[1515]"><img alt="" class="size-medium wp-image-1516 alignright" height="161" src="http://www.52joomla.com/wp-content/uploads/2010/06/2449326910_9bdd280f15_o-300x161.png" title="2449326910_9bdd280f15_o" width="300" /></a> </p>
<p><strong>制作一个空白的Joomla 1.5 模板：</strong> </p>
<p>name/index.php name/templateDetails.xml 这两个文件是必须的，并且文件名也必须与上面的例子相同，因为这两个文件是被joomla核心直接调用的，所以不能错。</p>
<ol>
<li>&lt;install&nbsp;version=&ldquo;1.5&Prime;&nbsp;type=&ldquo;template&rdquo;&gt;</li>
<li>&lt;name&gt;template&nbsp;name&lt;/name&gt;</li>
<li>&lt;creationdate&gt;2008.02.08&lt;/creationdate&gt;</li>
<li>&lt;author&gt;lyw0301&lt;/author&gt;</li>
<li>&lt;copyright&gt;GPL&lt;/copyright&gt;</li>
<li>&lt;authoremail&gt;lyw0301@gmail.com&nbsp;&lt;/authoremail&gt;</li>
<li>&lt;authorurl&gt;www.plili.com&nbsp;&lt;/authorurl&gt;</li>
<li>&lt;version&gt;1.0&lt;/version&gt;</li>
<li>&lt;description&gt;模板的描述信息&lt;/description&gt;</li>
<li>&lt;files&gt;</li>
<li>&lt;filename&gt;index.php&lt;/filename&gt;</li>
<li>&lt;filename&gt;templateDetails.xml&lt;/filename&gt;</li>
<li>&lt;filename&gt;js/script.js&lt;/filename&gt;</li>
<li>&lt;filename&gt;images/header.gif&lt;/filename&gt;</li>
<li>&lt;filename&gt;images/logo.gif&lt;/filename&gt;</li>
<li>&lt;filename&gt;css/customize.css&lt;/filename&gt;</li>
<li>&lt;filename&gt;css/layout.css&lt;/filename&gt;</li>
<li>&lt;filename&gt;css/template.css&lt;/filename&gt;</li>
<li>&lt;/files&gt;</li>
<li>&lt;positions&gt;</li>
<li>&lt;position&gt;user1&lt;/position&gt;</li>
<li>&lt;position&gt;top&lt;/position&gt;</li>
<li>&lt;position&gt;left&lt;/position&gt;</li>
<li>&lt;position&gt;banner&lt;/position&gt;</li>
<li>&lt;position&gt;right&lt;/position&gt;</li>
<li>&lt;position&gt;footer&lt;/position&gt;</li>
<li>&lt;/positions&gt;</li>
<li>&lt;params&gt;</li>
<li>&lt;/params&gt;&lt;/install&gt;</li>
</ol>
<p><strong>templateDetails文件内容解释：</strong></p>
<p>&lt;install version=&rdquo;1.5&Prime; type=&rdquo;template&rdquo;&gt;. </p>
<p>这行信息告诉后台安装安装器，我们要安装的内容是模板，版本是1.5</p>
<p>&lt;name&gt;&lt;/name&gt;. 定义模板的名称，这个名称同时还用做模板所在目录的名称，所以不能是中文或任何特殊字符 </p>
<p>&lt;creationDate&gt;&lt;/creationDate&gt;. 模板建立的日期 </p>
<p>&lt;author&gt;&lt;/author&gt;.模板的所有人</p>
<p>&lt;copyright&gt;&lt;/copyright&gt;.模板的版权信息</p>
<p>&lt;authorEmail&gt;&lt;/authorEmail&gt;. 模板制作人的email地址 </p>
<p>&lt;authorUrl&gt;&lt;/authorUrl&gt;. 模板所有人的网站 </p>
<p>&lt;version&gt;1.0&lt;/version&gt;. 这个模板的版本号</p>
<p>&lt;files&gt; 所有模板用到的文件 </p>
<p>&lt;filename&gt;index.php&lt;/filename&gt; &lt;/files&gt;</p>
<p>&lt;positions&gt;&lt;/positions&gt;.模板用到的模块位置名称 </p>
<p>&lt;params&gt;&lt;/params&gt;.定义模板使用的参数，可以在网站后台对模板进行控制，比如可以更改网站的字体颜色，网页宽度，等等</p>
<p><strong>index.php文件内容示例：</strong></p>
<p>&lt;?php defined( &lsquo;_JEXEC&rsquo; ) or die( &lsquo;Restricted access&rsquo; ); ?&gt; &lt;!DOCTYPE html PUBLIC &ldquo;-//W3C//DTD XHTML 1.0 Transitional//EN&rdquo; &ldquo;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&ldquo;&gt; &lt;html xmlns=&rdquo;http://www.w3.org/1999/xhtml&rdquo; xml:lang=&rdquo;&lt;?php echo $this-&gt;language; ?&gt;&rdquo; lang=&rdquo;&lt;?php echo $this-&gt;language; ?&gt;&rdquo; &gt; &lt;head&gt; &lt;jdoc:include type=&rdquo;head&rdquo; /&gt; &lt;link rel=&rdquo;stylesheet&rdquo; href=&rdquo;templates/&lt;?php echo $this-&gt;template ?&gt;/css/template.css&rdquo; type=&rdquo;text/css&rdquo; /&gt; &lt;/head&gt;</p>
<p><strong>index.php文件内容解释：</strong> &lt;jdoc:include type=&rdquo;head&rdquo; /&gt;，在默认安装的情况下，这行代码调入下面的内容： &lt;title&gt;Welcome to the Frontpage&lt;/title&gt; &lt;meta name=&rdquo;description&rdquo; content=&rdquo;Joomla! &ndash; the dynamic portal engine and content management system&rdquo; /&gt; &lt;meta name=&rdquo;generator&rdquo; content=&rdquo;Joomla! 1.5 &ndash; Open Source Content Management&rdquo; /&gt; &lt;meta http-equiv=&rdquo;Content-Type&rdquo; content=&rdquo;text/html; charset=utf-8&Prime; /&gt; &lt;meta name=&rdquo;robots&rdquo; content=&rdquo;index, follow&rdquo; /&gt; &lt;meta name=&rdquo;keywords&rdquo; content=&rdquo;joomla, Joomla&rdquo; /&gt; &lt;link href=&rdquo;index.php?option=com_content&amp;view=frontpage&amp;format=feed&amp;Itemid=1&amp;type=rss&rdquo; rel=&rdquo;alternate&rdquo; type=&rdquo;application/rss+xml&rdquo; title=&rdquo;RSS 2.0&Prime; /&gt; &lt;link href=&rdquo;index.php?option=com_content&amp;view=frontpage&amp;format=feed&amp;Itemid=1&amp;type=atom&rdquo; rel=&rdquo;alternate&rdquo; type=&rdquo;application/atom+xml&rdquo; title=&rdquo;Atom1.0&Prime; /&gt; &lt;script type=&rdquo;text/javascript&rdquo; src=&rdquo;http://localhost/joomla/media/system/js/mootools.js&rdquo;&gt;&lt;/script&gt; &lt;script type=&rdquo;text/javascript&rdquo; src=&rdquo;http://localhost/joomla/media/system/js/caption.js&rdquo;&gt;&lt;/script&gt;</p>
<p><strong>模板主体代码：</strong> &lt;body&gt; &lt;?php echo $mainframe-&gt;getCfg(&rsquo;sitename&rsquo;);?&gt;&lt;br /&gt; &lt;jdoc:include type=&rdquo;module&rdquo; name=&rdquo;breadcrumbs&rdquo; /&gt; &lt;jdoc:include type=&rdquo;modules&rdquo; name=&rdquo;top&rdquo; /&gt; &lt;jdoc:include type=&rdquo;modules&rdquo; name=&rdquo;left&rdquo; /&gt; &lt;jdoc:include type=&rdquo;component&rdquo; /&gt; &lt;jdoc:include type=&rdquo;modules&rdquo; name=&rdquo;right&rdquo; /&gt; &lt;/body&gt; </p>
<p><strong>Joomla模块内容调入命令解释：</strong> <strong>&lt;jdoc:include type=&rdquo;&quot; name=&rdquo;&quot;&gt;</strong>这是Joomla模板的调入命令，例如：&ldquo;&lt;jdoc:include type=&rdquo;module&rdquo; name=&rdquo;breadcrumbs&rdquo; /&gt;&rdquo;这条命令调入显示Joomla的&ldquo;面包屑&rdquo;模块，type=&rdquo;module&rdquo;调入类型为&ldquo;模块&rdquo;，注意是&ldquo;module&rdquo;而不是 &ldquo;modules&rdquo;。&ldquo;&lt;jdoc:include type=&rdquo;modules&rdquo; name=&rdquo;top&rdquo; /&gt;&rdquo;，这条命令调入显示模块位置&ldquo;top&rdquo;，需要注意的是，我们在这里使用的模块位置名称(name=&rdquo;&quot;)一定要包含在 &ldquo;templateDetails.xml&rdquo;文件中。&ldquo;&lt;jdoc:include type=&rdquo;component&rdquo; /&gt;&rdquo;这条调入命令会显示Joomla的主体内容。<<br />
/p>
<p><strong>结论：</strong>制作一个空白的Joomla模板很容易，完成一个复杂的设计就没那么简单，你需要考虑很多问题，比如用户使用的浏览器，隐藏模块位置，可用性等等。在自己着手设计前可以先参考别人的作品，有很多代码你直接就可以使用，本文提到的调入命令，文件头的信息，XML文件的结构等这些信息直接复制粘贴就可以使用了，不需要自己亲手编写。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla-1-5-templates-deconstruction.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla 模板常用技巧函数收集</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla-template-function-used-to-collect-tips.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla-template-function-used-to-collect-tips.html#comments</comments>
		<pubDate>Tue, 15 Jun 2010 09:51:24 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomla函数]]></category>
		<category><![CDATA[Joomla模板]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1511</guid>
		<description><![CDATA[此文转自:AnyLiv 在平时开发 Joomla 模板的时候收集了一些极为常见也非常有用的函数，现列出来方便制作 Joomla 模板时查阅，具体内容将不断更新，需要注意的是该页代码在模板中使用时均需嵌套在 &#60;?php&#160; ?&#62; 标签里面（地球人都知道了）更多完整函数可查阅 Joomla 的官方 API 网站 http://api.joomla.org/ 这里列出来的仅是制作模板主题时经常使用到的：0、关于 jdoc 的使用： 1 2 3 4 5 6 7 8 &#60;jdoc:include type=&#34;head&#34; /&#62; &#60;jdoc:include type=&#34;message&#34; /&#62; &#60;jdoc:include type=&#34;component&#34; /&#62; &#60;jdoc:include type=&#34;installation&#34; /&#62; &#60;jdoc:include type=&#34;module&#34; name=&#34;logo&#34; /&#62; &#60;jdoc:include type=&#34;module&#34; name=&#34;menu&#34; /&#62; &#60;jdoc:include type=&#34;modules&#34; name=&#34;side&#34; style=&#34;xhtml&#34; /&#62; &#60;jdoc:include type=&#34;modules&#34; name=&#34;main&#34; style=&#34;xhtml&#34; /&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>此文转自:<a href="http://anyliv.com/blog/920.html" target="_blank">AnyLiv</a> 在平时开发 Joomla 模板的时候收集了一些极为常见也非常有用的函数，现列出来方便制作 Joomla 模板时查阅，具体内容将不断更新，需要注意的是该页代码在模板中使用时均需嵌套在 &lt;?php&nbsp; ?&gt; 标签里面（地球人都知道了）更多完整函数可查阅 Joomla 的官方 API 网站 <a href="http://api.joomla.org/" target="_blank">http://api.joomla.org/</a> 这里列出来的仅是制作模板主题时经常使用到的：<span id="more-1511"></span>0、关于 jdoc 的使用：</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
3
4
5
6
7
8
</pre>
</td>
<td>
<pre>&lt;jdoc:include type=&quot;head&quot; /&gt;
&lt;jdoc:include type=&quot;message&quot; /&gt;
&lt;jdoc:include type=&quot;component&quot; /&gt;
&lt;jdoc:include type=&quot;installation&quot; /&gt;
&lt;jdoc:include type=&quot;module&quot; name=&quot;logo&quot; /&gt;
&lt;jdoc:include type=&quot;module&quot; name=&quot;menu&quot; /&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;side&quot; style=&quot;xhtml&quot; /&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;main&quot; style=&quot;xhtml&quot; /&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>其中 type 属性为 jdoc 元素中要渲染的内容类型，属性值可以是下列的值：</p>
<blockquote><p>head &mdash;&mdash; 填充当前页&lt;head&gt;标签里的 style script meta 等元素； message &mdash;&mdash; 用于在模板显示系统信息或报错信息，发布模板时可以删掉； component &mdash;&mdash; 用于页面主体内容输出； installation &mdash;&mdash; 仅用于模板安装，渲染安装步骤中的一个页面主内容，通常不需要； 以上内容类型通常在一个页面应当仅出现一次，并且通常没有其他属性，如 name style 等属性； module &mdash;&mdash; 渲染由 name 属性指定的单一模块，模块必须是发布的并且当前用户有权访问，另外还可以有 layout 及 controller 属性； modules &mdash;&mdash; 渲染由模板 xml 文件中指定的位置，需要留意的是一个位置可以放置多个模块，这点非常重要，能为你节约很多时间和成本； style &mdash;&mdash; 是对于 module 及 modules 类型的一个可选属性，这一属性指定了模块被渲染风格，如果没指定将默认为 none 属性，所有属性在 /templates/system/html/modules.php 中有声明，包括有 table horz xhtml rounded outline 当然模板设计者可以在你自己的模板同样位置对其进行自定义，否则建议使用 xhtml 类型。</p></blockquote>
<p>1、判断当前页面是否为首页：getActive(); getDefault();</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
</pre>
</td>
<td>
<pre>$menu = &amp; JSite::getMenu();
if( $menu-&gt;getActive() == $menu-&gt;getDefault() ){ /* 这里显示首页代码 */ }else{ /* 这里是非首页代码 */ }</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>解释一下：这里使用 getActive 函数获取当前页面并与默认页面对比； 2、根据位置是否存在内容设置一些宽度：countModules();</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
3
</pre>
</td>
<td>
<pre>if ($this-&gt;countModules(&#39;west and east&#39;) == 0) { $coreWidth = &quot;100%&quot;; }
if ($this-&gt;countModules(&#39;west or east&#39;) == 1) { $coreWidth = &quot;75%&quot;; }
if ($this-&gt;countModules(&#39;west and east&#39;) == 1) { $coreWidth = &quot;50%&quot;; }</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>解释一下：通常多栏页面在没有其中一栏或多栏内容的情况下需要将其他栏目做宽度调整，这里使用 countModules() 函数判断是否存在一个或多个位置。 示例中展示的是三栏情况下，假使三栏分别为三个 west core east 位置，其中 west 和 east 为左右两个位置内容为可选，而 core 位置为主体位置内容为必须，通过判断得出四种情况即：无 west 栏、无 east 栏、仅 core 栏及同时具有三栏。示例代码第一行为仅有 core 栏即 west 和 east 都不存在的情况时赋 coreWidth 为 100% 宽度；第二行为仅有 west 或 east 栏其中之一时赋 coreWidth 为 75% 宽度；第三行为同时存在三栏时附 coreWidth 为 50% 宽度。取得了 coreWidth 值之后就可以在 html 代码中引用了，例如：</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
3
</pre>
</td>
<td>
<pre>&lt;div style=&quot;width:&lt;?php echo $coreWidth; ?&gt;;&quot;&gt;
    &lt;jdoc:include type=&quot;modules&quot; name=&quot;core&quot; /&gt;
&lt;/div&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>当然，这里省略了 CSS 样式，你需要在 CSS 里面定义 west 和 east 的宽度等参数。 3、根据位置是否有内容控制输出：countModules();</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
3
4
5
6
7
</pre>
</td>
<td>
<pre>&lt;?php if ( $this-&gt;countModules(&#39;west or core or east&#39;) == 1 ) : ?&gt;
&lt;div class=&quot;body&quot;&gt;
    &lt;div id=&quot;west&quot;&gt;&lt;jdoc:include type=&quot;modules&quot; name=&quot;west&quot; style=&quot;xhtml&quot; /&gt;&lt;/div&gt;
    &lt;div id=&quot;core&quot;&gt;&lt;jdoc:include type=&quot;modules&quot; name=&quot;core&quot; style=&quot;xhtml&quot; /&gt;&lt;/div&gt;
    &lt;div id=&quot;east&quot;&gt;&lt;jdoc:include type=&quot;modules&quot; name=&quot;east&quot; style=&quot;xhtml&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>解释一下：这种使用其实是对上面第 2 点的一个补充，通常在输出位置的时候我们喜欢使用一个 div 包裹输出的位置内容用来做一些效果，但如果该位置没有输出，或是一个大通栏里面包括的三个位置都没有输出，那么这个通栏就没有必要输出了，使用 countModules 同时判断 west core east 位置是否有任意一个位置有内容输出，如果有任一位置有输出便输出 &lt;div class=&rdquo;body&rdquo;&gt; &lt;/div&gt; 中间的内容。 4、方便的查看当前模板位置情况：index.php?tp=1</p>
<blockquote><p>示例代码：网站 URL 路径 + index.php?tp=1 （如 http://127.0.0.1/index.php?tp=1 等） 解释一下：这个地址参数用来方便的查看当前页面的模板上的位置情况，及相应的输出模式，其中的 127.0.0.1 需要根据具体地址修改。</p></blockquote>
<p>5、直接在模板调用模块：</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>1
2
3
4
5
6
</pre>
</td>
<td>
<pre>require_once (JPATH_BASE .DS. &#39;modules&#39; .DS. &#39;mod_latestnews&#39; .DS. &#39;helper.php&#39;);
$params = new JParameter(&rdquo;);
$params -&gt; set(&#39;catid&#39;,5);
$params -&gt; set(&#39;count&#39;,3);
$list = modLatestNewsHelper::getList($params);
require(JModuleHelper::getLayoutPath(&#39;mod_latestnews&#39;));</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>解释一下：这段代码就是在模板中直接调用 LatestNews 模块，并设置分类 ID 28 显示 3 篇文章。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla-template-function-used-to-collect-tips.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>给Joomla初学者[三]：深入认识Joomla! CMS</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-3-deep-understanding-of-joomla-cms.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-3-deep-understanding-of-joomla-cms.html#comments</comments>
		<pubDate>Fri, 28 May 2010 02:43:07 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla初学者教程]]></category>
		<category><![CDATA[安装Joomla]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1368</guid>
		<description><![CDATA[本文转自Joomla之门，由52Joomla!编辑，文中所介绍内容均以Joomla1.5.17英文原版为例。 Joomla的结构 上图是 Joomla 1.5.17 安装成功后的根目录内容。与Joomla的安装包相比，/installation 目录已经删除了。/configuration.php 这个文件是安装过程中生成的。 再来看看Joomla 1.5.17英文原版的安装包，其根目录内容如下图所示： 可以看出，安装前后几乎差不多。所以就有人想走捷径：论坛的某个帖子中说他将 /configuration.php-dist 文件修改为 /configuration.php 来安装Joomla，结果总是不能成功。很显然它对Joomla理解错了，希望存在这种想法的人看看《安装Joomla1.5》。 看完了安装示范，你就发现一个问题：Joomla需要MySQL数据库的支持。没错，Joomla除了上图中你能看到的“文件”（Files）以外，还有你在web目录中看不到的“数据库”（Database）。也就是说，在安装过程中，有很多数据被写入了数据库，Joomla 依靠 web+db 的方式来运行。这与传统的静态网站把所有内容都保存在web空间是不同的。 怎样才能看到这些数据库内容呢？就像浏览文件需要“资源管理器”，查看数据库内容也需要相应的浏览器，那就是phpMyAdmin。当然，这不是唯一的，但是最常用的。一般来说，你购买php空间的虚拟主机时，商家会告诉你访问phpMyAdmin的URL及帐号，登录后就能看到这些数据库的内容。 在此劝告好奇心太强的新手：对于数据库尽量不要随便操作。一般来说，我们访问phpMyAdmin只做一件事：备份数据库。因此，你知道有这么回事就行了，不要经常打开数据库来查验它是否还在。 既然Joomla的网站由web+db组成，这就意味着，如果你要迁移某个Joomla建造的网站，你必须同时迁移这两部分。web内容可以通过FTP下载到你的电脑；而db内容就需要用数据库备份工具来备份到你的个人电脑，这个工具通常都是phpMyAdmin。然后通过FTP将web内容上传到新空间的web目录（通常是一个名为www或者public_html的文件夹），而数据库内容又再次通过新空间的phpMyAdmin导入。当然，迁移网站后还需要修改/configuration.php文件中的某些环境参数。关于网站迁移我们以后专门撰文介绍。 下面我们来看Joomla的根目录。 /administrator 就是管理后台的路径。如果你的网站域名是 http://www.52joomla.com ，那么加上这个目录就是管理后台的路径，即 http://www.52joomla.com/administrator 。这也就引出一个安全隐患：每个人都很清楚Joomla的管理后台路径，而且Joomla登录时不需要输入验证码（CAPTCHA），居心不良的人使用穷举法就能暴力破解网站后台帐号——更何况Joomla默认的管理员用户名是 admin，人家只需要猜密码就行了。为了安全，我推荐你学习一下AutoIt发明的改变后台管理登录路径的方法。 /cache 是缓存目录。这里存储网站运行过程中的缓存文件，对于提高网站打开速度有帮助。 /components 是组件（component）目录。如果进入该目录，会看到所有子目录都是以 com_ 开头。这是Joomla的命令原则，com_ 就是组件的字头。所谓组件，我的理解就是完成一项重大任务、实现某个复杂功能的程序集。比如我们需要一个留言本，那么com_easybook 就是留言本组件。组件展示的位置是在模板的mainbody区域。组件可以在前台菜单上建立菜单项，点击该菜单项就打开了该组件的内容。例如，点击本站顶部菜单上的“留言”就能打开留言本。 可以这么理解组件：每个组件都有明确的功能定义，或者发布新闻；或者展示相册；或者列出会员上传的视频并允许点击播放；或者是一个论坛供众人激辩；……它往往实现很复杂的功能，前台展示结果允许分页显示，并且需要显示在mainbody这个区域作为页面的主要内容。 /help 目录——Joomla的帮助文件，不过这个帮助简直是鸡肋，反正我从来没有用过。 /images 目录，一看就明白。这里存放网站文章中所有插图。如果你要建立电子相册、图库软件，其使用的存储目录或许不在这里。 /includes 是一个重要的目录，里面都是Joomla运行所需的各种脚本、函数等等。可谓“机房重地，闲人莫进”。 /language 即网站语言目录。这里存放全站前台界面的语言包。例如我们要将英文版Joomla汉化，就必须把中文语言包保存到这个目录。相应的，后台界面的语言包就存放在 /administrator/language 目录里。 /plugins 即插件目录。插件的文件名一般以 plg_ 或者 plugin_ 开头。一般来说只针对网页（content）启效。 有很多插件需要手动启动，即只有文章作者需要在该文中应用该插件的效果时才使用，这时只要插入相应的“触发命令”即可。所谓“触发命令”实际上是该插件的专用代码语法（syntax）。通常插入插件需要用打括号{}将一句或者一段代码包含。当Joomla的网页在浏览器中打开时，就会自动将大括号识别为插件启动命令，然后去寻找是否存在对应的代码，如果存在就将该大括号内的代码替换为插件的执行结果，如果不存在就直接以大括号来输出。 /media 目录顾名思义就是存放各种媒体文件的地方。当你的网站媒体文件不多，但又确实“有几个”的时候，可以将他们保存在这个目录，然后在文章中展示出来或者提供下载链接。实际上，这个目录管理的媒体有限，一些专门的媒体组件，如zOOm 允许使用指定的其他目录来管理媒体。 /modules 目录是存储模块（module）程序的地方，打开该目录，可以看到几乎所有文件名都以 mod_ 开头。Joomla的模块概念与其他web程序所说的模块稍有不同。这里的模块指可以将特定内容展示在前台mainbody之外的某个指定位置（position）的程序。由于mainbody是前台页面的中心，也是占面积最大的区域，因此模块在前台就是以一个小方块来显示。例如，我们可以在页面的左侧或者右侧，或者底部，通过 What is My IP 这个模块来显示访客的IP地址；我们也可以用OnBoom [...]]]></description>
			<content:encoded><![CDATA[<p>本文转自<a href="http://www.joomlagate.com/article/joomla-basic/deep-into-joomla-cms-extensions-menus-and-templates/" target="_blank">Joomla之门</a>，由52Joomla!编辑，文中所介绍内容均以Joomla1.5.17英文原版为例。</p>
<p><strong>Joomla的结构</strong></p>
<p><strong><br />
</strong></p>
<p><strong><a href="http://www.52joomla.com/wp-content/uploads/2010/05/joomla.jpg" rel="lightbox[1368]"><img class="alignnone size-full wp-image-1369" title="joomla" src="http://www.52joomla.com/wp-content/uploads/2010/05/joomla.jpg" alt="" width="200" /></a></strong></p>
<p><strong><br />
</strong></p>
<p>上图是 Joomla 1.5.17 安装成功后的根目录内容。与Joomla的安装包相比，/installation 目录已经删除了。/configuration.php 这个文件是安装过程中生成的。</p>
<p>再来看看Joomla 1.5.17英文原版的安装包，其根目录内容如下图所示：<span id="more-1368"></span></p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1.jpg" rel="lightbox[1368]"><img class="alignnone size-full wp-image-1370" title="joomla1" src="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1.jpg" alt="" width="200" /></a></p>
<p>可以看出，安装前后几乎差不多。所以就有人想走捷径：论坛的某个帖子中说他将 /configuration.php-dist 文件修改为 /configuration.php 来安装Joomla，结果总是不能成功。很显然它对Joomla理解错了，希望存在这种想法的人看看<a title="Joomla1.5安装过程" href="http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-2-installation-joomla1-5.html" target="_self">《安装Joomla1.5》</a>。</p>
<p>看完了安装示范，你就发现一个问题：Joomla需要MySQL数据库的支持。没错，Joomla除了上图中你能看到的“文件”（Files）以外，还有你在web目录中看不到的“数据库”（Database）。也就是说，在安装过程中，有很多数据被写入了数据库，Joomla 依靠 web+db 的方式来运行。这与传统的静态网站把所有内容都保存在web空间是不同的。</p>
<p>怎样才能看到这些数据库内容呢？就像浏览文件需要“资源管理器”，查看数据库内容也需要相应的浏览器，那就是phpMyAdmin。当然，这不是唯一的，但是最常用的。一般来说，你购买php空间的虚拟主机时，商家会告诉你访问phpMyAdmin的URL及帐号，登录后就能看到这些数据库的内容。</p>
<p>在此劝告好奇心太强的新手：对于数据库尽量不要随便操作。一般来说，我们访问phpMyAdmin只做一件事：备份数据库。因此，你知道有这么回事就行了，不要经常打开数据库来查验它是否还在。</p>
<p>既然Joomla的网站由web+db组成，这就意味着，如果你要迁移某个Joomla建造的网站，你必须同时迁移这两部分。web内容可以通过FTP下载到你的电脑；而db内容就需要用数据库备份工具来备份到你的个人电脑，这个工具通常都是phpMyAdmin。然后通过FTP将web内容上传到新空间的web目录（通常是一个名为www或者public_html的文件夹），而数据库内容又再次通过新空间的phpMyAdmin导入。当然，迁移网站后还需要修改/configuration.php文件中的某些环境参数。关于网站迁移我们以后专门撰文介绍。</p>
<p>下面我们来看Joomla的根目录。</p>
<p>/administrator 就是管理后台的路径。如果你的网站域名是 <a rel="nofollow" href="http://www.52joomla.com/">http://www.52joomla.com</a> ，那么加上这个目录就是管理后台的路径，即 <a rel="nofollow" href="http://www.52joomla.com/administrator" target="_blank">http://www.52joomla.com/administrator</a> 。这也就引出一个安全隐患：每个人都很清楚Joomla的管理后台路径，而且Joomla登录时不需要输入验证码（CAPTCHA），居心不良的人使用穷举法就能暴力破解网站后台帐号——更何况Joomla默认的管理员用户名是 admin，人家只需要猜密码就行了。为了安全，我推荐你学习一下<a title="阅读AutoIt撰写的文章《 简单的 " rel="nofollow" href="http://www.autoit.cn/index.php/content/view/69/25.html" target="_blank"><span style="color: #ff0000;">AutoIt发明的改变后台管理登录路径的方法</span></a>。</p>
<p>/cache 是缓存目录。这里存储网站运行过程中的缓存文件，对于提高网站打开速度有帮助。</p>
<p>/components 是组件（component）目录。如果进入该目录，会看到所有子目录都是以 com_ 开头。这是Joomla的命令原则，com_ 就是组件的字头。所谓组件，我的理解就是完成一项重大任务、实现某个复杂功能的程序集。比如我们需要一个留言本，那么<a title="下载Joomla的留言本组件Easybook中文版" href="http://www.52joomla.com/joomla-extensions/benzhanhanhuaeasybook2-0_rc4forj1-5duoyuyanban.html" target="_blank">com_easybook</a> 就是留言本组件。组件展示的位置是在模板的mainbody区域。组件可以在前台菜单上建立菜单项，点击该菜单项就打开了该组件的内容。例如，点击本站顶部菜单上的“留言”就能打开留言本。</p>
<p>可以这么理解组件：每个组件都有明确的功能定义，或者发布新闻；或者展示相册；或者列出会员上传的视频并允许点击播放；或者是一个论坛供众人激辩；……它往往实现很复杂的功能，前台展示结果允许分页显示，并且需要显示在mainbody这个区域作为页面的主要内容。</p>
<p>/help 目录——Joomla的帮助文件，不过这个帮助简直是鸡肋，反正我从来没有用过。</p>
<p>/images 目录，一看就明白。这里存放网站文章中所有插图。如果你要建立电子相册、图库软件，其使用的存储目录或许不在这里。</p>
<p>/includes 是一个重要的目录，里面都是Joomla运行所需的各种脚本、函数等等。可谓“机房重地，闲人莫进”。</p>
<p>/language 即网站语言目录。这里存放全站前台界面的语言包。例如我们要将英文版Joomla汉化，就必须把中文语言包保存到这个目录。相应的，后台界面的语言包就存放在 /administrator/language 目录里。</p>
<p>/plugins 即插件目录。插件的文件名一般以 plg_ 或者 plugin_ 开头。一般来说只针对网页（content）启效。</p>
<p>有很多插件需要手动启动，即只有文章作者需要在该文中应用该插件的效果时才使用，这时只要插入相应的“触发命令”即可。所谓“触发命令”实际上是该插件的专用代码语法（syntax）。通常插入插件需要用打括号{}将一句或者一段代码包含。当Joomla的网页在浏览器中打开时，就会自动将大括号识别为插件启动命令，然后去寻找是否存在对应的代码，如果存在就将该大括号内的代码替换为插件的执行结果，如果不存在就直接以大括号来输出。</p>
<p>/media 目录顾名思义就是存放各种媒体文件的地方。当你的网站媒体文件不多，但又确实“有几个”的时候，可以将他们保存在这个目录，然后在文章中展示出来或者提供下载链接。实际上，这个目录管理的媒体有限，一些专门的媒体组件，如<a title="下载zoom media gallery 媒体库组件中文版" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,243/" target="_blank">zOOm</a> 允许使用指定的其他目录来管理媒体。</p>
<p>/modules 目录是存储模块（module）程序的地方，打开该目录，可以看到几乎所有文件名都以 mod_ 开头。Joomla的模块概念与其他web程序所说的模块稍有不同。这里的模块指可以将特定内容展示在前台mainbody之外的某个指定位置（position）的程序。由于mainbody是前台页面的中心，也是占面积最大的区域，因此模块在前台就是以一个小方块来显示。例如，我们可以在页面的左侧或者右侧，或者底部，通过 <a title="下载显示访客IP地址的模块What is my IP" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,18/" target="_blank">What is My IP </a>这个模块来显示访客的IP地址；我们也可以用<a title="下载Joomla的mp3播放器模块OnBoom Flash MP3 Player" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,217/" target="_blank">OnBoom Flash MP3 Player</a>这个模块在前台显示一个mp3歌曲播放器。</p>
<p>Joomla默认模板已经定义了十多个模块位置，如header、footer、left、right、debug、user1、advert2等等。在制作Joomla模板时，你可以自由分配这些模块位置的展示位置。比如，你可以将left显示在右侧，虽然有违常规，但是不算错。某个模块展示在前台的哪个位置，取决于你在后台设定它发布（publish）在哪个模块位置。例如，你将OnBoom Flash MP3 Player这个模块发布在left，那么网站左侧就多了一个播放器；如果你过几天想调整一下，登录到后台将它又改发布到right，那么前台的播放器就跑到右侧去了。在此过程中，你不需要理解或者编写任何代码，只需要点几下鼠标就行。</p>
<p>在一个模块位置上，可以发布多个模块。例如，左侧通常可以发布主菜单（mod_mainmenu）、登录窗口（mod_login）、新闻供稿（mod_rssfeed），右侧可以发布在线会员（mod_whosonline）、在线调查（mod_poll），而旗帜广告（mod_banners）则一般发布在顶部位置，可能是banner位置，也可能是header位置。对于发布在同一个位置的多个模块，管理员可以在后台调整展示顺序。</p>
<p>另外，还可以在后台设定模块发布到哪些页面。一个网站通常有很多页面，好几个栏目（组件），我们或许不希望在某些页面上展示某些模块。例如，安装了<a title="下载FireBoard论坛组件中文版" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,416/" target="_blank">FireBoard论坛组件</a>后，很多人希望点击菜单上的“论坛”打开的页面只有论坛界面，没有左侧或者右侧那些模块，这样论坛的内容就会占用整个屏幕窗口，显得比较大气。而在其他页面上却仍然需要显示左侧的登录窗口及右侧的Google Adsense广告等。那么，只需要在后台的模块列表中，将发布在left 和right的各个模块都一一打开，设定每个模块的发布页面中不要包含“论坛”这一页即可。这个设定不仅对论坛的首页有效，而且对于任何属于论坛的页面都有效，也就是说，即使你进入某个版块阅读帖子，或者点击“回复”按钮回帖，left和right位置都不会显示任何模块。</p>
<p>由此可以看出，模块一般展示的内容都比较简单，也不需要占用很大的面积，更不需要建立菜单上的链接。这样的程序都会被按照模块来编程。如果你的需求超过了这些，那么还是编写一个组件吧。</p>
<p>当然，某些组件还有配套模块。这是因为有时候需要将组件的某一部分内容显示在其他页面或者网站首页的周围区域，例如我们可能需要将<a title="下载RSgallery2图库组件中文版" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,17/" target="_blank">RSgallery2图库</a>的新增图片显示在网站首页，好让访客看到每天都增加了哪些图片；我们还可能需要将<a title="如何将SMF论坛整合到Joomla" href="http://www.joomlagate.com/content/view/19/2/" target="_blank">整合的SMF论坛</a>的新帖展示在首页，以便访客迅速了解论坛的最新动向。这些模块的功能离不开相应的组件，但是它们也只是展示组件的一部分内容，并且需要发布在组件之外的位置。这样的功能就必须通过模块来完成。</p>
<p>/logs目录是Joomla的日志目录，</p>
<p>/tmp目录是Joomla的临时目录</p>
<h2>Joomla扩展的安装</h2>
<p>以上提到的组件、模块和插件，统称为Joomla的扩展（extension），因为他们扩展了Joomla的功能，单单一个原版Joomla能实现的功能很有限。不论是Joomla内核（安装包），还是其他扩展，或者Joomla的模板（template），下载后都是一个压缩格式。最常见是Zip格式，少数是tar.gz格式。请注意不要随意解压这些文件，除非有特殊指示需要解压。例如Joomla安装包需要解压到服务器才能开始安装，某些组件作者将组件及其配套模块、触发器一起打包，那么就需要解压后逐一安装，这种压缩包的文件名往往有 _unzip_1st 的字样，意为请先（1st同first）解压（unzip）。</p>
<p>由于Joomla可以自己在服务器端进行解压，因此我们安装扩展时直接指向zip格式的压缩包即可。安装都是在后台进行的。必须以（超级）管理员身份登录后台，点击顶部菜单上的“<a>Extensions</a>” &#8211; “Install/Uninstall”。点击之后就打开安装界面，第一个安装方法就是通过“浏览”按钮找到压缩包，然后点击“Upload File &amp; Install”按钮自动安装。</p>
<p>对于较大的组件，比如<a title="下载VirtueMart网上商店组件" href="http://www.52joomla.com/joomla-extensions/virtuemartshangchengzujian1-1-4forj1-5duoyuyanban.html" target="_blank">VirtueMart网上商店组件</a>达到了1MB多，这样上传恐怕很耗时间，那么就可以通过FTP上传到服务器端，然后借助<a title="下载Joomla的后台资源管理器组件JoomlaXplorer" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,140/" target="_blank">JoomlaXplorer</a>或者<a title="下载 unzip.php 解压工具" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,260/" target="_blank">unzip.php工具</a>解压到服务器端某个临时目录，再通过安装页面的第二个方法，即输入解压后的文件所在目录路径，然后点击“Install”进行安装。</p>
<p>有时候会发生安装了一半就出错，再次刷新页面进行安装时却发现提示“xxxx文件夹已存在”。这是因为前面那个半途而废的安装过程已经创建了同名目录。这时，必须通过<a title="下载Joomla的后台资源管理器组件JoomlaXplorer" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,140/" target="_blank">JoomlaXplorer</a>或者FTP手动将该文件夹删除。注意：如果是组件，一般会在两个地方创建目录，一个是 /components ，一个是 /administrtator/components，前者功能是管理前台界面，后者是该组件的后台设置页面。</p>
<p>有时候会发生安装某个压缩包时提示没有找到 .xml 文件。这个 .xml 文件就是安装命令文件。里面详细记录了某个程序文件应该安装到哪里。发生这种情况时，我估计该扩展或者模板作者忘记包含.xml文件的可能性很小。一般都是因为打包时多压缩了一层文件夹，而Joomla只在压缩包的根目录及第一层目录下寻找 .xml 文件。</p>
<p><span style="line-height: normal; font-size: small;"><a href="http://www.52joomla.com/wp-content/uploads/2010/05/joomla2.jpg" rel="lightbox[1368]"><img class="alignnone size-full wp-image-1371" title="joomla2" src="http://www.52joomla.com/wp-content/uploads/2010/05/joomla2.jpg" alt="" width="200" /></a></span></p>
<p>如上图所示，这时 <a href="http://www.52joomla.com/joomla-extensions/joomla-custom-forms-component-rsform-pro.html" target="_blank">Rsform Pro组件</a> 的安装包内容。</p>
<h2>Joomla的菜单</h2>
<p>几乎每一个网站都有菜单（menu）。菜单的存在主要是为了内容导航（navigation），以免访客找不到网站结构，转晕了。当然，菜单同时也有利于网站的人性化服务，据专家计算，如果访客在网站找到他想要的目标内容需要点击鼠标超过3次，那么该网站就不够合理。当然，现在某些下载网站要求访客一次又一次点击广告才能看到下载链接的做法已经超出了“合理”的范畴，那应该是RPWT。</p>
<p>在传统静态网站，建立菜单比较费劲，但是其本质比较简单——一个指向目标页面的链接（Link）而已。在Joomla世界，菜单仍然是一个链接，但是Joomla的术语称之为“菜单项（目)”（menu item）。用户得到的实惠是，在Joomla中建立菜单更容易。我们几乎不需要记忆目标页面的URL，也不需要手动编辑 &lt;a&gt; 链接标记。</p>
<p>登录到网站后台，就可以看到在顶部菜单上有一个menu，这就是“菜单管理器”。里面默认列出了mainmenu、topmenu、usermenu和othermenu四个菜单。每一个菜单实际上对应一个模块，你在后台的模块列表中应该能看到相应的模块名称。这是因为菜单的功能用模块就能做到。</p>
<p>点击菜单管理器中的某个菜单名称，就打开了其内容。每一个菜单上，都列有若干菜单项。如果要隐藏某个菜单项，只需要在该菜单项名称前面的方框中点击选中，然后点击顶部工具栏右侧的“unpublish”（取消发布），该菜单项就从前台消失了，但仍然存在于后台。假如你以后不会再有需要该菜单项显示，那么可以在选中之后直接点击“Delete”（删除）按钮将其删除。当然，你还可以调整各个菜单项的显示顺序。</p>
<p>最令新人痛苦的就是“创建”菜单项。点击工具栏上的“New”按钮之后，出现的“菜单类型”页面有很多选项，一时不知道应该怎样选择。在这里向大家解释一下几个主要的Joomla自带选项：</p>
<ol>
<li>Internal Link - Articles，它包含了很多个子选项，都是对网站文章内容进行操作。其中：Archived Article List是创建一个列出归档文章列表的菜单；Article Layout是创建一个显示单篇文章的菜单，或者可以理解为创建一个链接到一个单页面的菜单；Article Submission Layout能创建一个允许用户提交文章的菜单，如果要使用它，请你务必注意设置好权限；Category Blog Layout创建一个基于分类的博客列表，这是Joomla中非常重要的一个菜单项，它可以为你创建一个类似于博客文章列表（列表中允许包含文章标题以及部分或全部文章内容）的菜单；Category List Layout是创建一个基于分类的文章列表，它可以为你创建一个简单的文章列表，列表中不包含文章内容；Front Page Blog Layout是创建一个博客类型的首页，通过查看Joomla默认的mainmenu中的home菜单你应该就可以理解了；Section Blog Layout同Category Blog Layout功能一样，但它是为你创建一个基于单元的博客列表；Section Layout是创建一个列出所有该单元下分类的列表。</li>
<li>Internal Link - Contacts，它能为你创建一个基于Contacts组件的菜单，如果你在Contacts组件中设置好了联系信息，可以创建一个Contacts菜单。</li>
<li>Internal Link - News Feeds，可以为你创建订阅列表。</li>
<li>Internal Link &#8211; Polls，与投票组件配合使用，创建一个进入投票的菜单。</li>
<li>Internal Link &#8211; Users，一个与用户相关的菜单选项，这也是Joomla中相对重要的一个菜单项。其中：Default Login Layout顾名思义，是为你创建一个登陆页面；Default Registration Layout创建一个会员注册页面；Default Reset Layout，创建一个让用户可以重设密码的页面；Default User Layout，创建一个用于显示用户个人信息的页面；User Form Layout，创建一个允许用户修改个人信息的页面。</li>
</ol>
<h2>Joomla的模板</h2>
<p>Joomla从一诞生就决定使用内容与外观分离的模式来建造网站。这也是web 2.0的定义之一。这样有利于随时更换不同风格的外观，就如同人类换衣服，而内容不受影响——不管你西装革履还是长袍短褂，内核不会改变，从而功能也不受影响。</p>
<p>一般来说，如果把网站的前台页面用隐形的线划分为一个“井”字形，那么left在左，right在右，header在上，footer在下，而中间那一块最大的面积，就是mainbody。这就是为什么要实现复杂的功能，比如建造一个阿里巴巴那样的B2B黄页，或者淘宝那样的C2C卖场，就必须编写成组件而不是模块，因为组件的内容展示在mainbody区域。</p>
<p>如果你希望自己的网站看起来鲜艳夺目，或者结构美观，或者光怪陆离，甚至每一页都不同，那么你尽管放心，完全能做到。只不过，这与Joomla的内核无关。这纯属模板设计范围。</p>
<p>对于新手来说，尤其是不懂平面设计、不懂CSS的新手来说，想要建造一个漂亮的网站几乎是不可能的。然而几乎每个新手安装完Joomla的第一件事就是：我希望我的网站是这样、这样、这样的外观。</p>
<p>所谓内行看门道，外行看热闹，普通群众评价一个网站的优劣主要是外观，其次是内容，再其次是服务。可见不仅人的脸蛋很重要，网站的脸面也不能马虎。当然了，不可能每个人都是设计高手。所以才有了<a title="前往RocketTheme网站购买专业的Joomla模板" rel="nofollow" href="http://www.rockettheme.com/aff/index.php?ref=955" target="_blank">RocketTheme</a>、<a href="http://www.JoomlArt.com" target="_blank">JoomlArt</a>、<a href="http://www.yootheme.com/" target="_blank">YOOtheme</a>、<a href="http://www.TemplatePlazza.com" target="_blank">TemplatePlazza</a>、<a href="http://www.Gavick.com" target="_blank">Gavick</a>、<a href="http://www.JoomlaPraise.com" target="_blank">JoomlaPraise</a>、<a href="http://www.IceTheme.com" target="_blank">IceTheme</a>、<a href="http://www.Shape5.com" target="_blank">Shape5</a>、<a href="http://www.JoomlaBamboo.com" target="_blank">JoomlaBamboo</a>这样的专业模板设计公司，他们的模板卖的非常不错，当然价格也不菲。如果你自己不懂设计又想用到漂亮的模板，我建议你<a title="从从52Joomla下载免费的Joomla模板" href="http://www.52joomla.com/joomla-templates" target="_blank">下载免费的Joomla模板</a>。</p>
<p>Joomla的模板安装与扩展安装一样。</p>
<p>还有许多内容，无法在此一一解释。我想，最有效的认识途径就是亲自尝试一下。Joomla新手如果担心损坏网站，可以在本机上安装测试服务器进行测试。</p>
<p>如果你很认真的将本文读完并且亲自动手去尝试了一番，我想，你应该会对Joomla有更深层次的了解。</p>
<p>最后，感谢Joomla之门提供的原稿以及您的阅读。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-3-deep-understanding-of-joomla-cms.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>给Joomla初学者[二]：安装Joomla1.5</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-2-installation-joomla1-5.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-2-installation-joomla1-5.html#comments</comments>
		<pubDate>Wed, 26 May 2010 10:01:40 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla初学者教程]]></category>
		<category><![CDATA[安装Joomla]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1354</guid>
		<description><![CDATA[本文转自我爱网，由52Joomla!编辑。 本文主要讲如何安装joomla!简体中文版程序（以Joomla1.5.15为例） 1、将joomla!1.5.15简体中文版程序解压在XAMPP的htdocs文件夹中，如D:\XAMPP\htdocs\joomla1517，如下图： 2、打开IE浏览器或其它浏览器都行，输入http://localhost/phpmyadmin，输入密码点击[执行]建个数据库名称，如下图： 输入数据库名称点击创建，此时数据库已建好，请记住数据库名称到后面要用。将phpmyadmin关闭,如下图: 3、在浏览器输入http://localhost/joomla1517出现joomla!安装面板，选择安装使用的语言，你可以选择中国然后点击下一步，如下图： 4、检查服务器环境，如果没问题你就点击下一步即可，如下图： 5、这一步是关于协议问题你可不用理会直接点击下一步，如下图： 6、到这步比较关键，要设置几个选项数据库类型，数据库用户名，数据库密码等，不懂的你可以按一步步照搬即可，如下图： 7、如果你的空间可支持ftp你就可以对此进行设置，如果没有就直接点击下一步，如下图： 8、将设置你网站的相关信息，设置网站名称,与会员联系的Email地址以及后台登入用的密码(设置的密码请记住,等登入后台的时候要用很重要.)初学者建议点击安装网站示例内容可以让你进一步的了解joomla!,填完选项之后点击下一步，如下图： 到此joomla!建站程序基本安装完成。 9、最后一步也相对关键如上图提示，就是回到Joomla的安装目录，如D:\XAMPP\htdocs\joomla，将installation文件夹删除，要不然无法正常登入你刚才建立的网站，一切都完成后，你可以在浏览器输入http://localhost/joomla1517就可以访问你的网站。如下图： 网站前台截图: 10、你要上传或添加文章以及安装扩展等,你可以在浏览器输入http://localhost/joomla1517/administrator,填入用户名和密码（用户名默认是admin,密码是你刚才安装joomla程序所设置的密码），用户名和密码登入后台后可修改，如下图： 网站后台截图: 进入后台截图: joomla!1.5.15简体中文版刚进入后台的时候可能会出现一个读取feed资料错误的提示，而且登入反应较慢，登入后台后你可以进入扩展&#8211;模块管理&#8211;管理后台，将Joomla! 安全性新闻联播这个选项禁用就不会出现那个问题了。 在这里祝大家安装成功，使用愉快，有问题大家可以提出，或者去我爱网讨论！]]></description>
			<content:encoded><![CDATA[<p>本文转自<a href="http://www.5aiwang.cn/" target="_blank">我爱网</a>，由52Joomla!编辑。</p>
<p>本文主要讲如何安装joomla!简体中文版程序（以Joomla1.5.15为例）</p>
<p>1、将joomla!1.5.15简体中文版程序解压在XAMPP的htdocs文件夹中，如D:\XAMPP\htdocs\joomla1517，如下图：</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1517.jpg" rel="lightbox[1354]"><img class="alignnone size-full wp-image-1355" title="joomla1517" src="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1517.jpg" alt="" width="200" height="113" /></a><span id="more-1354"></span></p>
<p>2、打开IE浏览器或其它浏览器都行，输入http://localhost/phpmyadmin，输入密码点击[执行]建个数据库名称，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla002.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla002.png" border="0" alt="心得感悟" width="200" height="172" /></a></p>
<p>输入数据库名称点击创建，此时数据库已建好，<span style="color: #ff0000;">请记住数据库名称到后面要用</span>。将phpmyadmin关闭,如下图:</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla003.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla003.png" border="0" alt="心得感悟" width="200" height="95" /></a></p>
<p>3、在浏览器输入http://localhost/joomla1517出现joomla!安装面板，选择安装使用的语言，你可以选择中国然后点击下一步，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla004.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla004.png" border="0" alt="心得感悟" width="200" height="97" /></a></p>
<p>4、检查服务器环境，如果没问题你就点击下一步即可，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla005.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla005.png" border="0" alt="心得感悟" width="200" height="102" /></a></p>
<p>5、这一步是关于协议问题你可不用理会直接点击下一步，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla006.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla006.png" border="0" alt="心得感悟" width="200" height="94" /></a></p>
<p>6、到这步比较关键，要设置几个选项数据库类型，数据库用户名，数据库密码等，不懂的你可以按一步步照搬即可，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla007.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla007.png" border="0" alt="心得感悟" width="200" height="96" /></a></p>
<p>7、如果你的空间可支持ftp你就可以对此进行设置，如果没有就直接点击下一步，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla008.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla008.png" border="0" alt="心得感悟" width="200" height="94" /></a></p>
<p>8、将设置你网站的相关信息，设置网站名称,与会员联系的Email地址以及后台登入用的密码(设置的密码请记住,等登入后台的时候要用很重要.)初学者建议点击<span style="color: #ff0000;">安装网站示例内容</span>可以让你进一步的了解joomla!,填完选项之后点击下一步，如下图：</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla009.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla009.png" border="0" alt="心得感悟" width="200" height="90" /></a></p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla010.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla010.png" border="0" alt="心得感悟" width="200" height="94" /></a></p>
<p>到此joomla!建站程序基本安装完成。</p>
<p>9、最后一步也相对关键如上图提示，就是回到Joomla的安装目录，如D:\XAMPP\htdocs\joomla，将installation文件夹删除，要不然无法正常登入你刚才建立的网站，一切都完成后，你可以在浏览器输入http://localhost/joomla1517就可以访问你的网站。如下图：</p>
<p><a href="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1517-1.jpg" rel="lightbox[1354]"><img class="alignnone size-full wp-image-1356" title="joomla1517-1" src="http://www.52joomla.com/wp-content/uploads/2010/05/joomla1517-1.jpg" alt="" width="200" height="113" /></a></p>
<p>网站前台截图:</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla012.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla012.png" border="0" alt="心得感悟" width="200" height="99" /></a></p>
<p>10、你要上传或添加文章以及安装扩展等,你可以在浏览器输入http://localhost/joomla1517/administrator,填入用户名和密码（用户名默认是admin,密码是你刚才安装joomla程序所设置的密码），<span style="color: #ff0000;">用户名和密码</span>登入后台后可修改，如下图：</p>
<p>网站后台截图:</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla013.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla013.png" border="0" alt="心得感悟" width="200" height="150" /></a></p>
<p>进入后台截图:</p>
<p><a href="http://www.5aiwang.cn/images/xdgw/azjoomla014.png" target="_blank" rel="lightbox[1354]"><img title="点击放大" src="http://www.5aiwang.cn/images/xdgw/azjoomla014.png" border="0" alt="心得感悟" width="200" height="122" /></a><br />
joomla!1.5.15简体中文版刚进入后台的时候可能会出现一个<span style="color: #ff0000;">读取feed资料错误</span>的提示，而且登入反应较慢，登入后台后你可以进入扩展&#8211;模块管理&#8211;管理后台，将<span style="color: #ff0000;">Joomla! 安全性新闻联播</span>这个选项禁用就不会出现那个问题了。</p>
<p>在这里祝大家安装成功，使用愉快，有问题大家可以提出，或者去<a href="http://www.5aiwang.cn/community.html" target="_blank">我爱网</a>讨论！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-2-installation-joomla1-5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>给Joomla初学者[一]：安装Joomla之前的准备工作</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-1-preparation-prior-to-installation-of-joomla.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-1-preparation-prior-to-installation-of-joomla.html#comments</comments>
		<pubDate>Wed, 26 May 2010 09:40:31 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Joomla初学者教程]]></category>
		<category><![CDATA[notpad]]></category>
		<category><![CDATA[安装Joomla]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1349</guid>
		<description><![CDATA[一直比较注重Joomla相关资源，忽略了一些初学Joomla的朋友，导致现在网站内没有什么能够比较初步了解Joomla的内容，所以特在网络上收集了一些，发布在这里给初学Joomla的朋友参考（部分文章时代比较久远，可能会有部分被修改）。 给Joomla初学者[一]：安装Joomla之前的准备（本文转自Joomla之门，由52Joomla!编辑） 一、软件准备 为了便于更好的进行Joomla研究，可能还需要下列软件： 一个好用的浏览器，推荐使用免费的FireFox 一个FTP客户端软件，推荐使用免费的FileZilla 一个好用文本编辑器，推荐使用开源的Notepad++ 一个压缩解压软件，推荐使用开源的7-zip 一个简单的图片处理软件，推荐使用免费的Paint.Net 中文版 网上即时通讯工具，以便与Joomla同道进行交流，传送文件，推荐使用QQ和Skype 选择一个适合自己计划的核心：最新的Joomla1.5.17 （可选）一个本地测试服务器集成版，推荐使用XAMPP（如果对本地测试没有兴趣就不必下载了），下载后用7-zip 解压到电脑上某个位置。 二、网络帐号准备 注册一个自己喜欢的顶级域名，或者免费的二级域名（如果只是本地测试就不必了） 购买一个速度较好的php空间（注意：跟空间提供商确认必须拥有至少20MB的MySQL数据库，.htaccess使用权限，以及FTP或SSH功能） 拿到空间提供商给你的网站IP地址，数据库帐号，FTP地址及帐号 在域名注册商给你的控制面板中操作，将你的域名指向已购买的空间的IP地址 （可选）如果想在网站开通企业邮局，那么还要操作mail服务器的IP指向（具体方法见企业邮局提供者的说明文档） 三、网站内容准备 以下内容对于网站的优化非常重要，如果你想要自己的网站在搜索引擎中排名靠前，就认真做好： 想好网站使用什么样的名称（不要笑，有人就是安装快完成的时候才猴急猴急地想名字） 给网站撰写一段100字左右的中文描述（如果是英文网站就使用英文描述），这段描述将用于填写网站的meta description 为网站挑选5个关键词，这5个词要求能够完全适用于网站的任何页面。这几个关键词将用于填写网站的meta keyword。 （可选）想好网站需要哪些主要功能（板块），新闻或者文章系统准备分几个类别，插图准备用多大，论坛准备设置哪些版块，网站外观布局使用什么样式 四、其他注意事项 一般新买的域名在进行IP指向（域名解析）操作后，最长6个小时才能生效，也有较快的可以即刻生效。判断方法是，用FTP软件给网站根目录上传一个文件，比如上面提到的unzip.php文件，然后通过浏览器输入你网站的域名来访问这个文件，比如：http://www.tcmbook.net/unzip.php ，如果能够打开该文件，则说明已经指向成功，如果不能打开，很可能还要再等一等。 上面提到的“网站的根目录”指web访问的根目录，通常情况下，这个目录跟你的FTP远程根目录并不是同一个，鉴于空间提供商设置网站根目录的习惯不同，有可能是FTP中看到的 /www、/wwwroot、/public_html、/htdocs，或者 /root 等，少部分空间用FTP登录后，其根目录就是网站的web根目录。 国外的某些空间如DreamHost提供Fantastico自动安装服务，可以自动给你安装最新的Joomla 英文原版的安装包并解压，你可以在本站下载到Joomla1.5.17简体中文语言包。 Ravenswood服务器包含的MySQL版本较低，为4.0，如果要测试vTiger CRM等开源程序就不够了（vTiger要求MySQL 4.1以上），如果你是熟练用户，建议使用XAMPP服务器集成版。 请自行研究本文涉及的软件或程序的使用方法，如有任何疑问或心得，你可以在文章评论区提出，或者你还可以去Joomla之门论坛讨论。 现在，我们基本上做好了安装Joomla的准备，下面我们会发布Joomla1.5的详细安装方法。]]></description>
			<content:encoded><![CDATA[<p>一直比较注重Joomla相关资源，忽略了一些初学Joomla的朋友，导致现在网站内没有什么能够比较初步了解Joomla的内容，所以特在网络上收集了一些，发布在这里给初学Joomla的朋友参考（部分文章时代比较久远，可能会有部分被修改）。</p>
<p>给Joomla初学者[一]：安装Joomla之前的准备（本文转自<a href="http://www.joomlagate.com/article/joomla-basic/deep-into-joomla-cms-extensions-menus-and-templates/" target="_blank">Joomla之门</a>，由52Joomla!编辑）<span id="more-1349"></span></p>
<h3>一、软件准备</h3>
<p>为了便于更好的进行Joomla研究，可能还需要下列软件：</p>
<ol>
<li>一个好用的浏览器，推荐使用免费的<a title="前往FireFox官方下载" rel="nofollow" href="http://www.mozillaonline.com/" target="_blank">FireFox</a></li>
<li>一个FTP客户端软件，推荐使用免费的<a title="下载开源FTP软件 FileZilla" href="http://www.joomlagate.com/component/option,com_remository/Itemid,26/func,fileinfo/id,230/" target="_blank">FileZilla</a></li>
<li>一个好用文本编辑器，推荐使用开源的<a title="download open source text editor Notepad++ Chinese version" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,1034/" target="_blank">Notepad++</a></li>
<li>一个压缩解压软件，推荐使用开源的<a title="download open source archive tool 7-zip Chinese version" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,1028/" target="_blank">7-zip</a></li>
<li>一个简单的图片处理软件，推荐使用免费的<a title="下载图片处理软件 Paint.Net" href="http://www.joomlagate.com/component/option,com_remository/Itemid,26/func,fileinfo/id,238/" target="_blank">Paint.Net 中文版</a></li>
<li>网上即时通讯工具，以便与Joomla同道进行交流，传送文件，推荐使用QQ和Skype</li>
<li>选择一个适合自己计划的核心：最新的<a href="http://www.52joomla.com/joomla-templates/joomla-software/official-yesterday-issued-joomla1-5-17.html">Joomla1.5.17</a></li>
<li>（可选）一个本地测试服务器集成版，推荐使用<a href="http://www.apachefriends.org/zh_cn/xampp.html" target="_blank">XAMPP</a>（如果对本地测试没有兴趣就不必下载了），下载后用<a title="download open source archive tool 7-zip Chinese version" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,1028/" target="_blank"><span style="color: #0000ff;">7-zip</span></a> 解压到电脑上某个位置。</li>
</ol>
<h3>二、网络帐号准备</h3>
<ol>
<li>注册一个自己喜欢的顶级域名，或者免费的二级域名（如果只是本地测试就不必了）</li>
<li>购买一个速度较好的php空间（注意：跟空间提供商确认必须拥有至少20MB的MySQL数据库，.htaccess使用权限，以及FTP或SSH功能）</li>
<li>拿到空间提供商给你的网站IP地址，数据库帐号，FTP地址及帐号</li>
<li>在域名注册商给你的控制面板中操作，将你的域名指向已购买的空间的IP地址</li>
<li>（可选）如果想在网站开通企业邮局，那么还要操作mail服务器的IP指向（具体方法见企业邮局提供者的说明文档）</li>
</ol>
<h3>三、网站内容准备</h3>
<p>以下内容对于网站的优化非常重要，如果你想要自己的网站在搜索引擎中排名靠前，就认真做好：</p>
<ol>
<li>想好网站使用什么样的名称（不要笑，有人就是安装快完成的时候才猴急猴急地想名字）</li>
<li>给网站撰写一段100字左右的中文描述（如果是英文网站就使用英文描述），这段描述将用于填写网站的meta description</li>
<li>为网站挑选5个关键词，这5个词要求能够完全适用于网站的任何页面。这几个关键词将用于填写网站的meta keyword。</li>
<li>（可选）想好网站需要哪些主要功能（板块），新闻或者文章系统准备分几个类别，插图准备用多大，论坛准备设置哪些版块，网站外观布局使用什么样式</li>
</ol>
<h3>四、其他注意事项</h3>
<ol>
<li>一般新买的域名在进行IP指向（域名解析）操作后，最长6个小时才能生效，也有较快的可以即刻生效。判断方法是，用FTP软件给网站根目录上传一个文件，比如上面提到的unzip.php文件，然后通过浏览器输入你网站的域名来访问这个文件，比如：<a rel="nofollow" href="http://www.tcmbook.net/unzip.php" target="_blank">http://www.tcmbook.net/unzip.php</a> ，如果能够打开该文件，则说明已经指向成功，如果不能打开，很可能还要再等一等。</li>
<li>上面提到的“网站的根目录”指web访问的根目录，通常情况下，这个目录跟你的FTP远程根目录并不是同一个，鉴于空间提供商设置网站根目录的习惯不同，有可能是FTP中看到的 /www、/wwwroot、/public_html、/htdocs，或者 /root 等，少部分空间用FTP登录后，其根目录就是网站的web根目录。</li>
<li>国外的某些空间如DreamHost提供Fantastico自动安装服务，可以自动给你安装最新的Joomla 英文原版的安装包并解压，你可以在本站下载到<a href="http://www.52joomla.com/joomla-templates/joomla-software/official-yesterday-issued-joomla1-5-17.html">Joomla1.5.17简体中文语言包</a>。</li>
<li>Ravenswood服务器包含的MySQL版本较低，为4.0，如果要测试vTiger CRM等开源程序就不够了（vTiger要求MySQL 4.1以上），如果你是熟练用户，建议使用<a title="download XAMPP server package" href="http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,582/" target="_blank">XAMPP</a>服务器集成版。</li>
<li>请自行研究本文涉及的软件或程序的使用方法，如有任何疑问或心得，你可以在文章评论区提出，或者你还可以去<a href="http://www.joomlagate.com/index.php?Itemid=31&amp;option=com_smf&amp;view=forum" target="_blank">Joomla之门论坛</a>讨论。</li>
</ol>
<p>现在，我们基本上做好了安装Joomla的准备，下面我们会发布Joomla1.5的详细安装方法。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/for-joomla-beginners-1-preparation-prior-to-installation-of-joomla.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla加速 &#8211; 移除mootools.js和caption.js</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla-speed-remove-mootools-js-and-caption-js.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla-speed-remove-mootools-js-and-caption-js.html#comments</comments>
		<pubDate>Wed, 28 Apr 2010 06:40:16 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[caption.js]]></category>
		<category><![CDATA[mootools.js]]></category>
		<category><![CDATA[加速]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1282</guid>
		<description><![CDATA[在模板index.php文件中&#60;head&#62;之后加入以下代码： &#60;?php // Remove mootool sripts for guest and registered $user =&#38; JFactory::getUser(); if ($user-&#62;get(&#8216;guest&#8217;) == 1 or $user-&#62;usertype == &#8217;Registered&#8217;) { $headerstuff = $this-&#62;getHeadData(); $headerstuff['scripts'] = array(); $this-&#62;setHeadData($headerstuff); } ?&#62; PS：如果需要使用类似Phoca Gallery的图库扩展，则不能移除mootools.js文件。]]></description>
			<content:encoded><![CDATA[<p>在模板index.php文件中&lt;head&gt;之后加入以下代码：</p>
<p>&lt;?php<br />
// Remove mootool sripts for guest and registered<br />
$user =&amp; JFactory::getUser();<br />
if ($user-&gt;get(&#8216;guest&#8217;) == 1 or $user-&gt;usertype == &#8217;Registered&#8217;) {<br />
$headerstuff = $this-&gt;getHeadData();<br />
$headerstuff['scripts'] = array();<br />
$this-&gt;setHeadData($headerstuff);<br />
}<br />
?&gt;</p>
<p>PS：如果需要使用类似Phoca Gallery的图库扩展，则不能移除mootools.js文件。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla-speed-remove-mootools-js-and-caption-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Joomla文章中显示带标题的上下篇导航</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/shown-in-the-joomla-article-with-a-title-on-the-next-navigation.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/shown-in-the-joomla-article-with-a-title-on-the-next-navigation.html#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:55:52 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla插件]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[上下篇导航]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1168</guid>
		<description><![CDATA[打开Joomla根目录下：/plugins/content/pagenavigation.php. 找到第 109 行 $query = 'SELECT a.id,' 替换为： $query = 'SELECT a.id,a.title,' 第 153 行 $row-&#62;prev = JRoute::_('index.php?option=com_content&#38;view=article&#38;catid ='.$row-&#62;prev-&#62;catslug.'&#38;id='.$row-&#62;prev-&#62;slug); 替换为： $row-&#62;prevTitle=$row-&#62;prev-&#62;title; $row-&#62;prev = JRoute::_('index.php?option=com_content&#38;view=article&#38;catid ='.$row-&#62;prev-&#62;catslug.'&#38;id='.$row-&#62;prev-&#62;slug); 第 159行 $row-&#62;next = JRoute::_('index.php?option=com_content&#38;view=article&#38;catid ='.$row-&#62;next-&#62;catslug.'&#38;id='.$row-&#62;next-&#62;slug); 替换为： $row-&#62;nextTitle=$row-&#62;next-&#62;title; $row-&#62;next = JRoute::_('index.php?option=com_content&#38;view=article&#38;catid ='.$row-&#62;next-&#62;catslug.'&#38;id='.$row-&#62;next-&#62;slug); 第 177 行 . JText::_( '&#60;' ) . $pnSpace . JText::_( 'Prev' ) . '&#60;/a&#62; 替换为： .$row-&#62;prevTitle. [...]]]></description>
			<content:encoded><![CDATA[<p>打开Joomla根目录下：/plugins/content/pagenavigation.php.</p>
<ol>
<li>找到第 109 行</li>
<blockquote>
<pre>$query = 'SELECT a.id,'</pre>
<p>替换为：</p>
<pre>$query = 'SELECT a.id,a.title,'</pre>
</blockquote>
<p>第 153 行<span id="more-1168"></span></p>
<li>
<pre> $row-&gt;prev = JRoute::_('index.php?option=com_content&amp;view=article&amp;catid
='.$row-&gt;prev-&gt;catslug.'&amp;id='.$row-&gt;prev-&gt;slug);</pre>
<p>替换为：</p>
<pre>  $row-&gt;prevTitle=$row-&gt;prev-&gt;title;
    $row-&gt;prev = JRoute::_('index.php?option=com_content&amp;view=article&amp;catid
='.$row-&gt;prev-&gt;catslug.'&amp;id='.$row-&gt;prev-&gt;slug);</pre>
</li>
<li>第 159行
<pre>$row-&gt;next = JRoute::_('index.php?option=com_content&amp;view=article&amp;catid
='.$row-&gt;next-&gt;catslug.'&amp;id='.$row-&gt;next-&gt;slug);</pre>
<p>替换为：</p>
<pre>$row-&gt;nextTitle=$row-&gt;next-&gt;title;
$row-&gt;next = JRoute::_('index.php?option=com_content&amp;view=article&amp;catid
='.$row-&gt;next-&gt;catslug.'&amp;id='.$row-&gt;next-&gt;slug);
</pre>
</li>
<li>第 177 行
<pre> . JText::_( '&lt;' ) . $pnSpace . JText::_( 'Prev' ) . '&lt;/a&gt;</pre>
<p>替换为：</p>
<pre> .$row-&gt;prevTitle. JText::_( '&lt;' ) . $pnSpace . JText::_( 'Prev' ) . '&lt;/a&gt;</pre>
</li>
<li>第 196行
<pre>. JText::_( 'Next' ) . $pnSpace . JText::_( '&gt;' ) .'&lt;/a&gt;</pre>
<p>替换为：</p>
<pre>. JText::_( 'Next' ) . $pnSpace . JText::_( '&gt;' ).$row-&gt;nextTitle .'&lt;/a&gt;</pre>
</li>
</ol>
<p>或者你可以下载这个PageNav插件将Joomla自带插件进行替换（不推荐）。</p>
<p>点击下载：<a href="/wp-content/uploads/joomla/joomla-extensions/joomla-Plugins/pageNav.zip">pageNav.zip</a></p>
<p>寻找更多相关插件：<a href="http://extensions.joomla.org/extensions/search/page+navigation" target="_blank">http://extensions.joomla.org/extensions/search/page+navigation</a></p>
<p>另外，必须启用Joomla系统自带的Page Navigation插件以及将文章显示参数中的页面导航选项启用。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/shown-in-the-joomla-article-with-a-title-on-the-next-navigation.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Joomla后台菜单无法工作的解决办法</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla-can-not-work-the-menu-background-solution.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla-can-not-work-the-menu-background-solution.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 05:47:13 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[后台]]></category>
		<category><![CDATA[无法工作]]></category>
		<category><![CDATA[菜单]]></category>
		<category><![CDATA[解决办法]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1085</guid>
		<description><![CDATA[在将本地的Joomla网站上传至服务器上，或者是站点服务器转移之后，经常会遇到管理菜单栏中的下拉菜单无法工作的问题。以下是几种解决方案： 检查后台目录的名称，是否将&#8221;administrator&#8221;写成了&#8221;Administrator&#8221;。 检查Joomla根目录下的media文件夹的权限，将其设置为775。 检查media文件夹内的文件是否完整，可以将media文件夹重新上传。]]></description>
			<content:encoded><![CDATA[<p>在将本地的Joomla网站上传至服务器上，或者是站点服务器转移之后，经常会遇到管理菜单栏中的下拉菜单无法工作的问题。以下是几种解决方案：</p>
<p><span id="more-1085"></span></p>
<ol>
<li>检查后台目录的名称，是否将&#8221;administrator&#8221;写成了&#8221;Administrator&#8221;。</li>
<li>检查Joomla根目录下的media文件夹的权限，将其设置为775。</li>
<li>检查media文件夹内的文件是否完整，可以将media文件夹重新上传。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla-can-not-work-the-menu-background-solution.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla中判断用户是否登录</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla-to-determine-whether-the-user-logged-in.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla-to-determine-whether-the-user-logged-in.html#comments</comments>
		<pubDate>Sat, 23 Jan 2010 06:16:32 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[判断]]></category>
		<category><![CDATA[登录]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=1075</guid>
		<description><![CDATA[&#60;?php if (isset($_SESSION['auth']["username"])) { echo “Welcome &#60;a href=’index.php?option=com_user&#38;view=user&#38;task=edit’&#62;” . $_SESSION['auth']["username"] . “&#60;/a&#62;!”; } else { echo “&#60;a href=’index.php?option=com_user&#38;view=login’&#62;Log in&#60;/a&#62;”; } ?&#62;]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
if (isset($_SESSION['auth']["username"]))<br />
{ echo “Welcome &lt;a href=’index.php?option=com_user&amp;view=user&amp;task=edit’&gt;” . $_SESSION['auth']["username"] . “&lt;/a&gt;!”; }<br />
else<br />
{ echo “&lt;a href=’index.php?option=com_user&amp;view=login’&gt;Log in&lt;/a&gt;”; }<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla-to-determine-whether-the-user-logged-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtuemart在网站迁移后的设置</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/virtuemartzaiwangzhanqianyihoudeshezhi.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/virtuemartzaiwangzhanqianyihoudeshezhi.html#comments</comments>
		<pubDate>Fri, 11 Dec 2009 09:48:24 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[virtuemart]]></category>
		<category><![CDATA[网站]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=711</guid>
		<description><![CDATA[Virtuemart是Joomla的商城组件，在Joomla迁移后，需要更改一下virtuemart.cfg.php其中的网站地址：virtuemart.cfg.php在administrator\components\com_virtuemart目录下： 大概在第34行 代码： // these path and url definitions here are based on the Joomla! Configurationdefine( &#8216;URL&#8217;, &#8216;http://localhost/&#8217; );define( &#8216;SECUREURL&#8217;, &#8216;http://localhost/&#8217; ); 将localhost改为新的网址，否则Virtuemart打不开！！！]]></description>
			<content:encoded><![CDATA[<p>Virtuemart是Joomla的商城组件，在Joomla迁移后，需要更改一下virtuemart.cfg.php其中的网站地址：<br style="padding: 0px; margin: 0px;" />virtuemart.cfg.php在administrator\components\com_virtuemart目录下：<br />
大概在第34行<br />
代码：<span id="more-711"></span><br />
// these path and url definitions here are based on the Joomla! Configuration<br style="padding: 0px; margin: 0px;" />define( &#8216;URL&#8217;, &#8216;http://localhost/&#8217; );<br style="padding: 0px; margin: 0px;" />define( &#8216;SECUREURL&#8217;, &#8216;http://localhost/&#8217; );</p>
<p>将localhost改为新的网址，否则Virtuemart打不开！！！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/virtuemartzaiwangzhanqianyihoudeshezhi.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>帮你提高Joomla!的网站安全性能</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/bangnitigaojoomladewangzhananquanxingneng.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/bangnitigaojoomladewangzhananquanxingneng.html#comments</comments>
		<pubDate>Wed, 09 Dec 2009 03:13:09 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomla安全]]></category>
		<category><![CDATA[joomla性能]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=684</guid>
		<description><![CDATA[修改默认的 jos_ 数据表前缀 以管理员身份登录到 Joomla！ 后台； 进入“全局设置”（global configuration），找到“数据库”标签页，修改原来的数据表前缀 jos_ 为新的前缀（例如：fdasqw_），然后点击“保存”；通过 phpMyAdmin 访问你的网站数据库； 点击“导出”（export）标签页，所有参数保持默认值，直接点击“执行”按钮。导出过程可能需要一点时间；导出完成后，打开得到的 SQL 文件，选择全部代码并复制，然后粘贴到文本编辑器（例如：Notepad++）；从 phpMyAdmin 中选择你数据库中的全部数据表，删除它们；在 Notepad++ 中，利用“查找替换”功能，将全部 jos_ 字串替换为刚才设置的新前缀（fdasqw_）；完成替换后，复制全部代码。进入 phpMyAdmin，点击 SQL 标签页，将这些代码粘贴到输入框，然后点击“执行”按钮。去掉第三方扩展的名称及版本号大多数安全漏洞只存在于特定扩展的特定版本中。因此，为了防止黑客根据扩展名称及版本号来迅速寻找“肉机”，就有必要去掉网站前台显示的第三方扩展的名称及版本号。有些开发人员会在后台参数中留下“是否显示作者版权链接”的选项，对于这些扩展，我们选择“否”即可；大多数第三方扩展的作者都会在前台留下一个版权链接，里面含有该扩展的名称和版本号。去掉这些 hardcod 方式的版权链接的方法是：假设有一个 com_extension 扩展，将 /components/com_extension 目录复制到 PC 上，用 Notepad++ 打开其中一个 php 文件，然后使用“在多个文件中搜索”功能（勾选“搜索子目录”），搜索前台所显示的那个字串，找到之后直接从源代码中删除即可。使用 SEF 友好网址组件SEF 友好网址不仅有利于网站的搜索引擎优化（SEO），也有利于提高安全防护作用。原因是：如果不启用 SEF，则 Joomla！ 默认的页面 URL 中会含有第三方扩展的名称，如网址中 option=com_contact 这部分，这里 com_contact 就是“联系人管理”组件的名称。黑客当然不是通过肉眼来寻找 URL 里面的扩展名称，他们会使用 Google 搜索技巧中的 inurl 方法来快速寻找。推荐使用 Artio [...]]]></description>
			<content:encoded><![CDATA[<p><strong>修改默认的 jos_ 数据表前缀</strong><br />
以管理员身份登录到 Joomla！ 后台；<br />
进入“全局设置”（global configuration），找到“数据库”标签页，修改原来的数据表前缀 jos_ 为新的前缀（例如：fdasqw_），然后点击“保存”；通过 phpMyAdmin 访问你的网站数据库；<br />
点击“导出”（export）标签页，所有参数保持默认值，直接点击“执行”按钮。导出过程可能需要一点时间；<span id="more-684"></span><br style="outline-style: none; outline-width: initial; outline-color: initial;" />导出完成后，打开得到的 SQL 文件，选择全部代码并复制，然后粘贴到文本编辑器（例如：Notepad++）；<br style="outline-style: none; outline-width: initial; outline-color: initial;" />从 phpMyAdmin 中选择你数据库中的全部数据表，删除它们；<br style="outline-style: none; outline-width: initial; outline-color: initial;" />在 Notepad++ 中，利用“查找替换”功能，将全部 jos_ 字串替换为刚才设置的新前缀（fdasqw_）；<br style="outline-style: none; outline-width: initial; outline-color: initial;" />完成替换后，复制全部代码。进入 phpMyAdmin，点击 SQL 标签页，将这些代码粘贴到输入框，然后点击“执行”按钮。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>去掉第三方扩展的名称及版本号</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />大多数安全漏洞只存在于特定扩展的特定版本中。因此，为了防止黑客根据扩展名称及版本号来迅速寻找“肉机”，就有必要去掉网站前台显示的第三方扩展的名称及版本号。<br style="outline-style: none; outline-width: initial; outline-color: initial;" />有些开发人员会在后台参数中留下“是否显示作者版权链接”的选项，对于这些扩展，我们选择“否”即可；大多数第三方扩展的作者都会在前台留下一个版权链接，里面含有该扩展的名称和版本号。去掉这些 hardcod 方式的版权链接的方法是：<br style="outline-style: none; outline-width: initial; outline-color: initial;" />假设有一个 com_extension 扩展，将 /components/com_extension 目录复制到 PC 上，用 Notepad++ 打开其中一个 php 文件，然后使用“在多个文件中搜索”功能（勾选“搜索子目录”），搜索前台所显示的那个字串，找到之后直接从源代码中删除即可。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>使用 SEF 友好网址组件</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />SEF 友好网址不仅有利于网站的搜索引擎优化（SEO），也有利于提高安全防护作用。原因是：如果不启用 SEF，则 Joomla！ 默认的页面 URL 中会含有第三方扩展的名称，如网址中 option=com_contact 这部分，这里 com_contact 就是“联系人管理”组件的名称。<br style="outline-style: none; outline-width: initial; outline-color: initial;" />黑客当然不是通过肉眼来寻找 URL 里面的扩展名称，他们会使用 Google 搜索技巧中的 inurl 方法来快速寻找。<br style="outline-style: none; outline-width: initial; outline-color: initial;" />推荐使用 Artio JoomSEF，或者 sh404SEF，或者其它某个 SEF 组件来对 Joomla！ 默认的动态网址进行静态化重写，一方面隐藏了扩展名称，另一方面也增强了 SEO 效果。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>使用最新版本的 Joomla！ 核心及扩展</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />经常了解一下你正在使用的 Joomla！ 核心和第三方扩展是否有了新版本。如果有新版，就尽快升级。一般来说，新版本总是能够修复旧版的安全漏洞或功能 bug。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>给目录及文件设置正确的权限（CHMOD）</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />只有当某个脚本会写入到目录或文件时，才将该目录或文件的权限设置为 777 或 707。其它所有文件和目录的权限都应该设置如下：<br style="outline-style: none; outline-width: initial; outline-color: initial;" />PHP 文件：644<br style="outline-style: none; outline-width: initial; outline-color: initial;" />配置文件：666<br style="outline-style: none; outline-width: initial; outline-color: initial;" />其它目录：755<br style="outline-style: none; outline-width: initial; outline-color: initial;" />Joomla之门提示：这里所说的 CHMOD 权限系统是 Linux/*nix 服务器平台特有的功能，如果你使用的是 Windows 平台服务器，就没有这个功能。强烈建议将 Joomla！ 运行在 Linux 服务器上。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>及时删除残留文件</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />有时候你可能安装了某个扩展之后不久又不喜欢它了，多数用户这时会进行“取消发布”操作，而不是“卸载”。如果是“取消发布”，则该扩展的文件仍然存放在你的网站空间，如果该扩展的 PHP 文件正好存在一个安全漏洞，就很可能被黑客利用。因此，当你不再需要某个第三方扩展时，立即将它彻底删除，而不要“取消发布”。<br style="outline-style: none; outline-width: initial; outline-color: initial;" />Joomla！之门提示：当你通过 Joomla！后台卸载某些组件后，其数据表或许并未删除。如果你确认不再需要该组件，建议通过 phpMyAdmin 将其数据表也彻底删除，以免某个设计不严谨的数据表遭到 SQL Injection 劫持。<br style="outline-style: none; outline-width: initial; outline-color: initial;" /><strong>修改 .htaccess 文件</strong><br style="outline-style: none; outline-width: initial; outline-color: initial;" />用文本编辑器 Notepad++ 打开你 Joomla 网站根目录下的 .htaccess 文件，添加下面的代码进去：<br style="outline-style: none; outline-width: initial; outline-color: initial;" /></p>
<table style="outline-style: none; outline-width: initial; outline-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; width: 877px; border-top-color: initial; border-right-color: #ffffff; border-bottom-color: #ffffff; border-left-color: initial; border-width: 1px; border-style: solid;" border="0" cellspacing="0" cellpadding="0">
<tbody style="outline-style: none; outline-width: initial; outline-color: initial;">
<tr style="outline-style: none; outline-width: initial; outline-color: initial;">
<td style="outline-style: none; outline-width: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0.5em; word-break: break-all; word-wrap: break-word; border-right-width: 1px; border-right-style: solid; border-right-color: #d4eff7; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #d4eff7; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #f7f7f7; background-position: initial initial; background-repeat: initial initial; margin: 0px;"><span style="outline-style: none; outline-width: initial; outline-color: initial; color: #ff0000;">以下为引用的内容：</span><br style="outline-style: none; outline-width: initial; outline-color: initial;" />########## Begin &#8211; Rewrite rules to block out some common exploits#<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script trying to set a mosConfig value through the URL<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script trying to base64_encode crap to send via URL<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script that includes a &lt; script&gt; tag in URL<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} (&lt;|&lt;).*script.*(&gt;|&gt;) [NC,OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script trying to set a PHP GLOBALS variable via URL<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script trying to modify a _REQUEST variable via URL<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) [OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script that tries to set CONFIG_EXT (com_extcal2 issue)<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} CONFIG_EXT([|%20|%5B).*= [NC,OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Block out any script that tries to set sbp or sb_authorname via URL (simpleboard)<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} sbp(=|%20|%3D) [OR]<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteCond %{QUERY_STRING} sb_authorname(=|%20|%3D)<br style="outline-style: none; outline-width: initial; outline-color: initial;" /># Send all blocked request to homepage with 403 Forbidden error!<br style="outline-style: none; outline-width: initial; outline-color: initial;" />RewriteRule ^(.*)$ index.php [F,L]<br style="outline-style: none; outline-width: initial; outline-color: initial;" />#<br style="outline-style: none; outline-width: initial; outline-color: initial;" />########## End &#8211; Rewrite rules to block out some common exploits</td>
</tr>
</tbody>
</table>
<p>转自<a href="http://www.joomlagate.com/" target="_blank">Joomla之门</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/bangnitigaojoomladewangzhananquanxingneng.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>去除Joomla SEF组件版权信息及最新版下载</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/quchujoomlasefzujianbanquanxinxijizuixinbanxiazai.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/quchujoomlasefzujianbanquanxinxijizuixinbanxiazai.html#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:54:40 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[joomlasef]]></category>
		<category><![CDATA[sef]]></category>
		<category><![CDATA[版权]]></category>

		<guid isPermaLink="false">http://www.52joomla.com/?p=602</guid>
		<description><![CDATA[joomla SEF 3.3.3 去除版权 /components/com_sef/joomsef.php 第817行 $buf.=&#8217;&#60;&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&#62;&#8217;.'&#60;&#8217;.'a&#8217;.&#8217; &#8216;.&#8217;h&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;f&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;h&#8217;.&#8217;t&#8217;.&#8217;t&#8217;.&#8217;p&#8217;.&#8217;:&#8217;.&#8217;/&#8217;.&#8217;/&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;.&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;.&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;t&#8217;.&#8217;&#8221;&#8216;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;f&#8217;.&#8217;o&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;-&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;z&#8217;.&#8217;e&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;8&#8242;.&#8217;p&#8217;.&#8217;x&#8217;.&#8217;;&#8217;.&#8217; &#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;i&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217; &#8216;.&#8217;d&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;p&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217;&#8221;&#8216;.&#8217; &#8216;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;W&#8217;.&#8217;e&#8217;.&#8217;b&#8217;.&#8217; &#8216;.&#8217;d&#8217;.&#8217;e&#8217;.&#8217;v&#8217;.&#8217;e&#8217;.&#8217;l&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217;m&#8217;.&#8217;e&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;J&#8217;.&#8217;o&#8217;.&#8217;o&#8217;.&#8217;m&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;C&#8217;.&#8217;M&#8217;.&#8217;S&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;C&#8217;.&#8217;R&#8217;.&#8217;M&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;O&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;h&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;o&#8217;.&#8217;f&#8217;.&#8217;t&#8217;.&#8217;w&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;d&#8217;.&#8217;a&#8217;.&#8217;t&#8217;.&#8217;a&#8217;.&#8217;b&#8217;.&#8217;a&#8217;.&#8217;s&#8217;.&#8217;e&#8217;.&#8217;s&#8217;.&#8217;&#8221;&#8216;.&#8217;&#62;&#8217;.'J&#8217;.'o&#8217;.'o&#8217;.'m&#8217;.'l&#8217;.'a&#8217;.&#8217; &#8216;.&#8217;S&#8217;.&#8217;E&#8217;.&#8217;F&#8217;.&#8217; &#8216;.&#8217;U&#8217;.&#8217;R&#8217;.&#8217;L&#8217;.&#8217;s&#8217;.&#8217; &#8216;.&#8217;b&#8217;.&#8217;y&#8217;.&#8217; &#8216;.&#8217;A&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;&#60;&#8217;.'/&#8217;.'a&#8217;.'&#62;&#8217;.'&#60;&#8217;.'/&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&#62;&#8217;; 替换为$buf .=&#8221;; Joomla SEF 3.4.x和3.5.x 去除版权 $cacheBuf2 = &#8216;PGRpdj48YSBocmVmPSJodHRwOi8vd3&#8242;. &#8216;d3LmFydGlvLm5ldCIgc3R5bGU9ImZv&#8217;. &#8216;bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX&#8217;. &#8216;R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp&#8217;. &#8216;bmxpbmU7IiB0aXRsZT0iV2ViIGRldm&#8217;. &#8216;Vsb3BtZW50LCBKb29tbGEsIENNUywg&#8217;. &#8216;Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2&#8242;. &#8216;FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg&#8217;. &#8216;U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC&#8217;. &#8217;9kaXY+&#8217;; 替换为$cacheBuf2 =&#8221;; joomla SEF 3.3.x 去除版权信息 找到：/components/com_sef/joomsef.php 第817行 $buf.=&#8217;&#60;&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&#62;&#8217;.'&#60;&#8217;.'a&#8217;.&#8217; &#8216;.&#8217;h&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;f&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;h&#8217;.&#8217;t&#8217;.&#8217;t&#8217;.&#8217;p&#8217;.&#8217;:&#8217;.&#8217;/&#8217;.&#8217;/&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;.&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;.&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;t&#8217;.&#8217;&#8221;&#8216;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;f&#8217;.&#8217;o&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;-&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;z&#8217;.&#8217;e&#8217;.&#8217;:&#8217;.&#8217; [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">joomla SEF 3.3.3 去除版权</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/components/com_sef/joomsef.php</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">第817行</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$buf.=&#8217;&lt;&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&gt;&#8217;.'&lt;&#8217;.'a&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;h&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;f&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;h&#8217;.&#8217;t&#8217;.&#8217;t&#8217;.&#8217;p&#8217;.&#8217;:&#8217;.&#8217;/&#8217;.&#8217;/&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;.&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;.&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;t&#8217;.&#8217;&#8221;&#8216;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;s&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;f&#8217;.&#8217;o&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;-&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;z&#8217;.&#8217;e&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;8&#8242;.&#8217;p&#8217;.&#8217;x&#8217;.&#8217;;&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;i&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217; &#8216;.&#8217;d&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;p&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217;&#8221;&#8216;.&#8217; &#8216;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;W&#8217;.&#8217;e&#8217;.&#8217;b&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;d&#8217;.&#8217;e&#8217;.&#8217;v&#8217;.&#8217;e&#8217;.&#8217;l&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217;m&#8217;.&#8217;e&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;J&#8217;.&#8217;o&#8217;.&#8217;o&#8217;.&#8217;m&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;C&#8217;.&#8217;M&#8217;.&#8217;S&#8217;.&#8217;,&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;C&#8217;.&#8217;R&#8217;.&#8217;M&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;O&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;h&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;o&#8217;.&#8217;f&#8217;.&#8217;t&#8217;.&#8217;w&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;,&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;d&#8217;.&#8217;a&#8217;.&#8217;t&#8217;.&#8217;a&#8217;.&#8217;b&#8217;.&#8217;a&#8217;.&#8217;s&#8217;.&#8217;e&#8217;.&#8217;s&#8217;.&#8217;&#8221;&#8216;.&#8217;&gt;&#8217;.'J&#8217;.'o&#8217;.'o&#8217;.'m&#8217;.'l&#8217;.'a&#8217;.&#8217; &#8216;.&#8217;S&#8217;.&#8217;E&#8217;.&#8217;F&#8217;.&#8217; &#8216;.&#8217;U&#8217;.&#8217;R&#8217;.&#8217;L&#8217;.&#8217;s&#8217;.&#8217; &#8216;.&#8217;b&#8217;.&#8217;y&#8217;.&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;.&#8217;A&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;&lt;&#8217;.'/&#8217;.'a&#8217;.'&gt;&#8217;.'&lt;&#8217;.'/&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&gt;&#8217;;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">替换为$buf .=&#8221;;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Joomla SEF 3.4.x和3.5.x 去除版权</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$cacheBuf2 =</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;PGRpdj48YSBocmVmPSJodHRwOi8vd3&#8242;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;d3LmFydGlvLm5ldCIgc3R5bGU9ImZv&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;bmxpbmU7IiB0aXRsZT0iV2ViIGRldm&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;Vsb3BtZW50LCBKb29tbGEsIENNUywg&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2&#8242;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8216;U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC&#8217;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8217;9kaXY+&#8217;;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">替换为$cacheBuf2 =&#8221;;</div>
<p>joomla SEF 3.3.x 去除版权信息</p>
<p>找到：<span style="color: #ff0000;">/components/com_sef/joomsef.php <span style="color: #000000;">第817行</span></span></p>
<p>$buf.=&#8217;&lt;&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&gt;&#8217;.'&lt;&#8217;.'a&#8217;.&#8217;<br />
&#8216;.&#8217;h&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;f&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;h&#8217;.&#8217;t&#8217;.&#8217;t&#8217;.&#8217;p&#8217;.&#8217;:&#8217;.&#8217;/&#8217;.&#8217;/&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;w&#8217;.&#8217;.&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;.&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;t&#8217;.&#8217;&#8221;&#8216;.&#8217;<br />
&#8216;.&#8217;s&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;f&#8217;.&#8217;o&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;-&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;z&#8217;.&#8217;e&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;8&#8242;.&#8217;p&#8217;.&#8217;x&#8217;.&#8217;;&#8217;.&#8217;<br />
&#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;i&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217; &#8216;.&#8217;v&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;i&#8217;.&#8217;b&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217; &#8216;.&#8217;d&#8217;.&#8217;i&#8217;.&#8217;s&#8217;.&#8217;p&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;y&#8217;.&#8217;:&#8217;.&#8217;<br />
&#8216;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217;;&#8217;.&#8217;&#8221;&#8216;.&#8217; &#8216;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;t&#8217;.&#8217;l&#8217;.&#8217;e&#8217;.&#8217;=&#8217;.&#8217;&#8221;&#8216;.&#8217;W&#8217;.&#8217;e&#8217;.&#8217;b&#8217;.&#8217;<span id="more-602"></span><br />
&#8216;.&#8217;d&#8217;.&#8217;e&#8217;.&#8217;v&#8217;.&#8217;e&#8217;.&#8217;l&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217;m&#8217;.&#8217;e&#8217;.&#8217;n&#8217;.&#8217;t&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;J&#8217;.&#8217;o&#8217;.&#8217;o&#8217;.&#8217;m&#8217;.&#8217;l&#8217;.&#8217;a&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;C&#8217;.&#8217;M&#8217;.&#8217;S&#8217;.&#8217;,&#8217;.&#8217;<br />
&#8216;.&#8217;C&#8217;.&#8217;R&#8217;.&#8217;M&#8217;.&#8217;,&#8217;.&#8217; &#8216;.&#8217;O&#8217;.&#8217;n&#8217;.&#8217;l&#8217;.&#8217;i&#8217;.&#8217;n&#8217;.&#8217;e&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;h&#8217;.&#8217;o&#8217;.&#8217;p&#8217;.&#8217; &#8216;.&#8217;s&#8217;.&#8217;o&#8217;.&#8217;f&#8217;.&#8217;t&#8217;.&#8217;w&#8217;.&#8217;a&#8217;.&#8217;r&#8217;.&#8217;e&#8217;.&#8217;,&#8217;.&#8217;<br />
&#8216;.&#8217;d&#8217;.&#8217;a&#8217;.&#8217;t&#8217;.&#8217;a&#8217;.&#8217;b&#8217;.&#8217;a&#8217;.&#8217;s&#8217;.&#8217;e&#8217;.&#8217;s&#8217;.&#8217;&#8221;&#8216;.&#8217;&gt;&#8217;.'J&#8217;.'o&#8217;.'o&#8217;.'m&#8217;.'l&#8217;.'a&#8217;.&#8217; &#8216;.&#8217;S&#8217;.&#8217;E&#8217;.&#8217;F&#8217;.&#8217; &#8216;.&#8217;U&#8217;.&#8217;R&#8217;.&#8217;L&#8217;.&#8217;s&#8217;.&#8217; &#8216;.&#8217;b&#8217;.&#8217;y&#8217;.&#8217;<br />
&#8216;.&#8217;A&#8217;.&#8217;r&#8217;.&#8217;t&#8217;.&#8217;i&#8217;.&#8217;o&#8217;.&#8217;&lt;&#8217;.'/&#8217;.'a&#8217;.'&gt;&#8217;.'&lt;&#8217;.'/&#8217;.'d&#8217;.'i&#8217;.'v&#8217;.'&gt;&#8217;;</p>
<p>替换为$buf .=&#8221;;</p>
<p>其实这段代码很容易看出来就是用PHP连接符使了障眼法，很容易看出来的。</p>
<p>Joomla SEF 3.4.x和3.5.x 去除版权</p>
<p>同样找到：<span style="color: #ff0000;">/components/com_sef/joomsef.php <span style="color: #000000;">第1645行</span></span></p>
<p>$cacheBuf2 =<br />
&#8216;PGRpdj48YSBocmVmPSJodHRwOi8vd3&#8242;.<br />
&#8216;d3LmFydGlvLm5ldCIgc3R5bGU9ImZv&#8217;.<br />
&#8216;bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX&#8217;.<br />
&#8216;R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp&#8217;.<br />
&#8216;bmxpbmU7IiB0aXRsZT0iV2ViIGRldm&#8217;.<br />
&#8216;Vsb3BtZW50LCBKb29tbGEsIENNUywg&#8217;.<br />
&#8216;Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2&#8242;.<br />
&#8216;FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg&#8217;.<br />
&#8216;U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC&#8217;.<br />
&#8217;9kaXY+&#8217;;</p>
<p>替换为$cacheBuf2 =&#8221;;</p>
<p>3.4和3.5版本的聪明了一点，进行了加密，但仍然很容易找出它们。</p>
<p><a href="/wp-content/uploads/joomla/joomla-extensions/joomla-components/015_com_joomsef-3.5.0.zip">JoomlaSEF3.5.0 for J1.5组件下载</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/quchujoomlasefzujianbanquanxinxijizuixinbanxiazai.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla的SEO优化要点详解</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomladeseoyouhuayaodianxiangjie.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomladeseoyouhuayaodianxiangjie.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 01:50:01 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=519</guid>
		<description><![CDATA[提高Joomla网站SEO的10种快速简便的方法： 1.不要安装Joomla的样本数据库 就是范例数据库，在安装Joomla的时候不要选择安装，因为这些范例一般与你的网站主题无关，所以就算安装过了，也要记得删除并清空回收站，否则可能和别人的网站大量重复，这样是不利于SEO的。 2.你的网站名称应该是你的网站域名 有些人喜欢在网站名称Site Name这一栏填上很多关键字，其实这无助于你，当用户在你的网站注册时候，会收到一封电子邮件，说什么“welcome to 软件 下载 数据库 web源码”，这看起来不是很清楚，你可不想这样。 3.禁用PDF links PDF 文件的Rank数值比一般的网页高，因为Google认为PDF文件是经过筛选、整理过，其内容价值比普通的网页高。但是Joomla产生的PDF links页面没有菜单，用户一旦通过搜索引擎访问到这种页面，往往无法再浏览网站的其余网页，因此应该禁用这个功能。 4.不要在页面上放置过多的social bookmarking link 用户喜欢干净整洁的页面，搜索引擎也是如此，因此把social bookmarking link放在你认为有价值的内容页面上，而不是到处乱放。 5.把www域名和非www域名重定向到相同的页面 很简单，把以下代码添加到 .htaccess 文件，注意把 MyDomain.com 替换成你自己的域名。 ## Can be commented out if causes errors. Options FollowSymLinks # mod_rewrite in use RewriteEngine On RewriteCond %{HTTP_HOST} ^MyDomain.com$ [NC] RewriteRule ^(.*)$ http://www.MyDomain.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^.*MyDomain.com [...]]]></description>
			<content:encoded><![CDATA[<p>提高Joomla网站SEO的10种快速简便的方法：</p>
<p>1.不要安装Joomla的样本数据库<br />
就是范例数据库，在安装Joomla的时候不要选择安装，因为这些范例一般与你的网站主题无关，所以就算安装过了，也要记得删除并清空回收站，否则可能和别人的网站大量重复，这样是不利于SEO的。</p>
<p>2.你的网站名称应该是你的网站域名<br />
有些人喜欢在网站名称Site Name这一栏填上很多关键字，其实这无助于你，当用户在你的网站注册时候，会收到一封电子邮件，说什么“welcome to 软件 下载 数据库 web源码”，这看起来不是很清楚，你可不想这样。<span id="more-519"></span></p>
<p>3.禁用PDF links<br />
PDF 文件的Rank数值比一般的网页高，因为Google认为PDF文件是经过筛选、整理过，其内容价值比普通的网页高。但是Joomla产生的PDF links页面没有菜单，用户一旦通过搜索引擎访问到这种页面，往往无法再浏览网站的其余网页，因此应该禁用这个功能。</p>
<p>4.不要在页面上放置过多的social bookmarking link<br />
用户喜欢干净整洁的页面，搜索引擎也是如此，因此把social bookmarking link放在你认为有价值的内容页面上，而不是到处乱放。</p>
<p>5.把www域名和非www域名重定向到相同的页面<br />
很简单，把以下代码添加到 .htaccess 文件，注意把 MyDomain.com 替换成你自己的域名。</p>
<p>## Can be commented out if causes errors.<br />
Options FollowSymLinks<br />
# mod_rewrite in use</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^MyDomain.com$ [NC]<br />
RewriteRule ^(.*)$ http://www.MyDomain.com/$1 [R=301,L]<br />
RewriteCond %{HTTP_HOST} !^.*MyDomain.com [NC]<br />
RewriteRule (.*) http://www.MyDomain.com/$1 [R=301,L]</p>
<p>6.开启网站的 cache<br />
搜索引擎喜欢访问速度快的网站，打开这个选项，能让你的网站有更好的表现。</p>
<p>7.为每个Section和category填上完整的描述description<br />
能提高网站的Page Rank，优化搜索引擎访问。</p>
<p>8.简单就是美<br />
想 让成千上万的页面都被Google索引并不是件好事，尤其它们中的一些页面内容没有什么价值，Google通常不喜欢这样。Joomla中的某些组件，会 产生大量的页面，而有些对网站是毫无用处的。你应该在Google中输入site:mydomain.com来检查一下，如果你发现被索引的页面没有大的 价值，你可以选择从Joomla中移除。</p>
<p>9.在Joomla的全局设置页面中填上 metadata<br />
安装完Joomla，其默认的metadata就是&#8221;Joomla! &#8211; the dynamic portal engine and content management system&#8221; ，你不希望这就是描述你的网站的话，就把它改掉。</p>
<p>10.要有信心<br />
Joomla在设计的时候就考虑到了SEO优化的问题，它是一个非常棒的CMS，你也应该多学习Joomla是如何运作的，不久，你会发现你的网站有了更高的搜索排名。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomladeseoyouhuayaodianxiangjie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在IE8中正常浏览IE7下制作的网页</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/zaiie8zhongzhengchanglanie7xiazhizuodewangye.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/zaiie8zhongzhengchanglanie7xiazhizuodewangye.html#comments</comments>
		<pubDate>Thu, 12 Nov 2009 06:10:17 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=513</guid>
		<description><![CDATA[目前在IE7中工作正常的网页在IE8中会出现问题。 微软在IE8提供三种解析页面的模式 IE8 Standard Modes ：默认的最标准的模式，严格按照W3C相关规定 IE7 Standards Modes ：IE7现在用的解析网页的模式，开起机关是在中加入 Quirks Modes ：IE5用的解析网页的模式，开起机关是删除HTML顶部的DOCTYPE声明 要使Joomla!模板正常工作，在模板文件中 &#60;head&#62; 之后加上： &#60;meta http-equiv=&#8221;x-ua-compatible&#8221; content=&#8221;ie=7&#8243; /&#62; 就可以IE8中正常浏览IE7下制作的网页了。]]></description>
			<content:encoded><![CDATA[<p>目前在IE7中工作正常的网页在IE8中会出现问题。<br />
微软在IE8提供三种解析页面的模式<br />
IE8 Standard Modes ：默认的最标准的模式，严格按照W3C相关规定<br />
IE7 Standards Modes ：IE7现在用的解析网页的模式，开起机关是在中加入<br />
Quirks Modes ：IE5用的解析网页的模式，开起机关是删除HTML顶部的DOCTYPE声明</p>
<p>要使Joomla!模板正常工作，在模板文件中 &lt;head&gt; 之后加上：<span id="more-513"></span></p>
<p><strong>&lt;meta http-equiv=&#8221;x-ua-compatible&#8221; content=&#8221;ie=7&#8243; /&gt;</strong></p>
<p>就可以IE8中正常浏览IE7下制作的网页了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/zaiie8zhongzhengchanglanie7xiazhizuodewangye.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>修改 Joomla! 1.5 搜索组件以改变搜索字串长度限制</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/xiugaijoomla1-5sousuozujianyigaibiansousuozichuanchangduxianzhi.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/xiugaijoomla1-5sousuozujianyigaibiansousuozichuanchangduxianzhi.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 09:43:43 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[字符串]]></category>
		<category><![CDATA[搜索]]></category>
		<category><![CDATA[组件]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=314</guid>
		<description><![CDATA[由于 Joomla! 是国外开发的，所以他们考虑到一般西文词汇中实词长度都在至少3个字符以上，因此 Joomla! 内置的站内搜索要求最少输入3个字符才能搜索。而对于中国人则不然，例如 QQ 这个词对老外可能没有意义，对我们却是有意义的；或者，我希望在一篇文章中搜索“鳔”这个词，但是 Joomla! 默认却拒绝，因为长度只有一个字符。对于 Joomla! 1.5，可以修改 com_search 组件来实现：打开 /administrator/components/com_search/helpers/search.php 这个文件，在大约第 63 行，找到如下代码： 程序代码: if ( $searchword &#38;&#38; JString::strlen( $searchword ) &#60; 3 ) { 修改为： 程序代码: if ( $searchword &#38;&#38; JString::strlen( $searchword ) &#60; 1 ) { 意思是，只要输入最少1个字符就可以开始搜索。上述方法经测试可以工作。]]></description>
			<content:encoded><![CDATA[<p>由于 Joomla! 是国外开发的，所以他们考虑到一般西文词汇中实词长度都在至少3个字符以上，因此 Joomla! 内置的站内搜索要求最少输入3个字符才能搜索。而对于中国人则不然，例如 QQ 这个词对老外可能没有意义，对我们却是有意义的；或者，我希望在一篇文章中搜索“鳔”这个词，但是 Joomla! 默认却拒绝，因为长度只有一个字符。对于 Joomla! 1.5，可以修改 com_search 组件来实现：打开 /administrator/components/com_search/helpers/search.php 这个文件，在大约第 63 行，找到如下代码：<span id="more-314"></span></p>
<div>程序代码:</div>
<div>
<pre style="margin-top: 0pt; display: inline;">if ( $searchword &amp;&amp; JString::strlen( $searchword ) &lt; 3 ) {</pre>
</div>
<p>修改为：</p>
<div>程序代码:</div>
<div>
<pre style="margin-top: 0pt; display: inline;">if ( $searchword &amp;&amp; JString::strlen( $searchword ) &lt; 1 ) {</pre>
</div>
<p>意思是，只要输入最少1个字符就可以开始搜索。上述方法经测试可以工作。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/xiugaijoomla1-5sousuozujianyigaibiansousuozichuanchangduxianzhi.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>什么样的分隔符能为 Joomla! 生成更好的 SEF URL？</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/shimeyangdefengefunengweijoomlashengchenggenghaodesefurl.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/shimeyangdefengefunengweijoomlashengchenggenghaodesefurl.html#comments</comments>
		<pubDate>Sat, 17 Oct 2009 03:55:34 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[sef]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[分隔符]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=195</guid>
		<description><![CDATA[使用 Joomla! 1.5 文章的副标题（Title Alias）来生成 SEF URL 是一个好习惯，这个方法不仅对于文章标题使用非英文语言的网站很有帮助，即使是英文文章标题，有时候也需要另外再设立一个更有利于搜索引擎优化（SEO） 的副标题来做 SEF 网址。我们已经知道，在副标题中不能使用空格，那么相邻的单词之间用什么样的分隔符最好呢？ 熟悉 Google 搜索算法的人说： 一定要用连字符（hyphen，-）作为相邻单词之间的分隔符。 因为 Google 会将连字符解读为&#8220;空格&#8221;，而将下划线（_）解读为&#8220;无需间隔&#8221;。 例如，URL 里面的 joomla-tutorials 将被 Google 理解为两个单词：&#8220;joomla tutorials&#8221;。 而如果使用&#8220;joomla_tutorials&#8221;，会被 Google 理解为一个单词： &#8220;joomlatutorials&#8221;。 很显然，第一种解读方式符合我们的期望，也更有利于 SEO。 顺便说一下，斜线（Slash，/）也是被解读为空格的。 不过，在 URL 里面当然不能用斜线作为关键词的分隔符了，因为这可能引起误会，搜索引擎或访客总是认为斜线是目录层级的分级标志。 那在什么地方使用斜线作为关键词分隔符呢？你可以在文章内容里面使用它。例如，&#8220;Components/modules&#8221;会被解读为 &#8220;components modules&#8221;。 52JOOMLA!提示： 不仅是页面的 URL 需要进行 SEF 优化，最好对页面内容中的链接，如图片，或 PDF 文档直接下载链接 URL 等，也注意使用连字符来分隔关键词。 例如： http://www.52joomla.com/images/img200312.jpg http://www.52joomla.com/images/joomla-core-chinese-demo.jpg 上面这两个图片链接哪一个更有利于搜索引擎优化呢？我想你应该能看出来。]]></description>
			<content:encoded><![CDATA[<p>使用 Joomla! 1.5 文章的副标题（Title Alias）来生成 SEF URL 是一个好习惯，这个方法不仅对于文章标题使用非英文语言的网站很有帮助，即使是英文文章标题，有时候也需要另外再设立一个更有利于搜索引擎优化（SEO） 的副标题来做 SEF 网址。<span id="more-195"></span>我们已经知道，在副标题中不能使用空格，那么相邻的单词之间用什么样的分隔符最好呢？ 熟悉 Google 搜索算法的人说： 一定要用连字符（hyphen，-）作为相邻单词之间的分隔符。 因为 Google 会将连字符解读为&ldquo;空格&rdquo;，而将下划线（_）解读为&ldquo;无需间隔&rdquo;。 </p>
<p>例如，URL 里面的 joomla-tutorials 将被 Google 理解为两个单词：&ldquo;joomla tutorials&rdquo;。 而如果使用&ldquo;joomla_tutorials&rdquo;，会被 Google 理解为一个单词： &ldquo;joomlatutorials&rdquo;。 很显然，第一种解读方式符合我们的期望，也更有利于 SEO。 顺便说一下，斜线（Slash，/）也是被解读为空格的。</p>
<p>不过，在 URL 里面当然不能用斜线作为关键词的分隔符了，因为这可能引起误会，搜索引擎或访客总是认为斜线是目录层级的分级标志。 那在什么地方使用斜线作为关键词分隔符呢？你可以在文章内容里面使用它。例如，&ldquo;Components/modules&rdquo;会被解读为 &ldquo;components modules&rdquo;。 </p>
<p><span style="color: rgb(255, 0, 0);">52JOOMLA!提示</span>： 不仅是页面的 URL 需要进行 SEF 优化，最好对页面内容中的链接，如图片，或 PDF 文档直接下载链接 URL 等，也注意使用连字符来分隔关键词。</p>
<p>例如： http://www.52joomla.com/images/img200312.jpg http://www.52joomla.com/images/joomla-core-chinese-demo.jpg 上面这两个图片链接哪一个更有利于搜索引擎优化呢？我想你应该能看出来。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/shimeyangdefengefunengweijoomlashengchenggenghaodesefurl.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不要使用 PHP 5.30 版本来运行 Joomla</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/buyaoshiyongphp5-30banbenlaiyunxingjoomla.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/buyaoshiyongphp5-30banbenlaiyunxingjoomla.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 06:32:54 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/2009/10/14/%e4%b8%8d%e8%a6%81%e4%bd%bf%e7%94%a8-php-5-30-%e7%89%88%e6%9c%ac%e6%9d%a5%e8%bf%90%e8%a1%8c-joomla/</guid>
		<description><![CDATA[最近发现Joomla后台的article manager里面一堆堆的waring，外加article没复选框，部分菜单也不显示。本来以为是重装xampp的时候database没倒好，重新 手动import后问题依旧，折腾了半天才发现原来是PHP 5.30的问题。 按道理来说版本的提高应该解决更多的bug，无奈5.30是个例外，和Joomla核心不兼容，更有甚者测试发现不光是1.5.x有问题，就算是还在alpha的Joomla 1.6也逃不了。 用XAMPP的用回1.7.1吧~自个儿编译的降一级就okay了。]]></description>
			<content:encoded><![CDATA[<p>最近发现Joomla后台的article manager里面一堆堆的waring，外加article没复选框，部分菜单也不显示。本来以为是重装xampp的时候database没倒好，重新 手动import后问题依旧，折腾了半天才发现原来是PHP 5.30的问题。</p>
<p>按道理来说版本的提高应该解决更多的bug，无奈5.30是个例外，和Joomla核心不兼容，更有甚者测试发现不光是1.5.x有问题，就算是还在alpha的Joomla 1.6也逃不了。</p>
<p>用XAMPP的用回1.7.1吧~自个儿编译的降一级就okay了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/buyaoshiyongphp5-30banbenlaiyunxingjoomla.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>18个Joomla教程和模板网站</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/18gejoomlajiaochenghemobanwangzhan.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/18gejoomlajiaochenghemobanwangzhan.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 09:37:45 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[模板]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=128</guid>
		<description><![CDATA[18个学习Joomla的网站。如果你正在寻找Joomla模板，或刚开始使用Joomla，在找一些Joomla教程，可能看看这些网站。 1.Joomla!-开源天空 站长很热心经，常回答在论坛上问问题的朋友，而且这个网站对新手来讲有一个很好的栏目就是Joomla!完整建站指南(中文版） ，而里面对模块的开发而有一定的讨论，是为数不多的joomla中文网站。 2.Joomla!之门 单讲内容来讲很不错了，不过这个网站是有收费版的，有兴趣的朋友可以尝试，里面的部分插件必须是捐赠会员才能下载，如果你直接去Joomla官网搜索就有了原作者的下载地址。 3.joomla123 一个台湾的joomla网站出了自己的书，网站的内容相当不错，是一个像样的joomla网站。 4.福哥的部落格 名字虽然很土，不过网站及个人与其名不相符。搞企管的又对技术有热情也教过书，奇怪的人，与Joomla123站长类似于师徒关系。 5.台湾的joomla中文官网 -是中文资料的一个重要地方，不过人气一般，不过按比例来讲要比大陆要高得多了。 6.52Joomla! &#8211; Joomla爱好者的交流平台 自荐一下，继续向前辈们学习。 一些有关Joomla的博客 7.joomlachina.cn，我觉得是一个比较山寨的网站了，不过看看里面的插件介绍还是不错的 8.joomla.cn，现在这个网站没怎么更新，不过在Google里面的中文搜索排名比官网还要高，可能是建站较早的原因。 9.autoit.cn，这个网站也没有怎么更新，看看旧文吧。 10.不必停留，里面有他自己的一些原创文章，关于网店的建设有不少精辟的意见。 Joomla英文资料 英文资料是很多的只是语言的问题，我没有去找更多的网站。 11.官网&#8212;joomla.org 比去那里都来得合适，英文好就上社区去逛逛。有时间就去插件栏里看看有什么新的插件，毕竟插件是joomla一大亮点。想了解他们的动态最好就是浏览他们的团队blog 12.alledia.com 一个人的blog，文章质量高 13.joomlablogger.net/ 跟上述网站是一类的，英文好的朋友不要放弃他们的每一篇文章 Joomla模板网站 joomla的一大特色就是模板，有为数十多家公司在做。最著名的如joomlart/RocketTheme /YOOtheme等等，都有十分优秀的模板。不管在设计还是功能上，这也是许多企业选择用joomla的原因之一。只需要简单的培训就能使一般人使用 joomla的后面操作进行网站的更新就好像更新blog一样。而国内有许多公司也就剽窃外国设计公司的模板然后作一定的修改再赚钱，这个也很正常，不过最好就是把资讯公开了，当多数人知道的时候抄袭的水平也就提高了。 ps：商业模板的意思就是要给钱才能用的。 14.boygj.com 中国人做的英文网站，里面有各个公司的商用模板，而且均可以下载，是一个相当『优秀』的网站。不仅有joomla商用模板，wordpress/phpBB/Drupal的商用模板都有，甚至连字体/icon都有，是一个相当全面的网站。 15.kziz.cn 也是一个中国人做的英文网，同样有模板下载。更新速度及内容上都没有boygj.com丰富 16.joomlademos.de 一个提供免费joomla模板的网站，先感谢做免费模板的人。数量很多，大家慢慢在里面找精品吧。 17.persiantools.eu/ 一个有阿拉伯文的网站，不过主要是英文了，同样有商业模板下载，也有一些商业的模块下载，偶尔会有不错的内容。 18.osskins.com 一个模板网站，商业的明码实价，免费的提供下载。不仅有joomla的也有wordpress/Drupal的模板]]></description>
			<content:encoded><![CDATA[<p>18个学习Joomla的网站。如果你正在寻找Joomla模板，或刚开始使用Joomla，在找一些Joomla教程，可能看看这些网站。</p>
<h4><a href="http://www.maycode.com/" target="_blank" title="http://www.maycode.com/">1.Joomla!-开源天空</a></h4>
<p>站长很热心经，常回答在论坛上问问题的朋友，而且这个网站对新手来讲有一个很好的栏目就是<a href="http://www.maycode.com/index.php/hotspot/28-joomla/550-joomla-install-manul.html" target="_blank">Joomla!完整建站指南(中文版）</a> ，而里面对模块的开发而有一定的讨论，是为数不多的joomla中文网站。</p>
<h4><a href="http://www.joomlagate.com/index.php" target="_blank" title="http://www.joomlagate.com/index.php"> 2.Joomla!之门</a></h4>
<p>单讲内容来讲很不错了，不过这个网站是有收费版的，有兴趣的朋友可以尝试，里面的部分插件必须是捐赠会员才能下载，如果你直接去Joomla官网搜索就有了原作者的下载地址。<span id="more-128"></span></p>
<h4><a href="http://www.joomla123.com.tw/" title="http://www.joomla123.com.tw/"> 3.joomla123</a></h4>
<p>一个台湾的joomla网站出了自己的书，网站的内容相当不错，是一个像样的joomla网站。</p>
<h4><a href="http://www.afu.tw/" title="http://www.afu.tw/">4.福哥的部落格</a></h4>
<p>名字虽然很土，不过网站及个人与其名不相符。搞企管的又对技术有热情也教过书，奇怪的人，与Joomla123站长类似于师徒关系。</p>
<h4><a href="http://www.joomla.org.tw/">5.台湾的joomla中文官网</a></h4>
<p>-是中文资料的一个重要地方，不过人气一般，不过按比例来讲要比大陆要高得多了。</p>
<p><a href="http://52joomla.eblhost.cn"><strong>6.52Joomla! &#8211; Joomla爱好者的交流平台</strong></a> 自荐一下，继续向前辈们学习。</p>
<h4>一些有关Joomla的<a href="http://paranimage.com/category/webmaster/blog/">博客</a></h4>
<p><a href="http://www.joomlachina.cn/" title="http://www.joomlachina.cn/">7.joomlachina.cn</a>，我觉得是一个比较山寨的网站了，不过看看里面的插件介绍还是不错的 <a href="http://www.joomla.cn/" title="http://www.joomla.cn/">8.joomla.cn</a>，现在这个网站没怎么更新，不过在Google里面的中文搜索排名比官网还要高，可能是建站较早的原因。 <a href="http://www.autoit.cn/" title="http://www.autoit.cn/">9.autoit.cn</a>，这个网站也没有怎么更新，看看旧文吧。 <a href="http://zhujianbo.com/" title="http://zhujianbo.com/">10.不必停留</a>，里面有他自己的一些原创文章，关于网店的建设有不少精辟的意见。</p>
<h2>Joomla英文资料</h2>
<p>英文资料是很多的只是语言的问题，我没有去找更多的网站。</p>
<h4><a href="http://www.joomla.org/" title="http://www.joomla.org/">11.官网&mdash;joomla.org</a></h4>
<p>比去那里都来得合适，英文好就上社区去逛逛。有时间就去插件栏里看看有什么新的插件，毕竟插件是joomla一大亮点。想了解他们的动态最好就是浏览他们的团队blog</p>
<h4><a href="http://www.alledia.com/" title="http://www.alledia.com/">12.alledia.com</a></h4>
<p>一个人的blog，文章质量高</p>
<h4><a href="http://www.joomlablogger.net/" title="http://www.joomlablogger.net/">13.joomlablogger.net/</a></h4>
<p>跟上述网站是一类的，英文好的朋友不要放弃他们的每一篇文章</p>
<h2>Joomla模板网站</h2>
<p>joomla的一大特色就是模板，有为数十多家公司在做。最著名的如joomlart/RocketTheme /YOOtheme等等，都有十分优秀的模板。不管在设计还是功能上，这也是许多企业选择用joomla的原因之一。只需要简单的培训就能使一般人使用 joomla的后面操作进行网站的更新就好像更新blog一样。而国内有许多公司也就剽窃外国设计公司的模板然后作一定的修改再赚钱，这个也很正常，不过最好就是把资讯公开了，当多数人知道的时候抄袭的水平也就提高了。 ps：商业模板的意思就是要给钱才能用的。</p>
<h4><a href="http://boygj.com/" title="http://boygj.com/">14.boygj.com</a></h4>
<p>中国人做的英文网站，里面有各个公司的商用模板，而且均可以下载，是一个相当『优秀』的网站。不仅有joomla商用模板，wordpress/phpBB/Drupal的商用模板都有，甚至连字体/icon都有，是一个相当全面的网站。</p>
<h4><a href="http://www.kziz.cn/" title="http://www.kziz.cn/">15.kziz.cn</a></h4>
<p>也是一个中国人做的英文网，同样有模板下载。更新速度及内容上都没有boygj.com丰富</p>
<h4><a href="http://www.joomlademos.de/" title="http://www.joomlademos.de">16.joomlademos.de</a></h4>
<p>一个提供免费joomla模板的网站，先感谢做免费模板的人。数量很多，大家慢慢在里面找精品吧。</p>
<h4><a href="http://www.persiantools.eu/" title="http://www.persiantools.eu/">17.persiantools.eu/</a></h4>
<p>一个有阿拉伯文的网站，不过主要是英文了，同样有商业模板下载，也有一些商业的模块下载，偶尔会有不错的内容。</p>
<h4><a href="http://www.osskins.com/main/" title="http://www.osskins.com/main/"> 18.osskins.com</a></h4>
<p>一个模板网站，商业的明码实价，免费的提供下载。不仅有joomla的也有wordpress/Drupal的模板</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/18gejoomlajiaochenghemobanwangzhan.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla的PHP环境搭建</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomladephphuanjingdajian.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomladephphuanjingdajian.html#comments</comments>
		<pubDate>Sat, 03 Oct 2009 05:11:27 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[运行环境]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/2009/10/03/joomla%e7%9a%84php%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba/</guid>
		<description><![CDATA[Joomla是一个运行与开源环境（php+mysql)中的架站程序，所以首先要解决的就是环境的搭建。 本教程环境以如下配置Apache2.0.44+Php4.3.1+Mysql4.0.1 准备工作： 1.Apache2.0.44-win32-x86-no-ssl.msi(web服务器） 下载地址：http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/ 2.Mysql4.0.11a-gamma-win.zip 下载地址：http://www.mysql.com/downloads/mysql-4.0.html 3.Php4.31dev for win32.rar 下载地址：http://www.php.net/downloads.php 4.phpmyadmin2.4.0-php 下载地址：http://www.php.net/downloads.php 5.Zend Optimizer 下载地址：https://www.zend.com/store/free_download.php?pid=13以上配置为参考配置（配置是比较老的了，第五个为可选配置，主要为整合其他系统时候使用Mamhoo） 1.Apache安装 下面我们开始环境的安装，首先要安装的是Apache。他是一个非常优秀web服务器程序，小巧灵活，更重要的是他不会出错，不会发生一些意想不到的错误。他支持把PHP作为他的一个模块来安装。推荐使用Apache2版本，你可以上他的官方网站上获取。 重要的一点需要说明，就是如果你的系统是win2000或者装有IIS，那么首先你要将IIS的端口由原来的80改为8080，否则将无法安装成功。 运行刚刚下载的Apache软件，在你安装的时候会提示输入Network Domain,Server Name,Administrator&#39;s Email Address;你可以填入ROOT，ROOT，ROOT@LOCALHOST。这些是不重要的，在你填入之后安装完成都是可以修改的。安装路径时建议将安装路径选择为C盘根目录，当然如果没有安装在根目录也不是不可以的。接下来一步一步&#8220;Next&#8221;就可以了。在安装完成之后，你的任务栏应该有一个绿色的小三角表示你的Apache已经安装成功，如果没有则Apache还没有安装完成，要强调的是一定要是绿色小三角，如果是红色的方块，那也表明Apache没有启动。测试Apache很简单，只要打开浏览器，在地址栏输入&#8220;http://localhost/&#8221;看是否出现Apache欢迎页面。 2.Mysql数据库的安装 Mysql是完全网络化跨平台关系型数据库。同时具有客户机/服务器的分布式数据库管理系统。他具有功能强，使用简单，管理方便，运行速度快，安全可靠性强等特点。用户可以利用许多语言访问，他与PHP的组合更是黄金组合，应用十分广泛。 安装首先解压Mysql4.0.11a-gamma-win.zip到临时目录下运行setup.exe即可，一切默认安装。 安装完成后运行c:\mysql\bin\winmysqladmin.exe。第一次安装需要设置管理员和密码，一般设置为root,yourpassword。关闭后，状态栏会出现一个绿灯表示数据库已运行。 3.PHP调试环境安装（APACHE模块方式） PHP是服务器端可产生动态网页并可以嵌入HTML的脚本程序语言。用于网页数据库之间的数据交换。 将PHP压缩文件解压到任意目录，推荐解压到C:\PHP;打开PHP目录将php.ini-dist（PHP核心配置文件）改为php.ini连同php4ts.dll一起复制到系统目录中， XP C:\windows\system32 Win2000 C:\winnt\system32 最后修改一下Apache配置文件httpd.conf（c:\apache\conf\httpd.conf)添加AddType&#160; application/x-httpd-php&#160;&#160; .php 添加LoadModule php4_module&#160;&#160; C:php/sapi/php4apache2.dll 修改完要重新启动Apache，才能生效。 4.Phpmyadmin安装 解压到Apache下的htdocs目录下，修改Configration.inc.php其中的 $cfg[&#39;Servers&#39;][$i][&#39;host&#39;]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#39;localhost&#39;; // MySQL hostname or IP address $cfg[&#39;Servers&#39;][$i][&#39;port&#39;]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = [...]]]></description>
			<content:encoded><![CDATA[<p>Joomla是一个运行与开源环境（php+mysql)中的架站程序，所以首先要解决的就是环境的搭建。</p>
<p>本教程环境以如下配置Apache2.0.44+Php4.3.1+Mysql4.0.1 准备工作： </p>
<p>1.Apache2.0.44-win32-x86-no-ssl.msi(web服务器）</p>
<p>下载地址：<span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/</span></span> </p>
<p>2.Mysql4.0.11a-gamma-win.zip </p>
<p>下载地址：<a href="http://www.mysql.com/downloads/mysql-4.0.html"><span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">http://www.mysql.com/downloads/mysql-4.0.html</span></span></a> </p>
<p>3.Php4.31dev for win32.rar </p>
<p>下载地址：<a href="http://www.php.net/downloads.php"><span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">http://www.php.net/downloads.php</span></span></a></p>
<p>4.phpmyadmin2.4.0-php </p>
<p>下载地址：<a href="http://www.php.net/downloads.php"><span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">http://www.php.net/downloads.php</span></span></a></p>
<p>5.Zend Optimizer </p>
<p>下载地址：<a href="https://www.zend.com/store/free_download.php?pid=13"><span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">https://www.zend.com/store/free_download.php?pid=13</span></span></a><span id="more-87"></span>以上配置为参考配置（配置是比较老的了，第五个为可选配置，主要为整合其他系统时候使用Mamhoo）</p>
<p>1.Apache安装 下面我们开始环境的安装，首先要安装的是Apache。他是一个非常优秀web服务器程序，小巧灵活，更重要的是他不会出错，不会发生一些意想不到的错误。他支持把PHP作为他的一个模块来安装。推荐使用Apache2版本，你可以上他的官方网站上获取。 <span style="color: rgb(255, 0, 0);">重要的一点需要说明，就是如果你的系统是win2000或者装有IIS，那么首先你要将IIS的端口由原来的80改为8080，否则将无法安装成功。</span> 运行刚刚下载的Apache软件，在你安装的时候会提示输入Network Domain,Server Name,Administrator&#39;s Email Address;你可以填入ROOT，ROOT，<a href="mailto:ROOT@LOCALHOST"><span style="text-decoration: underline;"><span style="color: rgb(0, 0, 255);">ROOT@LOCALHOST</span></span></a>。这些是不重要的，在你填入之后安装完成都是可以修改的。安装路径时建议将安装路径选择为C盘根目录，当然如果没有安装在根目录也不是不可以的。接下来一步一步&ldquo;Next&rdquo;就可以了。在安装完成之后，你的任务栏应该有一个绿色的小三角表示你的Apache已经安装成功，如果没有则Apache还没有安装完成，<span style="color: rgb(255, 0, 0);">要强调的是一定要是绿色小三角，如果是红色的方块，那也表明Apache没有启动。测试Apache很简单，只要打开浏览器，在地址栏输入&ldquo;http://localhost/&rdquo;看是否出现Apache欢迎页面。</span> </p>
<p><span style="color: rgb(0, 0, 0);">2.Mysql数据库的安装</span> Mysql是完全网络化跨平台关系型数据库。同时具有客户机/服务器的分布式数据库管理系统。他具有功能强，使用简单，管理方便，运行速度快，安全可靠性强等特点。用户可以利用许多语言访问，他与PHP的组合更是黄金组合，应用十分广泛。 安装首先解压Mysql4.0.11a-gamma-win.zip到临时目录下运行setup.exe即可，一切默认安装。 安装完成后运行c:\mysql\bin\winmysqladmin.exe。第一次安装需要设置管理员和密码，一般设置为root,yourpassword。关闭后，状态栏会出现一个绿灯表示数据库已运行。</p>
<p>3.PHP调试环境安装（APACHE模块方式） PHP是服务器端可产生动态网页并可以嵌入HTML的脚本程序语言。用于网页数据库之间的数据交换。 将PHP压缩文件解压到任意目录，推荐解压到C:\PHP;打开PHP目录将php.ini-dist（PHP核心配置文件）改为php.ini连同php4ts.dll一起复制到系统目录中， XP C:\windows\system32 Win2000 C:\winnt\system32 最后修改一下Apache配置文件httpd.conf（c:\apache\conf\httpd.conf)添加AddType&nbsp; application/x-httpd-php&nbsp;&nbsp; .php 添加LoadModule php4_module&nbsp;&nbsp; C:php/sapi/php4apache2.dll 修改完要重新启动Apache，才能生效。</p>
<p>4.Phpmyadmin安装 解压到Apache下的htdocs目录下，修改Configration.inc.php其中的</p>
<table align="center" border="0">
<tbody>
<tr>
<td>$cfg[&#39;Servers&#39;][$i][&#39;host&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#39;localhost&#39;; // MySQL hostname or IP address $cfg[&#39;Servers&#39;][$i][&#39;port&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#39;&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // MySQL port &#8211; leave blank for default port $cfg[&#39;Servers&#39;][$i][&#39;socket&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#39;&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Path to the socket &#8211; leave blank for default socket $cfg[&#39;Servers&#39;][$i][&#39;connect_type&#39;]&nbsp; = &#39;tcp&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // How to connect to MySQL server (&#39;tcp&#39; or &#39;socket&#39;) $cfg[&#39;Servers&#39;][$i][&#39;extension&#39;]&nbsp;&nbsp;&nbsp;&nbsp; = &#39;mysql&#39;;&nbsp;&nbsp;&nbsp;&nbsp; // The php MySQL extension to use (&#39;mysql&#39; or &#39;mysqli&#39;) $cfg[&#39;Servers&#39;][$i][&#39;compress&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = FALSE;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Use compressed protocol for the MySQL connection // (requires PHP &gt;= 4.3.0) $cfg[&#39;Servers&#39;][$i][&#39;controluser&#39;]&nbsp;&nbsp; = &#39;&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // MySQL control user settings // (this user must have read-only $cfg[&#39;Servers&#39;][$i][&#39;controlpass&#39;]&nbsp;&nbsp; = &#39;&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // access to the &quot;mysql/user&quot; // and &quot;mysql/db&quot; tables). // The controluser is also // used for all relational // features (pmadb) $cfg[&#39;Servers&#39;][$i][&#39;auth_type&#39;]&nbsp;&nbsp;&nbsp;&nbsp; = &#39;config&#39;;&nbsp;&nbsp;&nbsp; // Authentication method (config, http or cookie based)? $cfg[&#39;Servers&#39;][$i][&#39;user&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#39;root&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // MySQL user $cfg[&#39;Servers&#39;][$i][&#39;password&#39;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &#39;&#39;;</td>
</tr>
</tbody>
</table>
<p>5.zend optimizer的安装默认安装即可</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomladephphuanjingdajian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JoomlaComments遇到的错误解决方法</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomlacommentsyudaodecuowujiejuefangfa.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomlacommentsyudaodecuowujiejuefangfa.html#comments</comments>
		<pubDate>Wed, 30 Sep 2009 05:54:26 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=80</guid>
		<description><![CDATA[错误： Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/42/d295195903/htdocs/Joomla/administrator/ components/com_comment/toolbar.comment.html.php on line 29 解决方法： 将29行的代码替换 function existsAkoTable() { JFactory::getDBO()-&#62;setQuery(); } 替换为： function existsAkoTable() { $database = JFactory::getDBO(); $database-&#62;setQuery(''); }]]></description>
			<content:encoded><![CDATA[<p>错误：<br />
<strong>Parse error</strong>: syntax error, unexpected T_OBJECT_OPERATOR in <strong>/homepages/42/d295195903/htdocs/Joomla/administrator/<br />
</strong><strong>components/com_comment/toolbar.comment.html.php</strong> on line <strong>29</strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;">解决方法：<span id="more-80"></span></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;">将29行的代码替换<br />
</span></p>
<table style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: Arial,Helvetica,sans-serif; vertical-align: baseline; border-collapse: separate;" border="0" cellspacing="1" cellpadding="3">
<tbody style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">
<tr style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">
<td style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: Arial,Helvetica,sans-serif; vertical-align: baseline; text-align: left;"><code style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">function existsAkoTable()<br />
{<br />
JFactory::getDBO()-&gt;setQuery();<br />
}<br />
</code></p>
<hr /></td>
</tr>
</tbody>
</table>
<p><span style="font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;"><br />
替换为：<br />
</span></p>
<table style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: Arial,Helvetica,sans-serif; vertical-align: baseline; border-collapse: separate;" border="0" cellspacing="1" cellpadding="3">
<tbody style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">
<tr style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">
<td style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: Arial,Helvetica,sans-serif; vertical-align: baseline; text-align: left;"><strong> </strong></td>
</tr>
<tr style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;">
<td style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: Arial,Helvetica,sans-serif; vertical-align: baseline; text-align: left;">
<hr /><code style="border-width: 0px; margin: 0px; padding: 0px; outline-width: 0px; font-weight: normal; font-style: inherit; font-size: 14px; font-family: inherit; vertical-align: baseline;"><br />
function existsAkoTable()<br />
{<br />
$database = JFactory::getDBO();<br />
$database-&gt;setQuery('');<br />
}</code></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomlacommentsyudaodecuowujiejuefangfa.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用谷歌变速箱（Google Gears）加快 Joomla! 1.5 后台的操作速度</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/yonggugebiansuxianggooglegearsjiakuaijoomla1-5houtaidecaozuosudu.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/yonggugebiansuxianggooglegearsjiakuaijoomla1-5houtaidecaozuosudu.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:22:10 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[加速]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=69</guid>
		<description><![CDATA[这篇文章是对 Phil Taylor 撰写的博客文章 Turbo Charge Your Joomla 1.5.x Admin Console 的翻译和补充，此方法已经在 Joomla! 1.5.7 上通过测试（），请放心使用。 Joomla! 1.5.x 的管理后台采用 Mootools 和大量其它 JavaScript 来实现滑动菜单等动态效果。如果用户还安装了许多第三方扩展（这几乎是必须的），以及某个 WYSIWYG 编辑器，你就会发现后台操作速度下降很多。 Blue Flame IT (Jersey) Ltd.（Phil Taylor 的公司）最近开发了一款 Joomla! 1.5.x 标准插件，此插件借用谷歌变速箱（Google Gears）的功能，可以大幅度提高 J1.5 后台的操作速度。 首先有必要介绍一下 Google Gears 的有关情况。 什么是 Google Gears？ Gears 原本是一个开源项目，它是一个浏览器插件程序，功能主要是增强网站服务器端 Web 程序与访客浏览器端的交互性，例如：借助 Gears，浏览器可以在 PC 端储存网站的某些数据，从而加快访问速度；或者网站管理员可以针对不同的地理位置编写不同的内容，则不同地区的访客就看到了各自的那部分内容。 Gears 起先是用来优化 Google 网站的访问速度的，现在它也能用于其它任何网站。很多 [...]]]></description>
			<content:encoded><![CDATA[<p>这篇文章是对 Phil Taylor 撰写的博客文章 <a title="Phil Taylor blog: Turbo Charge Your Joomla 1.5.x Admin Console" href="http://blog.phil-taylor.com/2008/09/23/turbo-charge-your-joomla-15x-admin-console/" target="_blank">Turbo Charge Your Joomla 1.5.x Admin Console</a> 的翻译和补充，此方法已经在 Joomla! 1.5.7 上通过测试（<img style="margin: 0px;" title="This extension had been tested and confirmed." src="http://www.joomlagate.com/images/stories/article/j15/j15content2008/green-tick.png" alt="This extension had been tested and confirmed." width="16" height="16" align="bottom" />），请放心使用。</p>
<p>Joomla! 1.5.x 的管理后台采用 Mootools 和大量其它 JavaScript 来实现滑动菜单等动态效果。如果用户还安装了许多第三方扩展（这几乎是必须的），以及某个 WYSIWYG 编辑器，你就会发现后台操作速度下降很多。</p>
<p>Blue Flame IT (Jersey) Ltd.（Phil Taylor 的公司）最近开发了一款 Joomla! 1.5.x 标准插件，此插件借用谷歌变速箱（Google Gears）的功能，可以大幅度提高 J1.5 后台的操作速度。</p>
<p align="center"><img style="margin: 0px;" title="Google Gears" src="http://www.joomlagate.com/images/stories/article/j15/j15content2008/Google-Gears-logo.gif" alt="Google Gears" width="153" height="43" align="absbottom" /></p>
<p align="center"><span id="more-69"></span></p>
<p align="left">首先有必要介绍一下 <strong>Google Gears</strong> 的有关情况。</p>
<ul>
<li>
<h2>什么是 Google Gears？</h2>
</li>
</ul>
<p align="left">Gears 原本是一个开源项目，它是一个浏览器插件程序，功能主要是增强网站服务器端 Web 程序与访客浏览器端的交互性，例如：借助 Gears，浏览器可以在 PC 端储存网站的某些数据，从而加快访问速度；或者网站管理员可以针对不同的地理位置编写不同的内容，则不同地区的访客就看到了各自的那部分内容。</p>
<p align="left">Gears 起先是用来优化 Google 网站的访问速度的，现在它也能用于其它任何网站。很多 Web 程序已经开始使用 Gears，例如 Google Reader 和 Google Docs。还有针对手机浏览器的 Picasa 在线相册 也使用了 Gears。大家熟悉的 Blog 程序 WordPress 也有一款插件使用 Google Gears 来加速。本文介绍的这个 Joomla! 1.5 Google Gears 插件就是从 WordPress 的插件改造来的。</p>
<p align="left">Google Gears 的工作需要 Web 程序和浏览器都安装相应插件。当你用安装了 Gears 的浏览器访问安装了 Gears 的网站时，浏览器会提示“The website below wants to use Gears”，如果你信任该网站，就勾选“I trust this site. Allow it to use Gears”，然后点击“Allow” 按钮；如果想阻止某个网站使用 Gears，就勾选“Never allow this site”。以后再访问该网站就不再询问。浏览器上的 Gears 就会自动将该网站上某些数据储存在你的个人电脑上。如果要管理对网站的 Gears 许可，可以在浏览器上进行设置。FireFox 和 IE 浏览器的设置位置在“工具 -&gt; <strong>Google Gears Settings</strong>”。</p>
<ul>
<li>
<h2>Google Gears 把数据存在什么地方？</h2>
</li>
</ul>
<p align="left">根据 PC 端操作系统及浏览器不同，Google Gears 存放本地数据的位置也不同。以下是常用操作系统及浏览器的有关位置：</p>
<p align="left"><strong>Windows Vista</strong></p>
<ul>
<li><strong>Internet Explorer</strong>: C:\Users\&lt;user&gt;\AppData\LocalLow\Google\Google Gears for Internet Explorer</li>
<li><strong>Firefox</strong>: Database files are stored in the user profile directory. C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Profiles\{PROFILE}.default\Google Gears for Firefox</li>
<li><strong>Google Chrome</strong>: Database files are stored in the user profile directory. C:\Users\&lt;user&gt;\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears</li>
</ul>
<p align="left"><strong>Windows XP</strong></p>
<ul>
<li><strong>Internet Explorer</strong>: C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Google\Google Gears for Internet Explorer</li>
<li><strong>Firefox</strong>: Database files are stored in the user profile directory. C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Mozilla\Firefox\Profiles\{PROFILE}.default\Google Gears for Firefox</li>
<li><strong>Google Chrome</strong>: Database files are stored in the user profile directory. C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears</li>
</ul>
<p align="left"><strong>Mac OS X</strong></p>
<ul>
<li><strong>Firefox</strong>: Database files are stored in the user profile directory. Users/&lt;user&gt;/Library/Caches/Firefox/Profiles/{PROFILE}.default/Google Gears for Firefox</li>
<li><strong>Safari</strong>: ~/Library/Application Support/Google/Google Gears for Safari</li>
</ul>
<p><strong>Linux Firefox</strong>: Database files are stored in the user home directory. &lt;user&gt;/.mozilla/firefox/{PROFILE}.default/Google Gears for Firefox</p>
<p><strong>Microsoft Windows Mobile Internet Explorer</strong>: Database files are stored in the Application Data directory. \Application Data\Google\Google Gears for Internet Explorer</p>
<p>另外，Google Gears 针对不同电脑和不同浏览器储存的数据进度也不同。如果你更换了电脑，或者更换了浏览器，就必须重新同步数据。</p>
<ul>
<li>
<h2>安装 Google Gears 的系统要求</h2>
</li>
</ul>
<p>下列环境的任意一种都可以安装 Gears：</p>
<ol>
<li>Microsoft Windows XP or Vista with Firefox 1.5+ or Internet Explorer 6+</li>
<li>Apple Mac OS X 10.4+ with Firefox 1.5+</li>
<li>Apple Mac OS X 10.4.11 (or higher) or 10.5.3 (or higher) with Safari 3.1.1</li>
<li>Linux with Firefox 1.5+</li>
<li>Microsoft Windows Mobile 5 or higher, with Internet Explorer 4.01+</li>
</ol>
<p>目前 Gears 不支持下列设备：</p>
<ol>
<li>Samsung i320 and i320N</li>
<li>Orange SPV C600</li>
<li>Motorola Q</li>
</ol>
<ul>
<li>
<h2>Google Gears 的安装</h2>
</li>
</ul>
<p>安装 Google Gears 的过程很简单：以管理员身份登录你的个人电脑（一般人都是开机默认管理员用户登录吧），然后访问 <a title="download Google Gears" href="http://gears.google.com/" target="_blank">Google Gears 官方网站</a>，点击主页右侧的“下载”按钮，就会弹出小窗口自动下载安装包，下载完成后开始安装。安装完成后会询问你是否要重新启动浏览器。必须重新启动浏览器才能使 Gears 生效。</p>
<p>注意：如果同一个浏览器开启了多个窗口，必须关闭所有窗口才算完全关闭，然后重新启动。有些电脑上会出现窗口已关闭，但是浏览器进程还未关闭的情况。这时候可以通过同时按下 Ctrl + Alt + Del 进入任务管理器，将残留的浏览器进程关闭。</p>
<p>怎么才能确认已经安装成功？很简单：重新启动浏览器后再次访问  <a href="http://gears.google.com/">http://gears.google.com</a> 网站，该页面就会告诉你是否已经安装成功。</p>
<div style="width: 431px;"><a title="Google Gears is Installed" rel="gb_imageset[Google Gears is Installed]" href="http://www.joomlagate.com//images/stories/article/j15/j15content2008/Google-Gears-installed.gif" target="_blank" rel="lightbox[69]"><img title="Google Gears is Installed" src="http://www.joomlagate.com/mambots/content/multithumb/thumbs/b.300.250.16777215.0..stories.article.j15.j15content2008.Google-Gears-installed.gif" alt="Google Gears is Installed" width="431" height="250" /></a></p>
<div>Google Gears is Installed</div>
</div>
<p>上图就是成功安装 Gears 之后再访问 Google Gears 官方网站时的画面，右侧原来显示“Install Now” 的地方现在显示的是“Gears is installed”，并且显示了版本号及你正在使用的操作系统平台和浏览器类型。</p>
<p>不论你是通过哪个浏览器安装的，安装之后，同一个电脑上的所有浏览器都会看到同样的 Google Gears 安装成功消息。</p>
<p>如果将来想卸载，操作方法跟卸载其它软件一样。Windows XP 用户就直接从控制面板上的“添加/删除程序”里面卸载即可。</p>
<p>在初次使用 Google Gears 时可能会发现访问某些网站反而速度变慢了，这是因为远程数据还未同步到本地。一旦数据同步完成，再访问时就快多了。</p>
<ul>
<li>
<h2>在 Joomla! 1.5 上安装 Google Gears 插件</h2>
</li>
</ul>
<p>注意：这款插件只支持 <span style="color: #ff0000;"><strong>php 5.0</strong></span> 以上版本。</p>
<ol>
<li>首先下载 Google Gears Support 插件 for Joomla! 1.5；</li>
<li>通过 Joomla 1.5.x 后台安装此插件（与其它 J15 插件一样）；</li>
<li>点击顶部菜单的“扩展套件 -&gt; 插件管理”，找到“System &#8211; System &#8211; Google Gears Support”插件并打开；</li>
<li>发布（启用）此插件，点击“保存”，然后等待大约 5 秒钟就会看到顶部“预览”链接旁边出现一个新的链接：“Update Gears”；
<div>
<div style="width: 449px;"><a title="Update Gears link on the toolbar" rel="gb_imageset[Update Gears link on the toolbar]" href="http://www.joomlagate.com//images/stories/article/j15/j15content2008/google-gears-link.gif" target="_blank" rel="lightbox[69]"><img title="Update Gears link on the toolbar" src="http://www.joomlagate.com/mambots/content/multithumb/thumbs/b.449.163.16777215.0..stories.article.j15.j15content2008.google-gears-link.gif" alt="Update Gears link on the toolbar" width="449" height="163" /></a></p>
<div>Update Gears link on the toolbar</div>
</div>
</div>
</li>
<li>点击这个 Update Gears 链接，根据提示操作 (如果你的 PC 上还没有安装 Google Gears，就会提示你安装)；<br />
点击工具栏上的 Update Gears 链接之后，首先弹出下面的窗口。本站测试时已经预先安装了 Gears，因此这里也显示 Gears is installed on this computer 。不过，还没有激活。</p>
<div>
<div style="width: 366px;"><a title="warning message before Google Gears enabled" rel="gb_imageset[warning message before Google Gears enabled]" href="http://www.joomlagate.com//images/stories/article/j15/j15content2008/google-gears-ask.gif" target="_blank" rel="lightbox[69]"><img title="warning message before Google Gears enabled" src="http://www.joomlagate.com/mambots/content/multithumb/thumbs/b.300.250.16777215.0..stories.article.j15.j15content2008.google-gears-ask.gif" alt="warning message before Google Gears enabled" width="366" height="250" /></a></p>
<div>warning message before Google Gears enabled</div>
</div>
</div>
<p>点击这个弹出窗口左下角的“Enable Gears”按钮，就会再次弹出一个小窗口，询问是否启用 Gears：</p>
<div style="width: 404px;"><a title="Security warning before enable Gears" rel="gb_imageset[Security warning before enable Gears]" href="http://www.joomlagate.com//images/stories/article/j15/j15content2008/google-gears-enable.gif" target="_blank" rel="lightbox[69]"><img title="Security warning before enable Gears" src="http://www.joomlagate.com/mambots/content/multithumb/thumbs/b.300.250.16777215.0..stories.article.j15.j15content2008.google-gears-enable.gif" alt="Security warning before enable Gears" width="404" height="250" /></a></p>
<div>Security warning before enable Gears</div>
</div>
<p>勾选“安全警告”弹出窗口上的“我信任该网站”，然后点击“允许”按钮，就完成了 Google Gears 的启用。</li>
<li>在接下来很短时间内，大约 900 多个文件都会针对 gears 进行更新。然后你再操作 Joomla! 1.5 后台，你会发现快多了！</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/yonggugebiansuxianggooglegearsjiakuaijoomla1-5houtaidecaozuosudu.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>20个 Joomla 1.5 提升网站效率的小技巧</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/20gejoomla1-5tishengwangzhanxiaolvdexiaojiqiao.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/20gejoomla1-5tishengwangzhanxiaolvdexiaojiqiao.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:18:50 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[技巧]]></category>
		<category><![CDATA[提升效率]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=67</guid>
		<description><![CDATA[相较于大多数CMS，复杂的Joomla在效率上一直为人诟病，但还是可以依照使用者的调教增进一些读取效率。事实上这些观念在大多数CMS或BLOG程序中都适用，重点是你愿意花时间测试及调试，并且懂得一些自己用的CMS的运作原理。 1.不要在首页放太多不必要的模块，许多模块甚至有自己的资料库或搭配的组件，你可以想像一道门却有众多人要挤进来是什么状况，弄不好可能就卡住不动了。 2.不需要每页都出现的模块，就用指派吧，不要每页都读取一次。比如与A单元有关的热门文章列表，不如就只在A单元出现就好。登入模块也只要在首页出现就好了，或是干脆选择能够自动检测内容的模块。 3.没有用到的插件，就直接停用，以免每次页面读取都执行一次。 4.上下页按钮、插入图片按钮、分页功能(pagebreak)、文章模块引入(load module)，评分(Rating)，信箱隐藏(Email Cloaking)等等，没用到的能关闭就关闭吧。 5.将Search相关插件都关闭吧，申请个Google搜索又能赚钱不是很不赖。 6.启动SEF的代价昂贵，开启Apache Rewriteer更是所费不赀。 7.开启全站缓存(Cache)吧，这会让你体验飙车般的速度。但网站调整期间记得关闭，不然你会想砸电脑。 8.有缓存功能的模块或插件也一并启动吧，但请谨慎输入缓存时间。随机文章就免了，开了还叫随机吗？ 9.启动Gzip页面压缩。 10.只有你，或固定人数编辑的网站，就关闭需要注册才能使用的功能吧。每次都检测一下有没有注册电脑也是会烦的。 11.有WEB服务能提供的功能，就不要在Joomla中使用，如流量统计、搜索等。 12.打开模板，看看head中藏了几只肥大的js怪物，把它们都移到body后方。 13. (给高阶者)别在模板直接载入mootools或它的相关js档案，如tooltip、caption等。在需要的地方用JHTML::()引入即可(请参考官方API使用手册)。 14.自己新增的javascript，如Google Analytics等等，一样也尽量放在body后方，让网页载入完才启动它(除非提供者强调不能放body后方)。 15.广告或书签按钮太多会拖慢载入效率，甚至直接卡死。你可以运用javascript技巧让广告在页面读取完后才载入。 16.善用工具或扩展把文章中的大图制作成缩略图，点击之后才浏览原图。 17.后台可使用Google Gears来提升载入效率，请参考：用谷歌变速箱（Google Gears）加快Joomla! 1.5后台的操作速度。 18.慎选主机商，要钱的白饭总是比较香。贵点的白饭多少会附些配菜的。 19.选用装有zend optimizer或eAccelerator的主机，或要求主机商安装(有些付费的主机会免费替你安装)。 20.随时用不同的浏览器逛逛你的网站(起码FF、IE7、IE6)，有些站内的script在不同浏览器中会出错，造成CPU空转。多检查才能及时Debug。]]></description>
			<content:encoded><![CDATA[<p>相较于大多数CMS，复杂的Joomla在效率上一直为人诟病，但还是可以依照使用者的调教增进一些读取效率。事实上这些观念在大多数CMS或BLOG程序中都适用，重点是你愿意花时间测试及调试，并且懂得一些自己用的CMS的运作原理。</p>
<p>1.不要在首页放太多不必要的模块，许多模块甚至有自己的资料库或搭配的组件，你可以想像一道门却有众多人要挤进来是什么状况，弄不好可能就卡住不动了。<span id="more-67"></span></p>
<p>2.不需要每页都出现的模块，就用指派吧，不要每页都读取一次。比如与A单元有关的热门文章列表，不如就只在A单元出现就好。登入模块也只要在首页出现就好了，或是干脆选择能够自动检测内容的模块。<br />
3.没有用到的插件，就直接停用，以免每次页面读取都执行一次。<br />
4.上下页按钮、插入图片按钮、分页功能(pagebreak)、文章模块引入(load module)，评分(Rating)，信箱隐藏(Email Cloaking)等等，没用到的能关闭就关闭吧。<br />
5.将Search相关插件都关闭吧，申请个Google搜索又能赚钱不是很不赖。<br />
6.启动SEF的代价昂贵，开启Apache Rewriteer更是所费不赀。<br />
7.开启全站缓存(Cache)吧，这会让你体验飙车般的速度。但网站调整期间记得关闭，不然你会想砸电脑。<br />
8.有缓存功能的模块或插件也一并启动吧，但请谨慎输入缓存时间。随机文章就免了，开了还叫随机吗？<br />
9.启动Gzip页面压缩。<br />
10.只有你，或固定人数编辑的网站，就关闭需要注册才能使用的功能吧。每次都检测一下有没有注册电脑也是会烦的。<br />
11.有WEB服务能提供的功能，就不要在Joomla中使用，如流量统计、搜索等。</p>
<p>12.打开模板，看看head中藏了几只肥大的js怪物，把它们都移到body后方。<br />
13. (给高阶者)别在模板直接载入mootools或它的相关js档案，如tooltip、caption等。在需要的地方用JHTML::()引入即可(请参考官方API使用手册)。<br />
14.自己新增的javascript，如Google Analytics等等，一样也尽量放在body后方，让网页载入完才启动它(除非提供者强调不能放body后方)。<br />
15.广告或书签按钮太多会拖慢载入效率，甚至直接卡死。你可以运用javascript技巧让广告在页面读取完后才载入。<br />
16.善用工具或扩展把文章中的大图制作成缩略图，点击之后才浏览原图。<br />
17.后台可使用Google Gears来提升载入效率，请参考：<a href="http://52joomla.eblhost.cn/2009/09/23/%e7%94%a8%e8%b0%b7%e6%ad%8c%e5%8f%98%e9%80%9f%e7%ae%b1%ef%bc%88google-gears%ef%bc%89%e5%8a%a0%e5%bf%ab-joomla-1-5-%e5%90%8e%e5%8f%b0%e7%9a%84%e6%93%8d%e4%bd%9c%e9%80%9f%e5%ba%a6/">用谷歌变速箱（Google Gears）加快Joomla! 1.5后台的操作速度</a>。<br />
18.慎选主机商，要钱的白饭总是比较香。贵点的白饭多少会附些配菜的。<br />
19.选用装有zend optimizer或eAccelerator的主机，或要求主机商安装(有些付费的主机会免费替你安装)。<br />
20.随时用不同的浏览器逛逛你的网站(起码FF、IE7、IE6)，有些站内的script在不同浏览器中会出错，造成CPU空转。多检查才能及时Debug。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/20gejoomla1-5tishengwangzhanxiaolvdexiaojiqiao.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EasyBook组件常用设置及小技巧</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/easybookzujianchangyongshezhijixiaojiqiao.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/easybookzujianchangyongshezhijixiaojiqiao.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 07:08:20 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[easybook]]></category>
		<category><![CDATA[技巧]]></category>
		<category><![CDATA[设置]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=59</guid>
		<description><![CDATA[EasyBook是Joomla平台上非常不错的一款留言本组件，但初次使用的朋友们可能会遇到这样的问题： 在后台设置了所有人都能发表留言，但前台任然需要注册后才能发表。 翻阅了不少资料，终于找到了答案： 在后台EasyBook组件《统一参数》中设置“可新增留言群组”为“EveryBody”； 如下图中将菜单中设置的留言菜单访问权限同样设置为“EveryBody”即可。]]></description>
			<content:encoded><![CDATA[<p>EasyBook是Joomla平台上非常不错的一款留言本组件，但初次使用的朋友们可能会遇到这样的问题：</p>
<p>在后台设置了所有人都能发表留言，但前台任然需要注册后才能发表。</p>
<p>翻阅了不少资料，终于找到了答案：</p>
<ol>
<li>在后台EasyBook组件《统一参数》中设置“<span>可新增留言群组</span>”为“EveryBody”；</li>
<li>如下图中将菜单中设置的留言菜单访问权限同样设置为“EveryBody”即可。<span id="more-59"></span></li>
</ol>
<div id="attachment_61" class="wp-caption aligncenter" style="width: 671px"><img class="size-full wp-image-61" title="easybook问题解决方法" src="http://52joomla.eblhost.cn/wp-content/uploads/2009/09/easybook1.jpg" alt="easybook问题解决方法" width="661" height="384" /><p class="wp-caption-text">easybook问题解决方法</p></div>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 556px"><img class="size-full wp-image-60" title="easybook设置" src="http://52joomla.eblhost.cn/wp-content/uploads/2009/09/easybook.jpg" alt="easybook设置" width="546" height="906" /><p class="wp-caption-text">easybook设置</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/easybookzujianchangyongshezhijixiaojiqiao.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Joomla1.5.X核心内容模板位置</title>
		<link>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-xhexinneirongmobanweizhi.html</link>
		<comments>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-xhexinneirongmobanweizhi.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 08:57:15 +0000</pubDate>
		<dc:creator>52Joomla</dc:creator>
				<category><![CDATA[Joomla使用教程]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[位置]]></category>
		<category><![CDATA[内容]]></category>
		<category><![CDATA[核心]]></category>

		<guid isPermaLink="false">http://52joomla.eblhost.cn/?p=35</guid>
		<description><![CDATA[首页文章模块： \components\com_content\views\frontpage\tmpl\default_item.php 文章页面模板： \components\com_content\views\article\tmpl\default.php 分类/单元模板： \components\com_content\views\category(section)\tmpl\blog_item.php 文章归档模板： \components\com_content\views\archive\tmpl\default_items.php Joomla核心文件，请勿随意修改，修改前尽量做好备份！]]></description>
			<content:encoded><![CDATA[<p>首页文章模块：</p>
<p>\components\com_content\views\frontpage\tmpl\default_item.php</p>
<p>文章页面模板：</p>
<p>\components\com_content\views\article\tmpl\default.php</p>
<p>分类/单元模板：</p>
<p>\components\com_content\views\category(<span style="color: #0000ff;">section</span>)\tmpl\blog_item.php</p>
<p>文章归档模板：</p>
<p>\components\com_content\views\archive\tmpl\default_items.php</p>
<p><span style="color: #ff0000;">Joomla核心文件，请勿随意修改，<strong>修改前尽量做好备份</strong>！</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.52joomla.com/joomla-knowledgegained/joomla1-5-xhexinneirongmobanweizhi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	
</channel>
</rss>
