<?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>Freddie&#039;s Ria World- 提高Magento运行速度（转） &#8211; Blog Title</title>
	<atom:link href="http://javaflex.net/category/opensource/feed/" rel="self" type="application/rss+xml" />
	<link>http://javaflex.net</link>
	<description>Just another flex weblog</description>
	<lastBuildDate>Thu, 19 Aug 2010 08:28:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>zh</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>提高Magento运行速度（转）</title>
		<link>http://javaflex.net/opensource/magento-2/</link>
		<comments>http://javaflex.net/opensource/magento-2/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 08:28:21 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[开源系统]]></category>
		<category><![CDATA[magento速度]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=230</guid>
		<description><![CDATA[一、Magento Compiler可以提高 25% 到 50% 速度
Magento的性能一直是大家比较关心的焦点，现在Magento最新的版本 1.3.2.2 增加了 Magento Compiler 模块，根据官方的资料，该模块可以提高 25% 到 50% 的性能.
我也在测试网站上激活该模块，感觉效果还是不错，目前还是beta版本，不过还是推荐使用Magento的朋友试试。
该模块是从版本 1.3.2.1 开始引入的，如果你的Magento网站已经是1.3.2.1或者更高的版本，该模块已经预装好了，可以直接从后台激活该模块：
System -&#62; Tools -&#62; Compilation (Beta)
然后选 Run Compilation Process, 大约数分钟之后会出现 Compilation Successfully finished 就可以了。如果使用有问题，只需在同一页面下按 Disable 按钮就可以了。
对于使用1.3.2.1 之前的版本的朋友，需要升级到最新版本（目前是1.3.2.2）然后再安装该模块，我试过在低于1.3.2.1的Magento网站中安装，安装后在 Tools中找不到Compilation，所以必须升级到1.3.2.1 或更新的版本才能使用该模块，模块URL：
http://www.magentocommerce.com/extension/1359/magento-compiler
可以用下面 Extension Key 通过Magento Connect 来安装：
magento-core/Mage_Compiler
二、让MAGENTO加速一倍的办法
大家可能都发现了，刚装上MAGENTO的时候，MAGENTO是比乌龟还慢的一个系统。。。
如何解决呢？其实很多的主机都已经默认安装一个组件：GZIP。 我们就是要通过修改它来提高MAGENTO的运行速度。
关于能提高多少的问题？大家可以在修改之前去mod_gzip tester 看看你MAGENTO网站的速度，然后在修改之后再去看看。。。
现在我们为MAGENTO开启GZIP。比较方便的方法是修改根目录下.htaccess 文件。我们只需要去掉一些注释就可以了。
在根目录.htaccess找到和以下代码相似的代码，并且把代码修改得和下面一模一样。(去掉前面的#符号。)


############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x [...]]]></description>
			<content:encoded><![CDATA[<p><strong>一、Magento Compiler可以提高 25% 到 50% 速度</strong></p>
<p>Magento的性能一直是大家比较关心的焦点，现在Magento最新的版本 1.3.2.2 增加了 Magento Compiler 模块，根据官方的资料，该模块可以提高 25% 到 50% 的性能.</p>
<p>我也在测试网站上激活该模块，感觉效果还是不错，目前还是beta版本，不过还是推荐使用Magento的朋友试试。</p>
<p>该模块是从版本 1.3.2.1 开始引入的，如果你的Magento网站已经是1.3.2.1或者更高的版本，该模块已经预装好了，可以直接从后台激活该模块：</p>
<p>System -&gt; Tools -&gt; Compilation (Beta)</p>
<p>然后选 Run Compilation Process, 大约数分钟之后会出现 Compilation Successfully finished 就可以了。如果使用有问题，只需在同一页面下按 Disable 按钮就可以了。<span id="more-230"></span></p>
<p>对于使用1.3.2.1 之前的版本的朋友，需要升级到最新版本（目前是1.3.2.2）然后再安装该模块，我试过在低于1.3.2.1的Magento网站中安装，安装后在 Tools中找不到Compilation，所以必须升级到1.3.2.1 或更新的版本才能使用该模块，模块URL：</p>
<p>http://www.magentocommerce.com/extension/1359/magento-compiler</p>
<p>可以用下面 Extension Key 通过Magento Connect 来安装：<br />
magento-core/Mage_Compiler</p>
<p><strong>二、让MAGENTO加速一倍的办法</strong></p>
<p>大家可能都发现了，刚装上MAGENTO的时候，MAGENTO是比乌龟还慢的一个系统。。。</p>
<p>如何解决呢？其实很多的主机都已经默认安装一个组件：GZIP。 我们就是要通过修改它来提高MAGENTO的运行速度。</p>
<p>关于能提高多少的问题？大家可以在修改之前去mod_gzip tester 看看你MAGENTO网站的速度，然后在修改之后再去看看。。。</p>
<p>现在我们为MAGENTO开启GZIP。比较方便的方法是修改根目录下.htaccess 文件。我们只需要去掉一些注释就可以了。</p>
<p>在根目录.htaccess找到和以下代码相似的代码，并且把代码修改得和下面一模一样。(去掉前面的#符号。)</p>
<div>
<div>
<pre>############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary

另外还有下面这一段：

############################################
## enable resulting html compression

php_flag zlib.output_compression on</pre>
</div>
</div>
<p><strong>三、Zend Optimizer</strong><br />
Zend Optimizer用优化代码的方法来提高PHP 4.0应用程序的执行速度。实现的原理是对那些在被最终执行之前由运行编译器(Run-Time Compiler)产生的代码进行优化。一般情况下，执行使用Zend Optimizer的PHP程序比不使用的要快40%到100%。这意味着网站的访问者可以更快的浏览网页，从而完成更多的事务，创造更好的客户满意度。 更快的反应同时也意味着可以节省硬件投资，并增强网站所提供的服务。所以，使用Zend Optimizer，就等于提高了电子商务的盈利能力。Zend Optimizer能给PHP用户带来很多益处，特别是那些运营网站的人。快速运行PHP程序可以显著降低服务器的CPU负载，并可以减少一半的反应时 间，也就是从访问者点击链接到服务器开始读取页面之间的时间。</p>
<p><strong>四、站点优化</strong><br />
magento的网站实在是太慢了，想了好多办法，参考了好多资料，做了很多测试，总结一下大概的步骤：<br />
１、压缩js,css代码，如果有必要把所有的css,js分别综合到一个文件中，并压缩，缓存<br />
２、清除magento模板中不必要的注释，为所使用到的图片瘦身<br />
３、优化magento代码，这个步骤工作量大，但可能是效果显著的步骤，不过前提是你非常熟悉magento，彻底删除不用的模块，关闭没用的 block，清除无效，无用的xml（解析xml非常昂贵的），在一个页面中尽量不要大量调用magento的image resize功能，非常消耗内存，除非你自己优化代码。<br />
４、mysql配置优化，充分发挥你的硬件资源，下面的数值要根据你的配置调整</p>
<div>
<div>
<pre>key_buffer_size = 512M
max_allowed_packet = 64M
table_cache = 512
sort_buffer_size = 4M
net_buffer_length = 8K
read_buffer_size = 4M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 64M
tmp_table_size = 128M
query_cache_size = 96M
query_cache_type = 1
thread_cache_size = 8
max_connections = 400
wait_timeout = 300</pre>
</div>
</div>
<p>５、将magento的var目录挂载到内存中，加快读取速度，如</p>
<div>
<div>
<pre>mount -t tmpfs -o size=100M,mode=0777 tmpfs var</pre>
</div>
</div>
<p>６、安装php加速器，如APC，XCACHE,eAccelerator，安装方法参考相关的网站</p>
<p>然而归于根本，最大的优化来自于对模板，对代码，对block的优化。<br />
<a href="http://www.magentocommerce.com/blog/comments/performance-is-key-notes-on-magentos-performance/" target="_blank">http://www.magentocommerce.com/blog/comments/performance-is-key-notes-on-magentos-performance/</a></p>
<p><a href="http://www.magentocommerce.com/blog/comments/understanding-magento-scalability-and-performance-1/" target="_blank">http://www.magentocommerce.com/blog/comments/understanding-magento-scalability-and-performance-1/</a></p>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/linux/install-magento-on-centos/" rel="bookmark" class="crp_title">在centos安装magento</a></li><li><a href="http://javaflex.net/seo/how-to-do-backlinks/" rel="bookmark" class="crp_title">不得不看的优化反向链接的四大原则</a></li><li><a href="http://javaflex.net/linux/mysqlmycnf/" rel="bookmark" class="crp_title">Mysql配置文件my.cnf详解</a></li><li><a href="http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/" rel="bookmark" class="crp_title">magento添加多货币 How to Setup a Dual Currency Magento Shop</a></li><li><a href="http://javaflex.net/opensource/50-wordpress-tutorial/" rel="bookmark" class="crp_title">WordPress的50个最强教程</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/opensource/magento-2/&amp;title=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/opensource/magento-2/&amp;t=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89+-+http://b2l.me/ajdve3+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/opensource/magento-2/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/opensource/magento-2/&amp;title=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/opensource/magento-2/&amp;title=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89&amp;srcUrl=http://javaflex.net/opensource/magento-2/&amp;srcTitle=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/opensource/magento-2/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/opensource/magento-2/&amp;n=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/opensource/magento-2/&amp;title=%E6%8F%90%E9%AB%98Magento%E8%BF%90%E8%A1%8C%E9%80%9F%E5%BA%A6%EF%BC%88%E8%BD%AC%EF%BC%89&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/opensource/magento-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决Magento“Must specify JSON encoded source for decoding”的问题！</title>
		<link>http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/</link>
		<comments>http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 06:16:17 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[开源系统]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=222</guid>
		<description><![CDATA[在更改magento属性系列的时候，出现了这样的问题：
“Must specify JSON encoded source for decoding”
下面是报错的内容：
#0 /home/mycpanelusername/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php(99): Zend_Json_Decoder::decode(NULL)
#1 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_Catalog_Product_SetController-&#62;saveAction()
#2 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action-&#62;dispatch(’save’)
#3 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin-&#62;match(Object(Mage_Core_Controller_Request_Http))
#4 /home/mycpanelusername/public_html/app/Mage.php(447): Mage_Core_Controller_Varien_Front-&#62;dispatch()
#5 /home/mycpanelusername/public_html/index.php(52): Mage::run()
#6 {main}
Google了一下，问题解决了：
Try turning off your cache in magento (in the admin-&#62;System-&#62;Cache Management-&#62;Disable All Cache) and then navigate to your cache directory (\var\cache) and manually delete everything in that directory. You can delete the stuff in (\var\session) for [...]]]></description>
			<content:encoded><![CDATA[<p>在更改magento属性系列的时候，出现了这样的问题：</p>
<p>“Must specify JSON encoded source for decoding”</p>
<p>下面是报错的内容：</p>
<p>#0 /home/mycpanelusername/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php(99): Zend_Json_Decoder::decode(NULL)<br />
#1 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_Catalog_Product_SetController-&gt;saveAction()<br />
#2 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action-&gt;dispatch(’save’)<br />
#3 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin-&gt;match(Object(Mage_Core_Controller_Request_Http))<br />
#4 /home/mycpanelusername/public_html/app/Mage.php(447): Mage_Core_Controller_Varien_Front-&gt;dispatch()<br />
#5 /home/mycpanelusername/public_html/index.php(52): Mage::run()<br />
#6 {main}<br />
Google了一下，问题解决了：</p>
<p>Try turning off your cache in magento (in the admin-&gt;System-&gt;Cache Management-&gt;Disable All Cache) and then navigate to your cache directory (\var\cache) and manually delete everything in that directory. You can delete the stuff in (\var\session) for good measure as well if you like. Then try the attribute sets again.</p>
<p>1.禁用所有缓存。</p>
<p>2.到你的web服务器，进入\var\cache目录下，删除所有文件即可！</p>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/it/change-magento-default-sort/" rel="bookmark" class="crp_title">修改magento默认排列顺序</a></li><li><a href="http://javaflex.net/linux/install-magento-on-centos/" rel="bookmark" class="crp_title">在centos安装magento</a></li><li><a href="http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/" rel="bookmark" class="crp_title">magento添加多货币 How to Setup a Dual Currency Magento Shop</a></li><li><a href="http://javaflex.net/java/orghibernatestalestateexception-batch-update-returned-unexpected-row-count-update-0-actual-row-count-0-expected-1/" rel="bookmark" class="crp_title">org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1</a></li><li><a href="http://javaflex.net/opensource/magento-show-views-extension/" rel="bookmark" class="crp_title">显示最新评论的扩展Magento</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;title=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;t=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81+-+http://b2l.me/adw4d3+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/opensource/magento“must-specify-json-encoded-source-for-decoding”/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;title=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;title=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81&amp;srcUrl=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;srcTitle=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;n=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/&amp;title=%E8%A7%A3%E5%86%B3Magento%E2%80%9CMust+specify+JSON+encoded+source+for+decoding%E2%80%9D%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%81&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/opensource/magento%e2%80%9cmust-specify-json-encoded-source-for-decoding%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress多语言插件:qTranslate</title>
		<link>http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/</link>
		<comments>http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 08:25:03 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=177</guid>
		<description><![CDATA[qTranslate是一款WordPress多语言插件，用于建立多种语言的WordPress文章,是一位移居德国的中国网友制作的。
下载地址是：http://wordpress.org/extend/plugins/qtranslate/
安装没什么好说的。这里要强调一点的是，一定要下载你wordpress版本对应版本的qtranslate，不然就麻烦了。
安装完后，在后台简单的设置一下就可以使用了。如果要在前台显示切换器，到主题下的widgets里面，将它加到你需要的地方就OK了。
如果我需要定制切换器的外观和位置呢？例如像本站一样放在右上角。
只需两步就可以搞定！
1.找到你主题文件夹下面的header.php文件(放到右上角，你可以相应的变动)，编辑它，找到相应的位置，加上下面的代码
&#60;?php echo qtrans_generateLanguageSelectCode(&#8216;both&#8217;); ?&#62;
这里的&#8221;both&#8221;你有三种选择，text,image,both  &#8211;即显示文字，图片，图片文字一起显示。
2.因为默认的widget是垂直排列的，现在我要把它改为水平排列的，找到你所使用的主题的style.css文件，编辑它，加上以下代码：
.qtrans_language_chooser { list-style-type:none }
.qtrans_language_chooser li { float:left; margin-right:3px }
好了，大功告成拉·~~
哦，最后怎么能忘记介绍下插件作者了呢，附上作者网站：http://www.qianqin.de/
您可能也会关注:给WordPress添加一个favicon(地址栏显示图标)为WordPress的评论加上表情图标wordpress gallery主题安装8招让你的网站迅速提高Page rankWordPress CMS Hacks and Tricks




		
			Share this on del.icio.us
		
		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Subscribe to the comments for this post?
		
		
			Add this to Google Bookmarks
		
		
			Add this to Google Reader
		
		
			Post on Google Buzz
		
		
			Blog this on Blogger
		
		
			Add this to DZone
		





]]></description>
			<content:encoded><![CDATA[<p>qTranslate是一款WordPress多语言插件，用于建立多种语言的WordPress文章,是一位移居德国的中国网友制作的。</p>
<p>下载地址是：<a href="http://wordpress.org/extend/plugins/qtranslate/">http://wordpress.org/extend/plugins/qtranslate/</a></p>
<p>安装没什么好说的。这里要强调一点的是，一定要下载你wordpress版本对应版本的qtranslate，不然就麻烦了。</p>
<p>安装完后，在后台简单的设置一下就可以使用了。如果要在前台显示切换器，到主题下的widgets里面，将它加到你需要的地方就OK了。</p>
<p>如果我需要定制切换器的外观和位置呢？例如像<a href="http://javaflex.net" target="_blank">本站</a>一样放在右上角。</p>
<p>只需两步就可以搞定！</p>
<p>1.找到你主题文件夹下面的header.php文件(放到右上角，你可以相应的变动)，编辑它，找到相应的位置，加上下面的代码</p>
<p>&lt;?php echo qtrans_generateLanguageSelectCode(&#8216;both&#8217;); ?&gt;</p>
<p>这里的&#8221;both&#8221;你有三种选择，text,image,both  &#8211;即显示文字，图片，图片文字一起显示。</p>
<p>2.因为默认的widget是垂直排列的，现在我要把它改为水平排列的，找到你所使用的主题的style.css文件，编辑它，加上以下代码：</p>
<p>.qtrans_language_chooser { list-style-type:none }</p>
<p>.qtrans_language_chooser li { float:left; margin-right:3px }</p>
<p>好了，大功告成拉·~~</p>
<p>哦，最后怎么能忘记介绍下插件作者了呢，附上作者网站：<a href="http://www.qianqin.de/">http://www.qianqin.de/</a></p>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/opensource/wordpress-add-favico/" rel="bookmark" class="crp_title">给WordPress添加一个favicon(地址栏显示图标)</a></li><li><a href="http://javaflex.net/opensource/wordpress-2/" rel="bookmark" class="crp_title">为WordPress的评论加上表情图标</a></li><li><a href="http://javaflex.net/opensource/wordpress-gallery-theme-install/" rel="bookmark" class="crp_title">wordpress gallery主题安装</a></li><li><a href="http://javaflex.net/seo/8-tips-increase-yourpage-rank/" rel="bookmark" class="crp_title">8招让你的网站迅速提高Page rank</a></li><li><a href="http://javaflex.net/opensource/wordpress-cms-hacks-and-tricks/" rel="bookmark" class="crp_title">WordPress CMS Hacks and Tricks</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;title=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;t=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate+-+http://b2l.me/qzeuc+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;title=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;title=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate&amp;srcUrl=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;srcTitle=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;n=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/&amp;title=WordPress%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%8F%92%E4%BB%B6%3AqTranslate&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/opensource/wordpress-opensource/zhwordpressqtranslateenmultilanguage-wordpress-plugin-qtranslate/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CentOS 5.3安装WordPress 2.7.1</title>
		<link>http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/</link>
		<comments>http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 00:44:01 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[centos wordpress安装]]></category>
		<category><![CDATA[linux wordpress安装]]></category>
		<category><![CDATA[wordpress安装]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=92</guid>
		<description><![CDATA[1. 最小化安装centos 5.3
2. yum install php mysql httpd mysql-server php-mysql
3. 下载最新版本的 WordPress，使用 wget http://cn.wordpress.org/wordpress-2.7.1-zh_CN.zip
4. 解压使用 tar zxvf latest.tar.gz，得到 wordpress 目录
5. 将该目录移动到/var/www目录下，使用 mv wordpress /var/www/
6. cd /var/www/wordpress
7. 拷贝wp的配置文件， cp wp-config-sample.php wp-config.php
8. vim wp-config.php
9. 修改如下参数 // ** MySQL settings ** //
define(’DB_NAME’, ‘wordpress’); // 数据库名
define(’DB_USER’, ‘wpuser’); // 您的 MySQL 用户名
define(’DB_PASSWORD’, ‘wpuser′); // …以及密码
define(’DB_HOST’, ‘localhost’); // 99% 你不用修改
10. /etc/init.d/mysqld [...]]]></description>
			<content:encoded><![CDATA[<p>1. 最小化安装centos 5.3<br />
2. yum install php mysql httpd mysql-server php-mysql<br />
3. 下载最新版本的 WordPress，使用 wget http://cn.wordpress.org/wordpress-2.7.1-zh_CN.zip<br />
4. 解压使用 tar zxvf latest.tar.gz，得到 wordpress 目录<br />
5. 将该目录移动到/var/www目录下，使用 mv wordpress /var/www/<br />
6. cd /var/www/wordpress<br />
7. 拷贝wp的配置文件， cp wp-config-sample.php wp-config.php<br />
8. vim wp-config.php<br />
9. 修改如下参数 // ** MySQL settings ** //<br />
define(’DB_NAME’, ‘wordpress’); // 数据库名<br />
define(’DB_USER’, ‘wpuser’); // 您的 MySQL 用户名<br />
define(’DB_PASSWORD’, ‘wpuser′); // …以及密码<br />
define(’DB_HOST’, ‘localhost’); // 99% 你不用修改<br />
10. /etc/init.d/mysqld start #启动mysql<br />
11. mysqladmin -u root password #第一次使用mysql, 设置密码654321<br />
12. mysqladmin -u root -p create wordpress #建立名为 wordpress 的数据库<br />
13. mysql -u root -p #设置权限<br />
14. GRANT ALL PRIVILEGES ON wordpress.* TO wpuser@localhost IDENTIFIED BY ‘12345′; #wordpress 是刚才建立的数据库；wpuser 是用于访问该数据库的用户名；12345 是这个用户的密码。都是根据 wp-config.php 设置得到的。<br />
15. 然后刷新，用 FLUSH PRIVILEGES; 最后退出mysql，用 \q 。<br />
16. vim /etc/httpd/conf/httpd.conf #修改httpd的配置<br />
17. DocumentRoot “/var/www/wordpress” #默认路径修改为/var/www/wordpress<br />
18. /etc/init.d/httpd start # 启动httpd<br />
19. 打开centos5.3防火墙上的80端口。<br />
20. 在浏览器中访问 http://ipaddress/<br />
第一步输入站点名称和您的E_Mail；<br />
第二步记住用户名是admin和随机产生的密码（如7b6fda）；<br />
然后单击login连接，并输入用户名admin和刚记住的密码登陆站点，此时进入后台管理界面。可以吧密码直接改了<br />
21. WordPress基本设置配置完毕。</p>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/linux/linux-yum-install-mysq/" rel="bookmark" class="crp_title">linux yum安装mysql后要注意的一些初始化问题</a></li><li><a href="http://javaflex.net/linux/how-to-reset-mysql-password/" rel="bookmark" class="crp_title">MySql的root密码忘记了怎么办?</a></li><li><a href="http://javaflex.net/linux/install-magento-on-centos/" rel="bookmark" class="crp_title">在centos安装magento</a></li><li><a href="http://javaflex.net/opensource/wordpress-gallery-theme-install/" rel="bookmark" class="crp_title">wordpress gallery主题安装</a></li><li><a href="http://javaflex.net/opensource/wordpress/" rel="bookmark" class="crp_title">wordpress手动升级方法</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;title=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;t=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1+-+http://b2l.me/q3wq2+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;title=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;title=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1&amp;srcUrl=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;srcTitle=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;n=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/&amp;title=CentOS+5.3%E5%AE%89%E8%A3%85WordPress+2.7.1&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/linux/centos-5-3-install-wordpress-2-7-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento添加多货币 How to Setup a Dual Currency Magento Shop</title>
		<link>http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/</link>
		<comments>http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 00:41:41 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[开源系统]]></category>
		<category><![CDATA[magento币种]]></category>
		<category><![CDATA[magento添加多货币]]></category>
		<category><![CDATA[magento货币]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=90</guid>
		<description><![CDATA[ 
Login as admin and select System-&#62;Configuration, then select ’Currency Setup’ from GENERAL section,
then select Base currency, Default display currency, allowed currencies (press Control Key and Click the needed currencies) and ’Save Config’

Now come to &#8220;System-&#62;Manage Currencies’ menu

Click in Import currencies to load the exchange rate(s).

You are done. Visit the frontend and reload (you may need [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>Login as <strong>admin</strong> and select <strong>System-&gt;Configuration</strong>, then select ’<strong>Currency Setup</strong>’ from <strong>GENERAL</strong> section,<br />
then select Base currency, Default display currency, allowed currencies (press Control Key and Click the needed currencies) and ’Save Config’</p>
<p><img src="http://sree.cc/wp-content/uploads/2009/04/how-to1.gif" border="0" alt="how_to1" /></p>
<p>Now come to &#8220;System-&gt;Manage Currencies’ menu</p>
<p><img src="http://sree.cc/wp-content/uploads/2009/04/how-to2.jpg" border="0" alt="how_to2" /></p>
<p>Click in Import currencies to load the exchange rate(s).</p>
<p><img src="http://sree.cc/wp-content/uploads/2009/04/how-to3.jpg" border="0" alt="how_to3" /></p>
<p>You are done. Visit the frontend and reload (you may need to refresh your cache) to see the drop down added to your product pages.</p>
<p> </p>
<p>另外，如果 你首页没有currency 选项的话，你需要在你的cms管理页码中添加以下内容：</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:560px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;span style=&quot;color: #007700;&quot;&gt;<br />
&lt;/span&gt;</div></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:560px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;reference name&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;left&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;<br />
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;block type&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;directory/currency&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;currency&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;before&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;left.permanent.callout&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;template&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;directory/currency.phtml&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;<br />
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;reference&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;</div></div>
<p> </p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:560px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;span style=&quot;color: #007700;&quot;&gt;然后就ok啦~~~<br />
&lt;/span&gt;</div></div>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/flex/mxml-create-array/" rel="bookmark" class="crp_title">1.8在MXML中创建数组或对象</a></li><li><a href="http://javaflex.net/flex/mxml-create-array-2/" rel="bookmark" class="crp_title">1.8在MXML中创建数组或对象</a></li><li><a href="http://javaflex.net/flex/mxml-add-event-listener/" rel="bookmark" class="crp_title">1.6在MXML中添加事件监听器</a></li><li><a href="http://javaflex.net/flex/flex-labelfunction/" rel="bookmark" class="crp_title">2.6设置控件的labelFunction</a></li><li><a href="http://javaflex.net/windows/how-to-fix-mac-address/" rel="bookmark" class="crp_title">如何修改网卡的MAC（物理）地址</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;title=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;t=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop+-+http://b2l.me/q7nzp+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;title=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;title=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop&amp;srcUrl=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;srcTitle=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;n=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/&amp;title=magento%E6%B7%BB%E5%8A%A0%E5%A4%9A%E8%B4%A7%E5%B8%81+How+to+Setup+a+Dual+Currency+Magento+Shop&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>显示最新评论的扩展Magento</title>
		<link>http://javaflex.net/opensource/magento-show-views-extension/</link>
		<comments>http://javaflex.net/opensource/magento-show-views-extension/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 00:39:24 +0000</pubDate>
		<dc:creator>Freddie</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[开源系统]]></category>
		<category><![CDATA[magento 扩展]]></category>
		<category><![CDATA[magento显示最新评论]]></category>
		<category><![CDATA[magento评论]]></category>

		<guid isPermaLink="false">http://javaflex.net/?p=88</guid>
		<description><![CDATA[Key:magento-community/Morningtime_LatestReviews
Morningtime Latest Reviews
Add a table of latest reviews to your homepage CMS. Or display a product listing sorted by ratings.
== HOW DOES IT WORK? ==
You need to have products with reviews/ratings. This extensions can then show the reviews in a list.
== INSTALLATION ==
- Get key from Magento Connect
- Install via Connect Manager
- Refresh cache
- Re-login [...]]]></description>
			<content:encoded><![CDATA[<p>Key:<span onclick="tagshow(event)">magento</span>-community/Morningtime_LatestReviews</p>
<p>Morningtime Latest Reviews</p>
<p>Add a table of latest reviews to your homepage CMS. Or display a <span onclick="tagshow(event)">product</span> listing sorted by ratings.<br />
== HOW DOES IT WORK? ==<br />
You need to have products with reviews/ratings. This extensions can then show the reviews in a list.</p>
<p>== INSTALLATION ==<br />
- Get key from Magento Connect<br />
- Install via Connect Manager<br />
- Refresh cache<br />
- Re-login to admin</p>
<p>== CONFIGURATION ==<br />
Go to: System &gt; Configuration &gt; Morningtime &gt; Latest Reviews, and tweak the settings.</p>
<p>== USAGE ==<br />
Add the following block code to a CMS Page or Static <span onclick="tagshow(event)">Block</span>:</p>
<p>&#8211; Table of Reviews &#8211;<br />
{{block type=&#8221;latestreviews/list&#8221; name=&#8221;latestreviews.reviews&#8221; alias=&#8221;ratings_reviews&#8221; template=&#8221;morningtime/latestreviews/list-review.phtml&#8221;}}</p>
<p>&#8211; Product Listing by Rating &#8211;<br />
{{block type=&#8221;latestreviews/list&#8221; name=&#8221;latestreviews.products&#8221; alias=&#8221;ratings_product&#8221; template=&#8221;morningtime/latestreviews/list-product.phtml&#8221;}}</p>
<p>== CUSTOMIZATION ==<br />
Simply edit the new .phtml files. Or edit your <span onclick="tagshow(event)">CSS</span></p>
<div id="crp_related"><h3>您可能也会关注:</h3><ul><li><a href="http://javaflex.net/opensource/how-to-setup-a-dual-currency-magento-shop/" rel="bookmark" class="crp_title">magento添加多货币 How to Setup a Dual Currency Magento Shop</a></li><li><a href="http://javaflex.net/it/change-magento-default-sort/" rel="bookmark" class="crp_title">修改magento默认排列顺序</a></li><li><a href="http://javaflex.net/flex/mxml-add-event-listener/" rel="bookmark" class="crp_title">1.6在MXML中添加事件监听器</a></li><li><a href="http://javaflex.net/flex/springblazedschannelset/" rel="bookmark" class="crp_title">spring+blazeds动态配置channelSet</a></li><li><a href="http://javaflex.net/java/myeclipse-8-0-change-workspace/" rel="bookmark" class="crp_title">myeclipse 8.0 更改默认workspace</a></li></ul></div>

<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://javaflex.net/opensource/magento-show-views-extension/&amp;title=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://javaflex.net/opensource/magento-show-views-extension/&amp;t=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento+-+http://b2l.me/qzh8d+&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://javaflex.net/opensource/magento-show-views-extension/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://javaflex.net/opensource/magento-show-views-extension/&amp;title=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-googlereader">
			<a href="http://www.google.com/reader/link?url=http://javaflex.net/opensource/magento-show-views-extension/&amp;title=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento&amp;srcUrl=http://javaflex.net/opensource/magento-show-views-extension/&amp;srcTitle=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento&amp;snippet=POST_SUMMARY" rel="nofollow" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="sexy-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://javaflex.net/opensource/magento-show-views-extension/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://javaflex.net/opensource/magento-show-views-extension/&amp;n=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="sexy-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://javaflex.net/opensource/magento-show-views-extension/&amp;title=%E6%98%BE%E7%A4%BA%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA%E7%9A%84%E6%89%A9%E5%B1%95Magento&amp;description=POST_SUMMARY" rel="nofollow" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://javaflex.net/opensource/magento-show-views-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
