﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Sealyu-随笔分类-PHP</title><link>http://www.blogjava.net/sealyu/category/45940.html</link><description>--- The devil's in the Details (&lt;a href="http://www.sealyu.com"&gt;http://www.sealyu.com&lt;/a&gt;)</description><language>zh-cn</language><lastBuildDate>Fri, 10 Dec 2010 09:01:20 GMT</lastBuildDate><pubDate>Fri, 10 Dec 2010 09:01:20 GMT</pubDate><ttl>60</ttl><item><title>最受欢迎的50个免费wordpress模板(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/12/09/340138.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 09 Dec 2010 05:20:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/12/09/340138.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/340138.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/12/09/340138.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/340138.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/340138.html</trackback:ping><description><![CDATA[<div id="conBox">
<p><strong>译者注</strong>：<em>WordPress是最受欢迎的博客发布平台之一，具有免费，高度可定制、容易安装和使用等特色。由于Wordpress是如此流行和受欢迎，你可以找到大量的Wordpress开发以及管理等方面的资源，丰富的用户指南让你能够快速的上手使用。参考资料：<a href="http://zhengyong.net/marketing/30-wordpress-video-tutorials.html" target="_blank">30个顶级Wordpress培训视频指南与教程</a></em></p>
<p>有很多天才设计师选择发表免费的<a title="wordpress" href="http://zhengyong.net/marketing/category/wordpress">wordpress</a>主题。大多数时候，对于他们来说唯一的一点小要求就是保留他们的设计元素，并链接到他们的网站（非常合理的要求）。</p>
<p>在本文中，我们整理了50个优秀的、高质量的、<a href="http://zhengyong.net/marketing/50-beautiful-free-wordpress-themes.html">免费的Wordpress主题</a>给大家。这些主题包含了制作精细且华丽的主题，也有简洁清爽的主题，你可以找到适合你的设计品位的wordpress主题。</p>
<p><strong>说明</strong>: 请务必检查主题的许可协议，不要违反使用限制（如果有的话），并且保留设计师的设计属性[footer中的设计信息]，即使设计师没有要求你这么做。[<strong><a href="http://zhengyong.net/">互联网营销博客</a>注</strong>：设 计一个漂亮的wordpress theme，需要花费设计师很多的时间和精力，如果你喜欢这些免费的wordpress主题，请尊重设计师的劳动成果。]</p>
<p><strong>译者注</strong>：在本文中介绍的wordpress主题均为英文模板，对于使用英文写博客的朋友来说，这里还有我收集的3个英文写作软件可以参考，都有免费试用版本可供下载：1、<a title="whitesmoke" href="http://white-smoke.net/">Whitesmoke</a> － 最适合ESL使用的英文写作和语法纠错软件，支持mac os。2、<a title="stylewriter" href="http://www.stylewriter.org/">Stylewriter</a> － 最适合公司，组织，作家使用的plain english写作软件。3、<a title="ginger software" href="http://www.englishsoftware.co.uk/store/ginger-grammar-checker-review.html">Ginger Software</a> - 英文拼写和语法检查软件，和whitesmoke差不多，但更为专业的英文写作工具。</p>
<h3><a href="http://www.smashingmagazine.com/2008/10/30/color-paper-a-free-wordpress-theme/">Color  Paper</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/10/30/color-paper-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-01_color_paper.jpg" alt="Color Paper - screen shot." height="419" width="590" /></a></p>
<p><a href="http://freethemelayouts.com/blog/index.php?wptheme=Color%20Paper">Demo</a> | <a href="http://freethemelayouts.com/dls/colorpaper.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/10/20/cellar-heat-a-free-wordpress-theme/">Cellar  Heat</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/10/20/cellar-heat-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-02_cellar_heat.jpg" alt="Cellar Heat - screen shot." height="419" width="590" /></a><br />
<a href="http://www.cellarheat.com/">Demo</a> | <a href="http://88.198.60.17/images/cellar-wordpress-theme/cellar-heat-dark.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/10/01/simply-ornate-a-free-wordpress-theme/">Simply  Ornate</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/10/01/simply-ornate-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-03_simply_ornate.jpg" alt="Simply Ornate - screen shot." height="419" width="590" /></a><br />
<a href="http://honker.evaneckard.com/">Demo</a> | <a href="http://88.198.60.17/images/ornate-wordpress-theme/simply-ornate-twirlII.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/09/08/agregado-a-free-wordpress-theme/">Agregado</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/09/08/agregado-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-04_agregado.jpg" alt="Agregado - screen shot." height="419" width="590" /></a><br />
<a href="http://www.darrenhoyt.com/demo/agregado/">Demo</a> | <a href="http://www.darrenhoyt.com/downloads/agregado.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/08/20/notepad-chaos-a-free-wordpress-theme/">Notepad  Chaos</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/08/20/notepad-chaos-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-05_notepad_chaos.jpg" alt="Notepad Chaos - screen shot" height="419" width="590" /></a><br />
<a href="http://88.198.60.17/images/notepad-wordpress-theme/chaos.jpg">Preview</a> | <a href="http://88.198.60.17/images/notepad-wordpress-theme/wp-theme-notepad-chaos.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/07/16/wordpress-fun-a-free-wordpress-theme/">WordPress  Fun</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/07/16/wordpress-fun-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-06_wordpress_fun.jpg" alt="WordPress Fun - screen shot." height="419" width="590" /></a><br />
<a href="http://88.198.60.17/images/wordpress-theme-fun/wp-fun-large.jpg">Preview</a> | <a href="http://88.198.60.17/images/wordpress-theme-fun/wordpress-fun.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/08/08/infinity-a-free-wordpress-theme/">Infinity</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/08/08/infinity-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-07_infinity.jpg" alt="Infinity - screen shot." height="419" width="590" /></a><br />
<a href="http://88.198.60.17/images/infinity-wordpress-theme/preview-large.png">Preview</a> | <a href="http://88.198.60.17/images/infinity-wordpress-theme/infinity-theme.zip">Download</a></p>
<h3><a href="http://wefunction.com/2008/07/free-theme-outdoorsy/">Outdoorsy  Theme</a></h3>
<p><a href="http://wefunction.com/2008/07/free-theme-outdoorsy/"><img src="http://images.sixrevisions.com/2008/11/09-08_outdoorsy.jpg" alt="Outdoorsy Theme - screen shot." height="419" width="590" /></a><br />
<a href="http://wefunction.com/wp-content/uploads/2008/07/outdoorsy_fixed.zip">Download</a></p>
<h3><a href="http://webrevolutionary.com/curious/">Curious</a></h3>
<p><a href="http://webrevolutionary.com/curious/"><img src="http://images.sixrevisions.com/2008/11/09-09_curious.jpg" alt="Curious - screen shot." height="419" width="590" /></a><br />
<a href="http://webrevolutionary.com/curious-demo/">Demo</a> | <a href="http://www.webrevolutionary.com/Curious.zip">Download</a></p>
<h3><a href="http://www.dailywp.com/brightness-wordpress-theme/">Brightness</a></h3>
<p><a href="http://www.dailywp.com/brightness-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-10_brightness.jpg" alt="Brightness - screen shot." height="419" width="590" /></a><br />
<a href="http://sponsoredwp.info/brightness/">Demo</a> | <a href="http://www.dailywp.com/themes/Brightness_Package.zip">Download</a></p>
<h3><a href="http://wordpress.org/extend/themes/japan-style">japan-style</a></h3>
<p><a href="http://wordpress.org/extend/themes/japan-style"><img src="http://images.sixrevisions.com/2008/11/09-11_japan-style.jpg" alt="japan-style - screen shot." height="419" width="590" /></a><br />
<a href="http://wp-themes.com/japan-style/">Demo</a> | <a href="http://wordpress.org/extend/themes/download/japan-style.1.0.0.zip">Download</a></p>
<h3><a href="http://www.elegantwpthemes.com/biztheme-another-unique-free-wordpress-theme.html">BizTheme</a></h3>
<p><a href="http://www.elegantwpthemes.com/biztheme-another-unique-free-wordpress-theme.html"><img src="http://images.sixrevisions.com/2008/11/09-12_myblog.jpg" alt="BizTheme - screen shot." height="419" width="590" /></a><br />
<a href="http://www.elegantwpthemes.com/demo/">Demo</a> | <a href="http://www.elegantwpthemes.com/wp-content/uploads/2008/09/biztheme.zip">Download</a></p>
<h3><a href="http://fresh01.co.za/2008/07/23/scruffy/">SCRUFFY</a></h3>
<p><a href="http://fresh01.co.za/2008/07/23/scruffy/"><img src="http://images.sixrevisions.com/2008/11/09-13_scruffy.jpg" alt="SCRUFFY - screen shot." height="419" width="590" /></a><br />
<a href="http://fresh01.co.za/preview/index.php?wptheme=Scruffy">Demo</a> | <a href="http://fresh01.co.za/downloads/scruffy/">Download</a></p>
<h3><a href="http://wordpress.org/extend/themes/aspire">Aspire</a></h3>
<p><a href="http://wordpress.org/extend/themes/aspire"><img src="http://images.sixrevisions.com/2008/11/09-14_aspire.jpg" alt="Aspire - screen shot." height="419" width="590" /></a><br />
<a href="http://wp-themes.com/aspire/">Demo</a> | <a href="http://wordpress.org/extend/themes/download/aspire.1.1.4.zip">Download</a></p>
<h3><a href="http://samk.ca/freebies/pixeled-wordpress-theme-in-blue/">Pixeled</a></h3>
<p><a href="http://samk.ca/freebies/pixeled-wordpress-theme-in-blue/"><img src="http://images.sixrevisions.com/2008/11/09-15_pixeled.jpg" alt="Pixeled - screen shot." height="419" width="590" /></a><br />
<a href="http://samk.ca/mememe/pixeled.1.2.zip">Download</a></p>
<h3><a href="http://www.arthack.org/free-wordpress-theme-wilderness.html">Wilderness</a></h3>
<p><a href="http://www.arthack.org/free-wordpress-theme-wilderness.html"><img src="http://images.sixrevisions.com/2008/11/09-16_wilderness.jpg" alt="Wilderness - screen shot." height="419" width="590" /></a><br />
<a href="http://www.arthack.org/wp-content/uploads/2008/10/wilderness.zip">Download</a></p>
<h3><a href="http://themetation.com/superfresh/">SuperFresh</a></h3>
<p><a href="http://themetation.com/superfresh/"><img src="http://images.sixrevisions.com/2008/11/09-17_superfresh.jpg" alt="SuperFresh - screen shot." height="419" width="590" /></a><br />
<a href="http://themetation.com/demo/superfresh/">Demo</a> | <a href="http://themetation.com/free/green.zip">Download</a></p>
<h3><a href="http://bustatheme.com/wordpress/wp-coda/">WP CODA</a></h3>
<p><a href="http://bustatheme.com/wordpress/wp-coda/"><img src="http://images.sixrevisions.com/2008/11/09-18_wp_coda.jpg" alt="WP CODA - screen shot." height="419" width="590" /></a><br />
<a href="http://wordpress.bustatheme.com/coda/">Demo</a> | <a href="http://bustatheme.com/download/wp+coda+latest">Download</a></p>
<h3><a href="http://themes.utombox.com/vikiworks-v5-theme/">Vikiworks  V5</a></h3>
<p><a href="http://themes.utombox.com/vikiworks-v5-theme/"><img src="http://images.sixrevisions.com/2008/11/09-19_vikiworks_v5.jpg" alt="Vikiworks V5 - screen shot." height="419" width="590" /></a><br />
<a href="http://www.vikiworks.com/download-manager.php?id=21">Download</a></p>
<h3><a href="http://www.gabfire.com/new-wordpress-theme-mywall/">MyWall</a></h3>
<p><a href="http://www.gabfire.com/new-wordpress-theme-mywall/"><img src="http://images.sixrevisions.com/2008/11/09-20_mywall.jpg" alt="MyWall - screen shot." height="419" width="590" /></a><br />
<a href="http://www.gabfire.com/demo/index.php?wptheme=MyWall">Preview</a> | <a href="http://www.gabfire.com/downloads/MyWall.zip">Download</a></p>
<h3><a href="http://www.blogohblog.com/wordpress-theme-firebug/">Firebug</a></h3>
<p><a href="http://www.blogohblog.com/wordpress-theme-firebug/"><img src="http://images.sixrevisions.com/2008/11/09-21_firebug.jpg" alt="Firebug - screen shot." height="419" width="590" /></a><br />
<a href="http://wpthemes.blogohblog.net/index.php?wptheme=firebug">Demo</a> | <a href="http://www.blogohblog.com/download/firebug.zip">Download</a></p>
<h3><a href="http://designdisease.com/portfolio/illacrimo/">Illacrimo</a></h3>
<p><a href="http://designdisease.com/portfolio/illacrimo/"><img src="http://images.sixrevisions.com/2008/11/09-22_illacrimo.jpg" alt="Illacrimo - screen shot." height="419" width="590" /></a><br />
<a href="http://designdisease.com/download-manager.php?id=4">Download</a></p>
<h3><a href="http://www.ndesign-studio.com/resources/wp-themes/itheme/">iTheme</a></h3>
<p><a href="http://www.ndesign-studio.com/resources/wp-themes/itheme/"><img src="http://images.sixrevisions.com/2008/11/09-23_itheme.jpg" alt="iTheme - screen shot." height="419" width="590" /></a><br />
<a href="http://www.ndesign-studio.com/demo/wordpress/">Demo</a> | <a href="http://www.ndesign-studio.com/file/itheme-1-1.zip">Download</a></p>
<h3><a href="http://www.smashingmagazine.com/2008/07/28/tigerpress-a-free-wordpress-theme/">Tigerpress</a></h3>
<p><a href="http://www.smashingmagazine.com/2008/07/28/tigerpress-a-free-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-24_tigerpress.jpg" alt="Tigerpress - screen shot." height="419" width="590" /></a><br />
<a href="http://88.198.60.17/images/tigerpress/tigerpress.png">Preview</a> | <a href="http://88.198.60.17/images/tigerpress/tigerpress.zip">Download</a></p>
<h3><a href="http://www.freewordpressthemes.com/themes/4109/">Mahiwaga</a></h3>
<p><a href="http://www.freewordpressthemes.com/themes/4109/"><img src="http://images.sixrevisions.com/2008/11/09-25_mahiwaga.jpg" alt="Mahiwaga - screen shot." height="419" width="590" /></a><br />
<a href="http://www.freewordpressthemes.com/themes/4109/download/mahiwaga-4109.zip">Download</a></p>
<h3><a href="http://blog.gooddesignweb.com/photo-clip">Photo  Clip</a></h3>
<p><a href="http://blog.gooddesignweb.com/photo-clip"><img src="http://images.sixrevisions.com/2008/11/09-26_photoclip.jpg" alt="Photo Clip - screen shot." height="419" width="590" /></a><br />
<a href="http://test.gooddesignweb.com/">Demo</a> | <a href="http://blog.gooddesignweb.com/wp-content/dl/photo-clip.lzh">Download</a></p>
<h3><a href="http://designdisease.com/portfolio/dilectio_wordpress_theme/">Dilectio</a></h3>
<p><a href="http://designdisease.com/portfolio/dilectio_wordpress_theme/"><img src="http://images.sixrevisions.com/2008/11/09-27_dilecto.jpg" alt="Dilectio - screen shot." height="419" width="590" /></a><br />
<a href="http://designdisease.com/download-manager.php?id=6">Download</a></p>
<h3><a href="http://www.woothemes.com/2008/11/typebased/">Typebased</a></h3>
<p><a href="http://www.woothemes.com/2008/11/typebased/"><img src="http://images.sixrevisions.com/2008/11/09-28_typebased.jpg" alt="Typebased - screen shot." height="419" width="590" /></a><br />
<a href="http://www.woothemes.com/free-downloads/typebased.zip">Download</a></p>
<h3><a href="http://www.woothemes.com/2007/11/the-original-premium-news/">The Original  Premium News</a></h3>
<p><a href="http://www.woothemes.com/2007/11/the-original-premium-news/"><img src="http://images.sixrevisions.com/2008/11/09-29_original_news.jpg" alt="The Original Premium News -screen shot." height="419" width="590" /></a><br />
<a href="http://www.woothemes.com/free-downloads/premiumnews.zip">Download</a></p>
<h3><a href="http://www.woothemes.com/2008/10/snapshot/">Snapshot</a></h3>
<p><a href="http://www.woothemes.com/2008/10/snapshot/"><img src="http://images.sixrevisions.com/2008/11/09-30_snapshot.jpg" alt="Snapshot - screen shot." height="419" width="590" /></a><br />
<a href="http://www.woothemes.com/free-downloads/snapshot.zip">Download</a></p>
<h3><a href="http://www.dailywp.com/portfolio-wordpress-theme/">Portfolio</a></h3>
<p><a href="http://www.dailywp.com/portfolio-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-31_portfolio.jpg" alt="Portfolio - screen shot." height="419" width="590" /></a><br />
<a href="http://www.sponsoredwp.info/portfolio/">Demo</a> | <a href="http://www.dailywp.com/themes/Portfolio_Pack.zip">Download</a></p>
<h3><a href="http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/">Mimbo  2</a></h3>
<p><a href="http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/"><img src="http://images.sixrevisions.com/2008/11/09-32_mimbo.jpg" alt="Mimbo 2 - screen shot." height="419" width="590" /></a><br />
<a href="http://www.darrenhoyt.com/demo/mimbo2/">Demo</a> | <a href="http://www.darrenhoyt.com/downloads/mimbo2.2.zip">Download</a></p>
<h3><a href="http://webrevolutionary.com/coldblue/">ColdBlue</a></h3>
<p><a href="http://webrevolutionary.com/coldblue/"><img src="http://images.sixrevisions.com/2008/11/09-33_coldblue.jpg" alt="ColdBlue - screens hot." height="419" width="590" /></a><br />
<a href="http://webrevolutionary.com/ColdBlue_latest.zip">Download</a></p>
<h3><a href="http://webrevolutionary.com/sharpfolio/">Sharpfolio</a></h3>
<p><a href="http://webrevolutionary.com/sharpfolio/"><img src="http://images.sixrevisions.com/2008/11/09-34_sharpfolio.jpg" alt="Sharpfolio - screen shot." height="419" width="590" /></a><br />
<a href="http://webrevolutionary.com/sharpfolio-demo/">Demo</a> | <a href="http://webrevolutionary.com/sharpfolio-demo/">Download</a></p>
<h3><a href="http://web-kreation.com/wp_yoghourt/">Yoghourt</a></h3>
<p><a href="http://web-kreation.com/wp_yoghourt/"><img src="http://images.sixrevisions.com/2008/11/09-35_yoghourt.jpg" alt="Yoghourt - screen shot." height="419" width="590" /></a><br />
<a href="http://web-kreation.com/?dl_id=5">Download</a></p>
<h3><a href="http://themes.utombox.com/blogbus/">BlogBus</a></h3>
<p><a href="http://themes.utombox.com/blogbus/"><img src="http://images.sixrevisions.com/2008/11/09-36_blogbus.jpg" alt="BlogBus - screen shot." height="419" width="590" /></a><br />
<a href="http://img.ilemoned.com/wptheme-blogbus.png">Preview</a> | <a href="http://utombox.com/box/4u.tar.gz">Download</a></p>
<h3><a href="http://ashford.turtleinteractive.com/">Ashford</a></h3>
<p><a href="http://ashford.turtleinteractive.com/"><img src="http://images.sixrevisions.com/2008/11/09-37_ashford.jpg" alt="Ashford - screen shot." height="419" width="590" /></a><br />
<a href="http://ashford.turtleinteractive.com/releases/v0.1.5/ashford.zip">Download</a></p>
<h3><a href="http://www.dailyblogtips.com/wordpress-themes/">SubtleZen</a></h3>
<p><a href="http://www.dailyblogtips.com/wordpress-themes/"><img src="http://images.sixrevisions.com/2008/11/09-38_subtle_zen.jpg" alt="SubtleZen - screen shot." height="419" width="590" /></a><br />
<a href="http://www.dailyblogtips.com/wp-content/downloads/SubtleZen.zip">Download</a></p>
<h3><a href="http://www.dailyblogtips.com/wordpress-themes/">Vistalicious</a></h3>
<p><a href="http://www.dailyblogtips.com/wordpress-themes/"><img src="http://images.sixrevisions.com/2008/11/09-39_Vistalicious.jpg" alt="Vistalicious - screen shot." height="419" width="590" /></a><br />
<a href="http://www.dailyblogtips.com/wp-content/downloads/Vistalicious.zip">Download</a></p>
<h3><a href="http://www.gabfire.com/small-magazine-wordpress-theme/">Small Magazine</a></h3>
<p><a href="http://www.gabfire.com/small-magazine-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-40_small_magazine.jpg" alt="Small Magazine - screen shot." height="419" width="590" /></a><br />
<a href="http://www.gabfire.com/wp-content/uploads/2008/10/sm.jpg">Preview</a> | <a href="http://www.gabfire.com/wp-content/plugins/download-monitor/download.php?id=7">Download</a></p>
<h3><a href="http://www.skinpress.com/sp142-theme/">Sp142 theme</a></h3>
<p><img src="http://images.sixrevisions.com/2008/11/09-41_skinpress.jpg" alt="Sp142 theme - screen shot." border="0" height="419" width="590" /><br />
<a href="http://www.skinpress.com/demo/index.php?wptheme=SP142">Demo</a> | <a href="http://www.skinpress.com/downloads/download.php?id=56">Download</a></p>
<h3><a href="http://www.blogohblog.com/wordpress-theme-chronicles/">Chronicles</a></h3>
<p><a href="http://www.blogohblog.com/wordpress-theme-chronicles/"><img src="http://images.sixrevisions.com/2008/11/09-42_chronicles.jpg" alt="Chronicles - screen shot." height="419" width="590" /></a><br />
<a href="http://www.blogohblog.com/download/chronicles.zip">Download</a></p>
<h3><a href="http://www.blogohblog.com/wordpress-theme-dailypress/">DailyPress</a></h3>
<p><a href="http://www.blogohblog.com/wordpress-theme-dailypress/"><img src="http://images.sixrevisions.com/2008/11/09-43_dailypress.jpg" alt="DailyPress - screen shot." height="419" width="590" /></a><br />
<a href="http://www.blogohblog.com/download/dailypress.zip">Download</a></p>
<h3><a href="http://www.blogohblog.com/wordpress-theme-portfolio-press/">Portfolio  Press</a></h3>
<p><a href="http://www.blogohblog.com/wordpress-theme-portfolio-press/"><img src="http://images.sixrevisions.com/2008/11/09-44_portfolio_press.jpg" alt="Portfolio Press - screen shot." height="419" width="590" /></a><br />
<a href="http://www.blogohblog.com/download/portfoliopress.zip">Download</a></p>
<h3><a href="http://www.gabfire.com/wordpress-magazine-theme-released/">Wordpress  Magazine theme</a></h3>
<p><a href="http://www.gabfire.com/wordpress-magazine-theme-released/"><img src="http://images.sixrevisions.com/2008/11/09-45_wordpres_magazine.jpg" alt="Wordpress Magazine theme - screen shot." height="419" width="590" /></a><br />
<a href="http://www.gabfire.com/wp-content/uploads/2008/10/magazine.jpg">Preview</a> | <a href="http://www.gabfire.com/wp-content/plugins/download-monitor/download.php?id=3">Download</a></p>
<h3><a href="http://www.blogohblog.com/wordpress-theme-brilliance/">Brilliance</a></h3>
<p><a href="http://www.blogohblog.com/wordpress-theme-brilliance/"><img src="http://images.sixrevisions.com/2008/11/09-46_brilliance.jpg" alt="Brilliance - screen shot." height="419" width="590" /></a><br />
<a href="http://www.blogohblog.com/download/brilliance.zip">Download</a></p>
<h3><a href="http://blogsessive.com/blogging-tools/simple-balance-free-simple-wordpress-theme/">Simple  Balance 2.0</a></h3>
<p><a href="http://blogsessive.com/blogging-tools/simple-balance-free-simple-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-47simple_balance.jpg" alt="Simple Balance 2.0 - screen shot." height="419" width="590" /></a><br />
<a href="http://demo.blogsessive.com/index.php?wptheme=Simple+Balance">Demo</a> | <a href="http://blogsessive.com/wp-content/plugins/download-monitor/download.php?id=2">Download</a></p>
<h3><a href="http://5thirtyone.com/archives/886">The Unstandard</a></h3>
<p><a href="http://5thirtyone.com/archives/886"><img src="http://images.sixrevisions.com/2008/11/09-48_the_unstandard.jpg" alt="The Unstandard - screen shot." height="419" width="590" /></a><br />
<a href="http://5thirtyone.com/sandbox/wordpress/unstandard.zip">Download</a></p>
<h3><a href="http://artculture.com/wordpress-themes/modicus-wordpress-theme-remix">Modicus  Remix</a></h3>
<p><a href="http://artculture.com/wordpress-themes/modicus-wordpress-theme-remix"><img src="http://images.sixrevisions.com/2008/11/09-49_modicus.jpg" alt="Modicus Remix - screen shot." height="419" width="590" /></a><br />
<a href="http://talkseattle.com/">Demo</a> | <a href="http://www.artculture.com/files/Modicus-remix.zip">Download</a></p>
<h3><a href="http://www.dailywp.com/lightning-wordpress-theme/">Lightning</a></h3>
<p><a href="http://www.dailywp.com/lightning-wordpress-theme/"><img src="http://images.sixrevisions.com/2008/11/09-50_lightning.jpg" alt="Lightning - screen shot." height="419" width="590" /><br />
</a><a href="http://dailywp.com/redcross/">Demo</a> | <a href="http://www.dailywp.com/?dl_id=2">Download</a></p>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/340138.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-12-09 13:20 <a href="http://www.blogjava.net/sealyu/archive/2010/12/09/340138.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于多站点安装的总结（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/12/04/339801.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Sat, 04 Dec 2010 11:47:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/12/04/339801.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/339801.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/12/04/339801.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/339801.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/339801.html</trackback:ping><description><![CDATA[<p>一些相关资源：</p>
<ul>
    <li><a title="http://zhupou.cn/drupal-handbook/tutorials/set-up-multi-site-using-drupal" href="http://zhupou.cn/drupal-handbook/tutorials/set-up-multi-site-using-drupal">http://zhupou.cn/drupal-handbook/tutorials/set-up-multi-site-using-drupal</a></li>
    <li><a title="http://drupal.org/node/99840" href="http://drupal.org/node/99840">http://drupal.org/node/99840</a></li>
    <li><a title="http://drupal.org/node/66657" href="http://drupal.org/node/66657">http://drupal.org/node/66657</a></li>
    <li><a title="http://drupal.org/node/428596" href="http://drupal.org/node/428596">http://drupal.org/node/428596</a></li>
    <li><a title="http://drupal.org/node/69199#comment-129840" href="http://drupal.org/node/69199#comment-129840">http://drupal.org/node/69199#comment-129840</a></li>
    <li><a title="http://drupal.org/node/14697" href="http://drupal.org/node/14697">http://drupal.org/node/14697</a></li>
    <li><a title="http://drupal.org/node/147828" href="http://drupal.org/node/147828">http://drupal.org/node/147828</a></li>
    <li><a title="http://drupal.org/node/63863" href="http://drupal.org/node/63863">http://drupal.org/node/63863</a></li>
    <li><a title="http://drupal.org/node/125539" href="http://drupal.org/node/125539">http://drupal.org/node/125539</a></li>
    <li><a title="http://drupal.org/node/43816" href="http://drupal.org/node/43816">http://drupal.org/node/43816</a></li>
    <li><a title="http://drupal.org/node/25011" href="http://drupal.org/node/25011">http://drupal.org/node/25011</a></li>
    <li><a title="http://drupal.org/node/25011#comment-136227" href="http://drupal.org/node/25011#comment-136227">http://drupal.org/node/25011#comment-136227</a></li>
</ul>
<p>Drupal 实在是一个很强大的网络操作系统，它内建的多站点安装机制非常强大，但也比较复杂，下面我来总结一下本站(robinlord.org)的多站点安装方案。</p>
<p>很多朋友购买的虚拟主机对数据库或者空间或者可以绑定的域名或者能够设置的子域名限制非常厉害，但是使用 drupal 这一切将不再是问题。Drupal 可以使用一个数据库来安装多个站点，这个只要在安装过程中设定数据表前缀即可。</p>
<p>我来分析下本站(robinlord.org)的结构。本站目前共使用同一套 Drupal
代码搭建了三个独立的站点：blogs.robinlord.org、drupal.robinlord.org、
drupal.robinlord.org/hanhua。是的，没错，最后那个是独立的站点，不是一个路径，这个是利用 drupal
的子目录来做独立站点的，本文的关键也就在这一切的实现。</p>
<p>本站是采用<strong>泛域名解析</strong>+<strong>.htacess</strong>的方案来实现的。</p>
<p>首先需要了解什么是<strong>泛域名解析</strong>，然后把所有的 *.roginlord.org 解析到站点的 web
根目录(public_html)，接着在根目录下建立 drupal 目录做为 drupal 的代码目录，接着在根目录下的 .htacess 添加
urlrewrite 规则，把对 drupal.robinlord.org 和 blogs.robinlord.org 的请求全部定向到
drupal 目录，其它的二级域名目录这样做。至于 drupal.robinlord.org/hanhua ，则是建立一个名为 hanhua
软链接到 drupal 目录(Linux 主机，windows 主机再行研究)。比如 /public_html/hanhua 就是到
/public_html/drupal 的软链接，同时在给 drupal.robinlord.org 做url重写时避开对 hanhua
的重写，就实现了。</p>
<p>下面是站点的目录结构:</p>
<pre>public_html/ --|<br />
|-- drupal/ #[目录]这个是 drupal 的程序目录<br />
|--hanhua/ #[目录]这个是到 drupal 的软链接<br />
|--.htacess #[文件]这里配置目录的 URL 重写规则<br />
</pre>
<p>下面是根目录下 .htacess 的内容：</p>
<pre>&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine on<br />
#重写二级域名的路径<br />
RewriteCond %{HTTP_HOST} ^blogs".robinlord".org$<br />
RewriteRule ^(.*)$ drupal/$1 [L]<br />
RewriteCond %{HTTP_HOST} ^drupal".robinlord".org$<br />
#对于子目录独立站点的配置<br />
RewriteCond %{REQUEST_URI} !^hanhua<br />
RewriteRule ^(.*)$ drupal/$1 [L]<br />
&lt;/IfModule&gt;<br />
</pre>
<p>这样就实现了多个站点的访问，下面是多站点的安装及公用用户数据的设置。</p>
<p>首先，在安装之前手动建立好各个站点的配置文件，遵循多站点目录的命名规则。本站则建立了如下几个目录：</p>
<pre>    sites/--|<br />
|-- blogs.robinlord.org<br />
|-- drupal.robinlord.org<br />
|-- drupal.robinlord.org.hanhua<br />
</pre>
<p>在每个目录手动建立相应的 settings.php ，下面是 blogs.robinlord.org 的 settings.php 配置文件中需要手动设定的地方，其他配置在安装过程中会自动设置。</p>
<pre>$db_url = 'mysql://username:password@localhost/databasename';<br />
$db_prefix = array(<br />
'default' =&gt; 'blogs_',<br />
'users' =&gt; 'shared_',<br />
'access' =&gt; 'shared_',<br />
'authmap' =&gt; 'shared_',<br />
'sessions' =&gt; 'shared_',<br />
'profile_fields' =&gt; 'shared_',<br />
'profile_values' =&gt; 'shared_',<br />
'languages' =&gt; 'shared_',<br />
'locales_source' =&gt; 'shared_',<br />
'locales_target' =&gt; 'shared_',<br />
);<br />
$base_url = 'http://blogs.robinlord.org';<br />
$cookie_domain = 'robinlord.org';<br />
</pre>
<p>$db_url 是数据库配置。</p>
<p>$db_prefix 设定表前缀，default 设定站点默认的表前缀，其他的则是数据表的名称及其对应的前缀设定，一般都设为 'shared_'。</p>
<p>$base_url 设定站点根域名，这个必须根据具体情况设置，负责站点路径可能会出错。</p>
<p>$cookie_domain 这个就是多站点公用登陆的关键，设置为站点的根域，即可实现在多站点登陆一次即可。当然还需要公用 user 和 session 相关的表，这个前面已经配置好了。</p>
<p>设定好配置文件后，就可以开始安装进程。因为已经设定了数据库配置，所以安装程序会直接跳过这些设置的页面而直接开始安装。</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/339801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-12-04 19:47 <a href="http://www.blogjava.net/sealyu/archive/2010/12/04/339801.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>zencart 给你的购物网站加上phpBB论坛</title><link>http://www.blogjava.net/sealyu/archive/2010/11/30/339422.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Tue, 30 Nov 2010 10:10:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/11/30/339422.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/339422.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/11/30/339422.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/339422.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/339422.html</trackback:ping><description><![CDATA[<div id="_mcePaste">安装好Zen Cart v1.2.1或更高版本，并且你在安装Zen Cart时没有选择集成phpBB。</div>
<div id="_mcePaste">2. 安装phpBB并保证能正常工作。为了容易配置，建议在根目录下安装phpBB，例如：</div>
<div id="_mcePaste">http://mysite.com/forums</div>
<div id="_mcePaste">或者</div>
<div id="_mcePaste">http://mysite.com/phpbb</div>
<div id="_mcePaste">3. 编辑文件/includes/configure.php，在下面这行定义phpBB目录的路径：</div>
<div id="_mcePaste">define(&#8216;DIR_WS_PHPBB&#8217;, &#8216;/phpBB2/&#8217;);</div>
<div id="_mcePaste">路径必须是物理路径，如 /var/www/client/public_html/ 这样的格式。可以参照 DIR_FS_CATALOG，然后加上phpBB 或 forum 或相应目录名。</div>
<div id="_mcePaste">必须以 / 结尾。</div>
<div id="_mcePaste">4. 在Zen Cart的管理页面，Configuration-&gt;My Store下，设置&#8221;Enable phpBB Linkage?&#8221; 为 TRUE</div>
<div id="_mcePaste">设置完成后，新用户注册时，系统会让用户输入一个论坛的用户名.</div>
<p>安装好Zen Cart v1.2.1或更高版本，并且你在安装Zen Cart时没有选择集成phpBB。<br />
2. 安装phpBB并保证能正常工作。为了容易配置，建议在根目录下安装phpBB，例如：http://mysite.com/forums或者http://mysite.com/phpbb<br />
3. 编辑文件/includes/configure.php，在下面这行定义phpBB目录的路径：define(&#8216;DIR_WS_PHPBB&#8217;, &#8216;/phpBB2/&#8217;);</p>
<p>路径必须是物理路径，如 /var/www/client/public_html/ 这样的格式。可以参照 DIR_FS_CATALOG，然后加上phpBB 或 forum 或相应目录名。<br />
必须以 / 结尾。<br />
4. 在Zen Cart的管理页面，Configuration-&gt;My Store下，设置&#8221;Enable phpBB Linkage?&#8221; 为 TRUE<br />
设置完成后，新用户注册时，系统会让用户输入一个论坛的用户名.</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p><br />
</p>
<p>看了一个网站关于zen-cart安装集成phpbb3的步骤和方法,基本都有些错误及不正确的地方,我了自己记录方便,我将步骤及方法介绍如下:<br />
1 到<a href="http://www.phpbb.com/">www.phpbb.com</a>&nbsp;官方下载一个最新版,然后根据需要在<a href="http://www.phpbb.com/languages/">http://www.phpbb.com/languages/</a>,下载指定的语言,并把相应的目录language下.<br />
2 在指定的zen-cart目录下建立一个forums或bbs的目录,将phpbb3代码放入目录中,找到指定的数据库用户名密码资料,就可以安装,安装过程中可选择指定的语言,当然安装后也可重新选择默认的语言.<br />
3 由了phpbb3需要将zencart的一个类文件换掉,网上流传的代码有问题,我做了修正和补充./includes/classes/<a href="http://www.icithy.info/wp-content/uploads/2010/11/class.phpbb_.php_.txt">class.phpbb.php</a><br />
4 在configure.php中的define(&#8216;DIR_WS_PHPBB&#8217;, &#8216;/home/网站名/public_html/forums/&#8217;);设置完整的路径<br />
5 在admin/基本设置 中 将&nbsp; 打开phpBB链接? 设置成true.<br />
完成上述5个步骤,即可在用户注册时,将注册信息同时注入到phpbb3的数据库中</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/339422.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-11-30 18:10 <a href="http://www.blogjava.net/sealyu/archive/2010/11/30/339422.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title> Simplest Drupal iPhone App（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/09/15/332066.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Wed, 15 Sep 2010 05:53:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/09/15/332066.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/332066.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/09/15/332066.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/332066.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/332066.html</trackback:ping><description><![CDATA[<p>Maybe not the most simple, but pretty close.  This app posts a node
to Drupal Services using XML-RPC.  We thought it would be useful for
anyone interested in building an iPhone app that interacts with Drupal
and wanted a basic starting point.  It provides two text fields and a
submit button.  Enter some text and press submit and the fields get
posted to the Drupal site (the URL is hardcoded into the app, not very
useful).  </p>
<p>    On the Drupal end, you will need the Services, the XML-RPC
server, and the Node Service modules enabled (these are all bundled with
<a href="http://drupal.org/project/Services" target="_blank">Services</a>).
In addition you will have to disable keys and sessid in Services (Site
Building &gt; Services &gt; Settings).  Also you have to allow
anonymous access to services, and allow anonymous creation of story
nodes (both in User management &gt; Permissions).  So you really do not
want to do this on any kind of production site.  </p>
<p>    The iPhone calls the node.save method by posting the following XML:</p>
<p>&lt;methodName&gt;node.save&lt;/methodName&gt;<br />
&lt;params&gt;<br />
&lt;param&gt;&lt;value&gt;&lt;struct&gt;<br />
&lt;member&gt;&lt;name&gt;type&lt;/name&gt;&lt;value&gt;&lt;string&gt;story&lt;/string&gt;&lt;/value&gt;&lt;/member&gt;<br />
&lt;member&gt;&lt;name&gt;title&lt;/name&gt;&lt;value&gt;&lt;string&gt;title text&lt;/string&gt;&lt;/value&gt;&lt;/member&gt;<br />
&lt;member&gt;&lt;name&gt;body&lt;/name&gt;&lt;value&gt;&lt;string&gt;body text&lt;/string&gt;&lt;/value&gt;&lt;/member&gt;<br />
&lt;/struct&gt;&lt;/value&gt;&lt;/param&gt;<br />
&lt;/params&gt;&lt;/methodCall&gt;</p>
<p>    The iPhone app provides two ways to accomplish this.  The first
(commented out in the code) creates a HTTP POST request with the XML
above as the body.  This is not very useful since you have to provide
the raw XML, but it shows how to execute an HTTP POST which is useful
for many other things.  The second uses XML-RPC functionality borrowed
from the open-source <a href="http://iphone.wordpress.org/" target="_blank">wordpress app</a> (which itself is a version of the <a href="http://divisiblebyzero.com/" target="_blank">Cocoa XML-RPC Framework</a> ).  This makes it much easier to formulate and execute XML-RPC calls, and the whole thing boils down to this:</p>
<div class="codeblock"><code>&nbsp;&nbsp;&nbsp; XMLRPCRequest *request =
[[XMLRPCRequest alloc] initWithHost:[NSURL URLWithString:
@"http://192.168.1.14/drupal-6.6/services/xmlrpc"]];<br />
NSMutableDictionary *postParams = [NSMutableDictionary dictionary];<br />
[postParams setObject:@"story" forKey:@"type"];&nbsp;&nbsp;&nbsp;&nbsp; <br />
[postParams setObject:titleString forKey:@"title"];&nbsp; // title input from iphone<br />
[postParams setObject:bodyString forKey:@"body"];&nbsp;&nbsp;&nbsp; // body input from iphone<br />
[request setMethod:@"node.save" withObject:postParams];<br />
XMLRPCResponse *nodeSaveResponse = [XMLRPCConnection sendSynchronousXMLRPCRequest:request];</code></div>
<p> The full app below.  Developed with iPhone SDK 2.2.</p>
<table id="attachments" class="sticky-enabled">
    <thead>
        <tr>
            <th>Attachment</th><th>Size</th>
        </tr>
    </thead>
    <tbody>
        <tr class="odd">
            <td><a href="http://www.zivtech.com/sites/default/files/simpleNodeTitleBody-XMLRPC.zip">simpleNodeTitleBody-XMLRPC.zip</a></td>
            <td>899.47 KB</td>
        </tr>
    </tbody>
</table>
<img src ="http://www.blogjava.net/sealyu/aggbug/332066.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-09-15 13:53 <a href="http://www.blogjava.net/sealyu/archive/2010/09/15/332066.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title> An overview of Mobile modules for Drupal</title><link>http://www.blogjava.net/sealyu/archive/2010/09/03/330834.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Fri, 03 Sep 2010 02:51:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/09/03/330834.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/330834.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/09/03/330834.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/330834.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/330834.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Submitted by Tom on Fri, 02/13/2009 - 11:04    Update 24/03/2009: dotgo moduleIn march I will be presenting a I was planning to give a sessionon DrupalCon dealing with Drupal and its relation to...&nbsp;&nbsp;<a href='http://www.blogjava.net/sealyu/archive/2010/09/03/330834.html'>阅读全文</a><img src ="http://www.blogjava.net/sealyu/aggbug/330834.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-09-03 10:51 <a href="http://www.blogjava.net/sealyu/archive/2010/09/03/330834.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>301 Redirect</title><link>http://www.blogjava.net/sealyu/archive/2010/08/26/329968.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 26 Aug 2010 06:17:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/26/329968.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329968.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/26/329968.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329968.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329968.html</trackback:ping><description><![CDATA[在Apache中部署PHP，可以通过修改根目录下面的.htacess文件，添加：<br />
RewriteEngine on<br />
rewritecond %{http_host} ^coolexample.com [nc]<br />
rewriterule ^(.*)$ http://www.coolexample.com/$1 [r=301,nc]<br />
<br />
这样就能将coolexample.com的url永久性重定向到www.coolexample.com，从而实现搜索引擎的友好性，提高搜索排名。<br />
注：前提要开始rewrite模块<br />
<img src ="http://www.blogjava.net/sealyu/aggbug/329968.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-26 14:17 <a href="http://www.blogjava.net/sealyu/archive/2010/08/26/329968.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Drupal SEO 入门(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/08/20/329505.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Fri, 20 Aug 2010 13:08:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/20/329505.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329505.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/20/329505.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329505.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329505.html</trackback:ping><description><![CDATA[<p>Drupal 核心模块中就包含了可选的 SEO 优化选项，此外还有一些有益的 Drupal 的第三方模块，他们都可以帮助 Drupal
的使用者提升搜索引擎的排名。本文就将介绍一些 Drupal SEO 时必装模块和相应的设置，希望对您有所帮助。但是这只是 Drupal SEO
的开始&#8230;&#8230; </p>
<p>开启简洁链接(Clean URLs)<br />
开启 Path 模块 (从 Drupal 4.3 开始进入 Drupal 核心模块)<br />
Path 模块可以让您通过添加路径别名(path alias)，来达到自定义链接名的效果。例如 <a href="http://www.mypetal.com/node/7" title="http://www.mypetal.com/node/7">http://www.mypetal.com/node/7</a> 可以定义为 <a href="http://www.mypetal.com/library/drupal-seo" title="http://www.mypetal.com/library/drupal-seo">http://www.mypetal.com/library/drupal-seo</a> 。</p>
<p>开启 Pathauto 模块 （http://drupal.org/project/pathauto）<br />
Pathauto 模块能够为不同类型的页面（nodes, categories, users）自动生成路经别名(path alias)，而不在需要用户手动定义路径别名。</p>
<p>设置 Pathauto 模块，在修改 node 的标题时，禁止 Pathauto 模块二次修改路径别名。<br />
开启 Global Redirect 模块（http://drupal.org/project/globalredirect）<br />
Global Redirect 模块在页面拥有路径别名的情况下，移除该页面的原始路径，这样可以减少网站的重复内容页面，有利于 SEO。</p>
<p>开启 Meta Tags （nodewords）模块（http://drupal.org/project/nodewords）<br />
Meta Tags 模块可以让您为每个 node、user、view 或 panel 页面设置多种 meta tags，例如：keywords 和 description，有利于 SEO。</p>
<p>开启 Page Title 模块（http://drupal.org/project/page_title）<br />
Page Title 模块能让您自定义页面标题，有利于 SEO。</p>
<p>使用 Drupal XML Sitemap 模块<br />
调整 .htaccess 文件to redirect to "www" or remove the "www" subdomain.<br />
调整您网站主题的 HTML headers -- 许多主题设置不正确。<br />
调整您网站的 robots.txt 文件。在 Drupal 6 中 Drupal 默认的 robots.txt 文件还是有一些问题。<br />
检查安装的第三方模块是否新增了一些重复的链接，如果有，使用在 robots.txt 添加规则对搜索引擎的爬虫进行屏蔽。</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/329505.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-20 21:08 <a href="http://www.blogjava.net/sealyu/archive/2010/08/20/329505.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>drupal's audio module</title><link>http://www.blogjava.net/sealyu/archive/2010/08/19/329351.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 19 Aug 2010 04:01:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/19/329351.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329351.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/19/329351.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329351.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329351.html</trackback:ping><description><![CDATA[Mon, 09/18/2006 - 3:03pm — <a href="http://ches.nausicaamedia.com/user/ches" title="View user profile.">ches</a>
<div clear-block="">
<p><strong>Updated for Drupal 5.1!</strong> See the bottom of the article.</p>
<p>I have a growing backlog of stories that I've been meaning to type up
here, including several articles of interest for folks getting started
with drupal, but I've just finished setting up <a href="http://drupal.org/project/audio">the audio module</a>, so I thought I'd share my experience while it's fresh on the mind.</p>
<p>You'll notice that you can now play the "two out of three" mp3 from <a href="http://ches.nausicaamedia.com/articles/media/audio/two-out-of-three">my last post</a>
direct from the site without the need to download, and this is thanks
to the audio module. Since it utilizes drupal's node model for content
types, this module is able to harness much of the power and flexibility
inherent in the CMS, including the <a href="http://drupal.org/hankbook/modules/taxonomy">taxonomy system</a> and automatic <abbr title="Really Simple Syndication">RSS</abbr>/podcast feed generation. It can also be readily extended through modules like <a href="http://drupal.org/project/playlist">the playlist toolkit</a> for sites with sophisticated audio needs.</p>
<p>My intent here, though, is just to offer a quick step-by-step guide
for a simpler application: a blog or some other site seeking to include
audio files attached to other content types (pages and stories, for
instance). Still, this should be helpful for anyone getting started with
the audio module.</p>
<h4>Installation and Configuration</h4>
<ol>
    <li>Let's <a href="http://drupal.org/project/playlist">obtain the audio module</a> from the project page. I'm using version 4.7.0 for this guide. Untar the file in your site's modules directory.
    <p><code>&gt; tar xzvf audio-4.7.0.tar.gz</code></p>
    </li>
    <li>Next we need to <a href="http://prdownloads.sourceforge.net/getid3">download the getid3 PHP libraries</a> and unzip the downloaded file into the same directory as <strong>audio.module</strong>.
    <p><code>&gt; unzip getid3-1.7.7.zip -d <em>&lt;yoursitepath&gt;</em>/modules/audio/</code></p>
    <p>Version 1.7.7 of getid3 is recommended in the audio module's documentation.</p>
    </li>
    <li>Open the site in your browser and go to <strong>administer &gt;&gt; modules</strong>. Enable the <strong>audio</strong>, <strong>audio_attach</strong> and <strong>audio_getid3</strong> modules. I don't need to add audio files in bulk or use cover art, so I don't use <strong>audio_import</strong> or <strong>audio_images</strong>. Configuration for those modules is not covered here.</li>
    <li>I don't want audio entries in my navigation menu, so I disabled "audio" and "browse by" at <strong>administer &gt;&gt; menus</strong>. You can optionally enable audio-related blocks at, you guessed it, <strong>administer &gt;&gt; blocks</strong>.</li>
    <li>You'll need to set user privelages according to your needs: at <strong>administer &gt;&gt; access control</strong> I gave my blog user "create audio" and "edit own audio" permissions in addition to the defaults.</li>
    <li>In order to attach audio nodes to other content types, we need to enable this capability for each type at <strong>administer &gt;&gt; settings &gt;&gt; content types</strong>. I first configured audio, disabling <em>Attach Images</em> and <em>Attachments</em> since I have the <strong>image_attach</strong> and <strong>upload</strong> modules enabled. I also disabled comments and promotion to front page. Then, enable <em>Attach audio files</em> for the content types that suit your needs. I did so for story. You might do the same for page, <a href="http://drupal.org/project/cck">CCK</a> types or others.</li>
    <li>Finally, check your settings at <strong>administer &gt;&gt; settings &gt;&gt; audio</strong>.
    Typical PHP configurations will default to a 2MB upload limit -- you'll
    probably need to adjust your php.ini as suggested if you haven't
    already done so. Disable <em>Downloadable by default</em> if you want to make it more difficult for users to save copies of your music. Check that settings on the <strong>metadata tags</strong> tab are to your liking, and check the <strong>getid3</strong> tab to assure that your installation is detected correctly.</li>
    <li>That's it! You should now be able to create a new node -- of a type
    set up in step six -- with the option to attach an audio file. This will
    create an audio node behind the scenes, which you can browse (and edit
    id3 tags for) at yoursite.com/audio. If you don't want this behavior,
    uncheck <em>Published</em> when attaching the audio file to your node.</li>
</ol>
<h4>Taking it Further</h4>
<p>Of course, if audio plays a more prominent role at your site, there's
much more that you can do with the audio module, incorporating
taxonomy, changing the look of the player, and so on. Here are some
links to get you started.</p>
<ul>
    <li><a href="http://drupal.org/node/34043">Changing player theme/colors</a></li>
    <li><a href="http://drupal.org/project/playlist">extending with playlist modules</a></li>
</ul>
<h4>Update for Drupal 5.1</h4>
<p>For the most part, updating my audio module for use as outlined above was intuitive, with one exception: the <strong>audio_attach</strong> module has just been contributed to CVS for 5.x by <a href="http://drupal.org/user/10692">zirafa</a>. He's also contributed a new <strong>audio_playlist</strong> module, but I haven't tried that out yet. To get <strong>audio_attach</strong> (and get my existing nodes with attached audio back to working order), I checked out the <strong>audio</strong> module from CVS with the following commands:</p>
<p><code>&gt; cd <em>&lt;yoursitepath&gt;</em>/modules<br />
&gt; cvs -z6 -d:pserver:anonymous:<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#97;&#110;&#111;&#110;&#121;&#109;&#111;&#117;&#115;&#64;&#99;&#118;&#115;&#46;&#100;&#114;&#117;&#112;&#97;&#108;&#46;&#111;&#114;&#103;">anonymous@cvs.drupal.org</a>:/cvs/drupal-contrib checkout -d audio contributions/modules/audio</code></p>
<p>I installed the modules as normal and ran update.php. At this point I
received an SQL error as the script attempted to set multiple primary
keys for the <em>audio_attach</em> table. I manually set <strong>nid, aid and weight</strong> as primary keys using phpMyAdmin, and I was back in business. I've found that my Flash players are not visible when using <a href="http://drupal.org/project/admin_menu">the handy admin_menu module</a>, but that probably shouldn't effect many of your users.</p>
<p>I'll try to update all of these instructions soon. In the meantime, comment if you have questions!</p>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/329351.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-19 12:01 <a href="http://www.blogjava.net/sealyu/archive/2010/08/19/329351.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>45个可用于Drupal主题的免费PSD网页模版下载（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/08/19/329309.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 19 Aug 2010 01:59:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/19/329309.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329309.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/19/329309.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329309.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329309.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 这些PSD对于设计师者来说真是天大的福音，再也不用为绞尽脑汁的设计模版而头疼了。设计师们可以下载收藏一下，以备需要之时，拿来用上。1.)&nbsp;Solitude2.)&nbsp;Dusky3.)&nbsp;Tour4.)&nbsp;Anticipated5.)&nbsp;Shape6.)&nbsp;Fashio...&nbsp;&nbsp;<a href='http://www.blogjava.net/sealyu/archive/2010/08/19/329309.html'>阅读全文</a><img src ="http://www.blogjava.net/sealyu/aggbug/329309.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-19 09:59 <a href="http://www.blogjava.net/sealyu/archive/2010/08/19/329309.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Drupal Clean URLs -- Apache 2 Configuration on Ubuntu</title><link>http://www.blogjava.net/sealyu/archive/2010/08/19/329304.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 19 Aug 2010 01:32:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/19/329304.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329304.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/19/329304.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329304.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329304.html</trackback:ping><description><![CDATA[<p>There are two methods for setting up Drupal 5.x/6.x with Apache on
Ubuntu.  The first (preferred) method edits the virtual host
configuration, which is the default setup on Ubuntu (even for a
single-site web server). The second edits the main apache2.conf, which
is typical for an older setup.</p>
<h2>Step 1 - Method A: "Virtual Host" Setup</h2>
<p>First, from the Linux command line, enable the rewrite module for apache with this command:</p>
<p><code>sudo a2enmod rewrite</code></p>
<p>You can check to see if this worked by running:</p>
<p><code>apache2ctl -M</code></p>
<p>and seeing if it is on the list.</p>
<p>Next, use an editor (such as <code>nano</code>) to edit the appropriate Apache configuration file for your Drupal site in the <code>/etc/apache2/sites-available/</code> directory. For a single site, the file is <code>/etc/apache2/sites-available/default</code>;
if you have multiple sites, the file names should reflect the names of
the sites to which they refer. Thus, to edit the default site
configuration, use</p>
<p><code>sudo nano /etc/apache2/sites-available/default</code></p>
<p>Look for the <code>Directory</code> section referring to the folder where your Drupal site lives (in <code>/etc/apache2/sites-available/default</code>, this is typically <code>&lt;Directory /var/www&gt;</code>), and change the line:</p>
<p><code>AllowOverride None</code> to <code>AllowOverride All</code></p>
<p>(This directive permits an .htaccess file, such as Drupal's, to be
used to override Apache's default settings, and is necessary to allow
the URL rewriting to work. See <a href="https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles" rel="nofollow">https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles</a> for more information).</p>
<p>Save this file and then reload Apache as follows:</p>
<p><code>sudo /etc/init.d/apache2 reload</code></p>
<h3>Subdomain Setup</h3>
<p>Instead of creating multiple virtual host files, you can create one
virtual host file that uses a wildcard in the ServerAlias. Both a simple
multi-site Drupal setup and multiple Drupal versions can run this way,
if the different subdomains are defined for each site in settings.php. </p>
<p>Consider the following and modify your configuration file to fit your needs.  </p>
<ol>
    <li><a href="http://myproject.dr5.example/" title="http://myproject.dr5.example/" rel="nofollow">http://myproject.dr5.example/</a></li>
    <li><a href="http://myproject.dr6.example/" title="http://myproject.dr6.example/" rel="nofollow">http://myproject.dr6.example/</a></li>
    <li><a href="http://myproject2.dr6.example/" title="http://myproject2.dr6.example/" rel="nofollow">http://myproject2.dr6.example/</a></li>
</ol>
<p>Here is a partial listing of a virtual host configuration file that would support the <em>last two lines in the above example</em>.  Note this is not intended to be a COMPLETE configuration file, but rather provide guidance for your development setup.<br />
</p>
<div><code>&lt;VirtualHost *&gt;<br />
DocumentRoot "/www/Dr6"<br />
ServerName example<br />
ServerAlias *.dr6.example<br />
<br />
&lt;Directory "/www/Dr6"&gt;<br />
AllowOverride All<br />
&lt;/Directory&gt;</code></div>
<p>Edit &amp; save your config file to suit your development needs.  Assuming the site is already enabled, then reload Apache.</p>
<h2>Step 1 - Method B: apache2.conf</h2>
<p>In Apache version 2, httpd.conf has been deprecated and the new file is located at:<br />
<code>/etc/apache2/apache2.conf</code>.</p>
<p>Thus, it's no longer necessary to do the following in httpd.conf to enable the rewrite module (mod_rewrite):</p>
<p>LoadModule rewrite_module modules/mod_rewrite.so<br />
AddModule mod_rewrite.c</p>
<p>Simply run the following from the Linux command line:<br />
<code>sudo a2enmod rewrite</code></p>
<p>To disable the module you can run:<br />
<code>sudo a2dismod rewrite</code><br />
(Note that this would cause clean URLs to break.)</p>
<p>Once mod_rewrite is enabled, open apache2.conf in a text editor. Note
that it will probably be read-only, so you will need sudo privileges to
edit it. Use a command such as:<br />
<code>sudo nano /etc/apache2/apache2.conf</code></p>
<p>Find where the  sections are in your apache2.conf and add another one for your Drupal site similar to this:<br />
</p>
<div><code>&lt;Directory /var/www/your_drupal_site&gt;<br />
&nbsp;&nbsp;&nbsp; AllowOverride All<br />
&lt;/Directory&gt;</code></div>
<p>After you edit apache2.conf as listed above, you need to restart the server by:<br />
<code>sudo /etc/init.d/apache2 reload</code></p>
<h2>Step 1 - Method C: Add Rewrite Rules Directly to Virtual Host or apache2.conf</h2>
<p>If you do not wish to allow .htaccess overrides, you can add the
rewrite rules directly to a virtual host file or apache2.conf. The
following should work:</p>
<div><code>&lt;Directory /var/www/your_drupal_site&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RewriteEngine On<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RewriteBase /<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RewriteCond %{REQUEST_FILENAME} !-f<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RewriteCond %{REQUEST_FILENAME} !-d<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;</code></div>
<p>This can provide slightly faster server performance since Apache will not look in every directory for an .htaccess file.</p>
<p>Note that, for proper security, you will need to add in the rules from the Drupal files directory's .htaccess file as well.</p>
<h2>Debugging Rewrite Issues</h2>
<p>If you are having problems with getting your rewrite to work you can
set Apache to log rewrite errors. To do that add this to the end of <code>/etc/apache2/apache2.conf</code>:<br />
</p>
<div><code>RewriteLog "/var/log/apache2/rewrite.log"<br />
RewriteLogLevel 3</code></div>
<p>Level 0 does no logging. Level 9 logs everything. Choose the level necessary for resolving your issue.</p>
<p><strong>Security Warning:</strong> Make sure to either remove or
comment the logging code out when finished, or else put the log file in a
directory that can't be read by normal users (such as
/var/log/apache2). If this is not done, it can result in a security
breach. Also, note that rewrite logging adds somewhat to server load,
and can easily generate large amounts of output not needed on a
production server.</p>
<h2>Step 2: Enable Clean URLs</h2>
<p>Now go to <code>http://yoursite.com/?q=admin/settings/clean-urls</code>, and run the test for "Clean URLs" (In Drupal 4.6 - 5.x this is buried in the paragraph explaining what "clean urls" are).</p>
<p>Then, select the radio button to set clean URLs to "enabled" and
submit the form. You should now be able to access your site using URLs
without the query string in them.</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/329304.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-19 09:32 <a href="http://www.blogjava.net/sealyu/archive/2010/08/19/329304.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Create a page to list users by role-Drupal</title><link>http://www.blogjava.net/sealyu/archive/2010/08/18/329222.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Wed, 18 Aug 2010 07:39:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/18/329222.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329222.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/18/329222.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329222.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329222.html</trackback:ping><description><![CDATA[<p>In this example you will create a page view listing users on your
site. Through this step-by-step process, you will become familiar with
some basic steps in creating a view, and familiarize yourself with the
Views User Interface.</p>
<ol>
    <li>
    <h3>Creating a new view</h3>
    <p>Go to <a target="_blank" href="http://views-help.doc.logrus.com/admin/build/views/add">add new view</a>. Give your new view the name 'user_list', description 'A simple user listing.', tag 'users', type 'User' and click <strong>Next</strong>.</p>
    </li>
    <li>
    <h3>About the Interface</h3>
    <p>You have been brought to the Views User Interface. As you start, you
    are editing the "Default" options for the view. In the 1st column on the
    left you can see the drop-down menu offers 'block', for example, to
    select settings specific only to block views. In the remaining columns,
    you will be able to add or change options by clicking on links or icons.
    These options will then appear below this main area. Most likely, you
    will need to scroll to see the options appear. As you make changes,
    these options will appear in bold until you save your view.</p>
    </li>
    <li>
    <h3>Creating a page display; choosing a URL and creating a menu link</h3>
    <ol>
        <li>In the 1st column, ensure that 'Page' is selected in the drop-down menu, and click <strong>Add Display</strong>.</li>
        <li>Next we'll define the path for this page. A page must have a path,
        and we define it early so that Views doesn't warn us "Display Page uses
        path but path is undefined." Locate the <strong>Page settings</strong> in the 2nd column, and click the <em>None</em> link next to the <em>Path</em>
        setting. In the options editing area that appears below, set the path
        to 'user_list' (or something else if you prefer) and click <strong>Update</strong>.</li>
        <li>Next to <em>Menu</em> setting, Click the <em>No menu</em> link. In the options which appear below, select <em>Normal menu entry</em>, and set the title to 'User list' and click <strong>Update</strong>.</li>
        <li>Scroll up to <strong>Basic settings</strong>, in that same 2nd column, and click the <em>No</em> link next to <em>Use pager</em>. Below, in the options, select <em>Full pager</em> and click <strong>Update default display</strong>.</li>
    </ol>
    </li>
    <li>
    <h3>Selecting the fields to display</h3>
    <ol>
        <li>In 3rd column locate the <strong>Fields</strong> options. Click the <strong>+</strong> icon to add fields.</li>
        <li>Scroll down to <strong>Defaults: Add fields</strong>. In the <strong>Groups</strong> drop-down menu select 'User', then check the following fields: <em>User: Created date</em>, <em>User: Delete link</em>, <em>User: Edit link</em>, <em>User: Last access</em>, <em>User: Name</em> and <em>User: Picture</em>. Then click <strong>Add</strong>.</li>
        <li>You will be taken through the fields you added one at a time. Click <strong>Update default display</strong> to go to each next field. Leave the default options on all fields except <em>Delete link</em>; change that field's label to 'Operations'.</li>
        <li>Scroll back up to <strong>Fields</strong> and click the <strong>&#8593;&#8595;</strong> icon to rearrange fields. Down below, drag the <em>Name</em> field, by dragging its four-sided arrow, to the top. Drag the <em>Delete link (Operations)</em> field to the bottom, and the <em>Edit link</em> field just above it. Then click <strong>Update</strong>.</li>
    </ol>
    </li>
    <li>
    <h3>Seeing what we've done so far</h3>
    <p>At this point, you have done enough to create a valid view. If you
    scroll down, you will see a preview of your view. If it doesn't show
    already, click the <strong>Preview</strong> button; but generally this display updates automatically whenever you finish working in one of the mini forms.</p>
    </li>
    <li>
    <h3>Styling the view as a table; combining related fields into columns</h3>
    <ol>
        <li>Under <strong>Basic settings</strong>, in the 1st column, click the <em>Unformatted</em> link next to the <em>Style</em> setting. In the options below, under <strong>Page: How should this view be styled</strong>, choose <em>Table</em> and click <strong>Update default display</strong>.</li>
        <li>You will be taken to a <strong>Page: Style options</strong> form to edit the table settings. Locate our <em>Edit link</em> field in this mini form, and notice the <strong>Column</strong> drop-down. Change this drop-down to show <em>Operations</em>. In the <strong>Separator</strong> column next to the <em>Operations</em> field, type ' | ' (note the spaces around the <strong>|</strong> symbol). Check all of the <strong>Sortable</strong> checkboxes, and set <strong>Default sort</strong> to <em>Name</em>. When finished, click <strong>Update default display</strong>.</li>
    </ol>
    </li>
    <li>
    <h3>Filtering the user list to exclude unwanted entries</h3>
    <ol>
        <li>Click the <strong>+</strong> icon next to <strong>Filters</strong>.</li>
        <li>In the <strong>Groups</strong> drop-down menu select 'User', then check the <em>User: Name</em> filter, and click <strong>Add</strong>.</li>
        <li>Select <em>Is not one of</em> and enter 'Anonymous' in the <strong>Usernames</strong> box. Click <strong>Update default display</strong>.</li>
    </ol>
    </li>
    <li>
    <h3>Adding an argument to list users by role dynamically</h3>
    <ol>
        <li>Scroll up to <strong>Arguments</strong>, and click its <strong>+</strong> icon.</li>
        <li>Check the <em>User: Roles</em> argument, and click <strong>Add</strong>. Set the title to '%1' (don't type the quotes), and under <strong>Action to take if argument is not present</strong> select <em>Summary, sorted ascending</em>. Leave the other settings as they are. Click <strong>Update default display</strong>, and click <strong>Update</strong> through the prompts that follow to accept their default values.</li>
    </ol>
    </li>
    <li>
    <h3>Saving the view</h3>
    <p>Finally, click the <strong>Save</strong> button to save your work. At the very top, click <strong>View "Page"</strong> to go to your new view!</p>
    </li>
</ol>
<img src ="http://www.blogjava.net/sealyu/aggbug/329222.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-18 15:39 <a href="http://www.blogjava.net/sealyu/archive/2010/08/18/329222.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Play Media files in Drupal 6</title><link>http://www.blogjava.net/sealyu/archive/2010/08/18/329191.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Wed, 18 Aug 2010 02:55:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/18/329191.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/329191.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/18/329191.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/329191.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/329191.html</trackback:ping><description><![CDATA[<div>
<p>The best media file handle is Embedded Media Field module<br />
<a href="http://drupal.org/project/emfield" title="http://drupal.org/project/emfield">http://drupal.org/project/emfield</a></p>
<p>The problem: one needs to modify: zzz_custom_url.inc<br />
to play mp3.</p>
<p>Sample site: <a href="http://www.thanhsiang.org/en/av" title="http://www.thanhsiang.org/en/av">http://www.thanhsiang.org/en/av</a></p>
<h2>How to use jQuery Media module to play flv and mp3 files?</h2>
<p>Another module is jQuery Media module<br />
<a href="http://drupal.org/project/jquery_media" title="http://drupal.org/project/jquery_media">http://drupal.org/project/jquery_media</a></p>
<p>1. Install modules<br />
jQuery Media module<br />
jQ module</p>
<p>2. Install player<br />
flv (mp3) player:<br />
<a href="http://www.jeroenwijering.com/?item=JW_FLV_Player" title="http://www.jeroenwijering.com/?item=JW_FLV_Player">http://www.jeroenwijering.com/?item=JW_FLV_Player</a><br />
Download the player something like: mediaplayer-3-16.zip<br />
You only need one file: mediaplayer.swf<br />
copy that file to your drupal directory, <a href="http://localhost/drupal/files/mediaplayer.swf" title="http://localhost/drupal/files/mediaplayer.swf">http://localhost/drupal/files/mediaplayer.swf</a></p>
<p>3. configure<br />
admin/settings/jq</p>
<p>Select "Auto-invoke Media class"</p>
<p>setting player<br />
flve player:<br />
<a href="http://localhost/drupal/files/mediaplayer.swf" title="http://localhost/drupal/files/mediaplayer.swf">http://localhost/drupal/files/mediaplayer.swf</a></p>
<p>mp3 player:<br />
<a href="http://localhost/drupal/files/mediaplayer.swf" title="http://localhost/drupal/files/mediaplayer.swf">http://localhost/drupal/files/mediaplayer.swf</a></p>
<p>Default settings<br />
Media Width: 320<br />
Media Height: 240</p>
<p>4. create a page use link (a class="media" href=)<br />
Example:<br />
</p>
<div><code>&lt;a class="media" href="http://localhost/files/flvfiles.flv"&gt;Movie Files&lt;/a&gt;<br />
<br />
&lt;a class="media" href="http://localhost/files/mp3files.mp3"&gt; MP3 Files&lt;/a&gt;</code></div>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/329191.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-18 10:55 <a href="http://www.blogjava.net/sealyu/archive/2010/08/18/329191.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>定制Drupal首页（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/08/13/328781.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Fri, 13 Aug 2010 06:42:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/13/328781.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/328781.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/13/328781.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/328781.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/328781.html</trackback:ping><description><![CDATA[<div>
<p>Drupal默认的首页像是一个博客的文章列表，如何定制成自己想要的样子呢？有以下几种方法来实现：</p>
<h4>使用Front Page模块</h4>
<p>大多数人实现某个功能时首先想到的就是用模块（<a href="http://drupal.org/project/front" target="_blank">Front Page</a>首页模块），但个人并不认同动不动就使用模块，太多模块增加系统负担，下面的方法同样解决了定制首页的问题而不必使用模块。</p>
<h4>使用page-front.tpl.php页面模板</h4>
<p>page-front.tpl.php是首页的页面模板，把page.tpl.php复制并改名为page-front.tpl.php，修改里面的内容就可以定制首页了。</p>
<h4>使用node-front.tpl.php节点模板</h4>
<p>如果只是更改首页节点显示的样式，仅更改节点级别的模板即可。把node.tpl.php复制并改名为node-front_page.tpl.php，修改里面的节点显示样式。</p>
<h4>使用一个page页面作为首页</h4>
<p>新建一个page页面，加入html代码，然后选择full
html，记住ID号。导航到admin/settings/site-information，在最下面的&#8220;Default front
page&#8221;输入框中，现在默认为node，我们把它改为node/1（注1改为设为首页的page页面的ID号）。</p>
<h4>使用block区块</h4>
<p>在admin/build/block中逐个定义block的显示属性，把需要显示在首页block的页面可见性（只在下列页面中显示）中填
入&lt;front&gt;，那么这个block仅在首页可见，修改这个block就可以定制首页的内容，同时可以增加多个block在首页显示。</p>
<h4>使用drupal自带的$mission变量</h4>
<p>$mission变量最大的特点就是只能显示在首页，利用这个特性，我们就可以轻松定制首页了。在admin/settings/site-
information中定义mission任务（把首页代码写进去），然后编辑page.tpl.php文件，把$mission移动到想要的位置，如
果文件中没有这个变量，加入以下代码即可：</p>
<div php="" id="highlighter_432329">
<div>
<div><a viewsource="" style="width: 16px; height: 16px;" title="view source" href="http://tugesha.com/blog/drupal/dp-design/dp-design-theme/custom-drupal-front-page/#viewSource">view source</a>
<div copytoclipboard=""><embed id="highlighter_432329_clipboard" type="application/x-shockwave-flash" title="copy to clipboard" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_432329" menu="false" src="http://tugesha.com/wp-content/libraries/syntaxhighlighter/scripts/clipboard.swf" height="16" width="16"></div>
<a printsource="" style="width: 16px; height: 16px;" title="print" href="http://tugesha.com/blog/drupal/dp-design/dp-design-theme/custom-drupal-front-page/#printSource">print</a><a about="" style="width: 16px; height: 16px;" title="?" href="http://tugesha.com/blog/drupal/dp-design/dp-design-theme/custom-drupal-front-page/#about">?</a></div>
</div>
<div>
<div alt1="">
<table>
    <tbody>
        <tr>
            <td><code>1</code></td>
            <td><code plain="">&lt;?php </code><code keyword="">if</code> <code plain="">(</code><code variable="">$mission</code><code plain="">): ?&gt;</code></td>
        </tr>
    </tbody>
</table>
</div>
<div alt2="">
<table>
    <tbody>
        <tr>
            <td><code>2</code></td>
            <td><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code plain="">&lt;div id=</code><code string="">"missions"</code><code plain="">&gt;</code></td>
        </tr>
    </tbody>
</table>
</div>
<div alt1="">
<table>
    <tbody>
        <tr>
            <td><code>3</code></td>
            <td><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code plain="">&lt;?php print </code><code variable="">$mission</code><code plain="">; ?&gt;</code></td>
        </tr>
    </tbody>
</table>
</div>
<div alt2="">
<table>
    <tbody>
        <tr>
            <td><code>4</code></td>
            <td><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code plain="">&lt;/div&gt;</code></td>
        </tr>
    </tbody>
</table>
</div>
<div alt1="">
<table>
    <tbody>
        <tr>
            <td><code>5</code></td>
            <td><code plain="">&lt;?php </code><code keyword="">endif</code><code plain="">; ?&gt;</code></td>
        </tr>
    </tbody>
</table>
</div>
</div>
</div>
<p>以上方法可以单独使用，也可以按需要结合起来使用。还有一种办法就是直接使用index.html静态页面，但这已经脱离了drupal，因此并不推荐。</p>
</div>
<blockquote>
<p>声明：如蒙转载，请以超链接的形式标明文章原始出处和作者信息。</p>
<p>来自：图个啥 | http://tugesha.com</p>
<p>标题：定制Drupal首页</p>
<p>链接：http://tugesha.com/blog/drupal/dp-design/dp-design-theme/custom-drupal-front-page/</p>
</blockquote>
<img src ="http://www.blogjava.net/sealyu/aggbug/328781.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-13 14:42 <a href="http://www.blogjava.net/sealyu/archive/2010/08/13/328781.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Drupal专业开发指南(Drupal6版)(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/08/13/328738.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Fri, 13 Aug 2010 01:30:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/13/328738.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/328738.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/13/328738.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/328738.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/328738.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 这本书已经发布了许久,本来没有打算升级,春节期间,读了一遍以后,发现里面变动很大.而drupalbar上面的升级版,也迟迟没有动态.为了不影响我的培训班的进行,将这个drupal5的版本升级到drupal6中,从今天开始吧,不过我是从后往前升级的,以避免重复的劳动.Drupal6版,比5有了很多的改动,大多数地方被重写了,而且又新增了一些知识点.慢慢的升级,希望在我的培训班开始以后的3个月...&nbsp;&nbsp;<a href='http://www.blogjava.net/sealyu/archive/2010/08/13/328738.html'>阅读全文</a><img src ="http://www.blogjava.net/sealyu/aggbug/328738.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-13 09:30 <a href="http://www.blogjava.net/sealyu/archive/2010/08/13/328738.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>HowTo: Create a local environment using MAMP</title><link>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 12 Aug 2010 12:35:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/328711.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/328711.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/328711.html</trackback:ping><description><![CDATA[<a href="http://www.mamp.info/" rel="nofollow">MAMP</a> creates a
local server environment on Mac OS X by installing PHP, MySQL, and
Apache right out of the box. This will make Drupal much easier to
install because the components don't have to be installed separately.
This page is to be used in conjunction with the installation
instructions for Drupal on Mac OS X.
<p>Also you may want to check out this video in the <a href="http://drupal.org/videocasts" rel="nofollow">Videocasts</a> section of the handbook: <a href="http://drupal.org/node/159534" rel="nofollow">Installing a Local Web Server on Mac OS X</a>.</p>
<h3>Download MAMP</h3>
<p>(This will install Apache, MySQL, and PHP in one step.)<br />
Find the latest version here: <a href="http://www.mamp.info/" title="http://www.mamp.info/" rel="nofollow">http://www.mamp.info/</a><br />
Download and drag to Applications folder to install. Open MAMP and click "start servers," then "Open start page."</p>
<h3>Download Drupal</h3>
<p>Find the latest Drupal release here: <a href="http://drupal.org/" title="http://drupal.org/" rel="nofollow">http://drupal.org/</a>.</p>
<p>Move the directory containing the Drupal files into the MAMP htdocs directory:</p>
<p><code>mv drupal-x.x.x/* drupal-x.x.x/.htaccess /Applications/MAMP/htdocs/yourdrupaldir</code></p>
<p>where yourdrupaldir is whatever you want the directory to be called.</p>
<p>Note: if you use Finder you may miss moving the .htaccess file which
is necessary for clean URLs to work. It is generally best to download
and unzip Drupal directly in the document root (default is htdocs) so
you don't miss the .htaccess.</p>
<h3>Create the Drupal database</h3>
<p>To create a database for Drupal</p>
<ol>
    <li>Go to the MAMP start page</li>
    <li>Click "phpMyAdmin"</li>
    <li>On the next page click "Databases"</li>
    <li>On the "Databases" page enter a name for your Drupal database in the "Create new database" field at the bottom of the page</li>
    <li>Select "utf8_general_ci" under the "Collation" drop-down (must be utf8!)</li>
    <li>Click "Create"</li>
    <li>Next you must create a user name with the privileges Drupal requires to use the new database</li>
    <li>Go back to the main phpMyAdmin page and click "Privileges"</li>
    <li>On the next page click "Add a new User".</li>
    <li>Fill out the "Login Information" form, making sure to change the
    "Host" field to "Local" and not leave it as "Any host" (for some reason
    Drupal will not be able to connect to your local database if you select
    "Any host")</li>
    <li>Leave the "None" radio button selected under the "Database for user"
    section, and under the "Global privileges" section leave everything
    unchecked</li>
    <li>Click "Go"</li>
    <li>On the next page scroll down to the "Database-specific privileges"
    section and select the new Drupal database you created from the dropdown</li>
    <li>Check the SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX and ALTER checkboxes and then click "Go".</li>
</ol>
<p>You can also use a GUI such as <a href="http://www.sequelpro.com/" rel="nofollow">Sequel Pro</a>, just remember to use this as your Socket:</p>
<p><code>/Applications/MAMP/tmp/mysql/mysql.sock</code></p>
<h3>Changing your password</h3>
<p>The default username/password for your MySQL install is now
root/root! For security purposes, it's always best to change this. If
you're connected to the internet, this is a must.</p>
<p>When you are changing the default user/password from root/root, you
need to do two things. Only the first is documented in the MAMP start
page FAQ, but if you don't do the second then you get an error message
when you try to access anything from the MAMP start page.</p>
<ol>
    <li>
    Use command line to change the password (as documented in the MAMP start page FAQ)
    <p>    Open the terminal and type the following:<br />
    <code>/Applications/MAMP/Library/bin/mysqladmin -u root -p password [NEWPASSWORD]</code></p>
    <p>    It will ask for the current password after you hit enter. Once you have entered that, the MySQL password is changed.
    </p>
    </li>
    <li>
    Open a text editor and change the password in the three following files:
    <ul>
        <li><code>/Applications/MAMP/bin/phpMyAdmin-X.X.X/config.inc.php</code>
        <p>      Find the line that reads...<br />
        <code>$cfg['Servers'][$i]['password']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 'root';</code><br />
        ...and change the value <code>'root'</code> to your new password, retaining the quotes.
        </p>
        </li>
        <li><code>/Applications/MAMP/bin/mamp/index.php</code>
        <p>      Find the line that reads...<br />
        <code>$link = @mysql_connect(':/Applications/MAMP/tmp/mysql/mysql.sock', 'root', 'root');</code><br />
        ...and change the last parameter to your new password.
        </p>
        </li>
        <li><code>/Applications/MAMP/bin/stopMysql.sh</code>
        <p>      Replace the <code>-proot</code> with your password. (If you
        don't change this one you can have zombie mysqld's running after you
        thought you stopped the server)
        </p>
        </li>
    </ul>
    </li>
</ol>
<h3>Optional: Adjust PHP's memory limit for scripts</h3>
<p>By default, MAMP has the memory limit that a script can use set at
8MB, which is the PHP default.  Looking at PHP's php.ini-recommended
file, this memory limit is normally set at 128MB.  To adjust this
amount, open the php.ini file in a text editor and change the following
line (approximately on line 232): </p>
<p><code>memory_limit = 8M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Maximum amount of memory a script may consume (8MB)</code></p>
<p>PHP.ini file locations:</p>
<ul>
    <li><code>/Applications/MAMP/conf/php4/php.ini</code></li>
    <li><code>/Applications/MAMP/conf/php5/php.ini</code></li>
</ul>
<p>In MAMP <strong>PRO</strong>, don't alter the file directly since it will be
recreated at each server start. Please edit the appropriate template
(menu File &gt; Edit template &gt; ...) instead.</p>
<p><img src="http://img165.imageshack.us/img165/2775/20080831tu4btp522h8qwk5me8.jpg" alt="" /></p>
<p>Even with larger PHP memory limits you can get timeout errors trying
to import large Drupal databases into MySQL. These issues are discussed
at length elsewhere with regards to the <a href="http://drupal.org/node/318863" rel="nofollow">cache</a> and <a href="http://drupal.org/node/218187" rel="nofollow">views cache</a>. Generally the solution is to empty the Drupal cache before importing/exporting databases to/from MySQL.</p>
<h3>Connect Drupal</h3>
<p>Navigate to <a href="http://localhost:8888/yourdrupaldir/install.php" title="http://localhost:8888/yourdrupaldir/install.php" rel="nofollow">http://localhost:8888/yourdrupaldir/install.php</a>
and fill in the installation fields using the information provided on
the MAMP start page and the name you used for the database you created
in step 3.</p>
<h3>Start configuring Drupal!</h3>
<p>Go to <a href="http://localhost:8888/yourdrupaldir/" title="http://localhost:8888/yourdrupaldir/" rel="nofollow">http://localhost:8888/yourdrupaldir/</a> and create the first account.<br />
Continue with instructions in INSTALL.txt.</p>
<p>If you changed your MySQL username and password you will need to modify that in your local Drupal settings.php file as well.</p>
<h3>Temporary Files Note: </h3>
<p>By default the File System settings (admin/settings/file-system) will
place the temporary files directory inside /Applications/MAMP/tmp/php
which should be changed to something like files/tmp or sites/files/tmp
to avoid later confusion.</p>
<h3>Clean up your Localhost URL</h3>
<p>If you would like to shorten your URL from "http://localhost:8888" to "http://localhost" follow these instructions:</p>
<ul>
    <li>Open the MAMP application</li>
    <li>Click on "Preferences" and then "Ports"</li>
    <li>Change the Apache Port to 80 (the standard web server port)</li>
</ul>
In MAMP <strong>PRO</strong>, change the port of apache to 80 and click on apply.
<img src ="http://www.blogjava.net/sealyu/aggbug/328711.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-12 20:35 <a href="http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>