<?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>Erick &#187; 开源系统</title>
	<atom:link href="http://blog.xiongchuan.org/category/opensource/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xiongchuan.org</link>
	<description>Even a great life is only a life until you make it.</description>
	<lastBuildDate>Thu, 10 Mar 2011 14:44:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://blog.xiongchuan.org/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>Flickr Photo Album for WordPress&#124;wp 相册</title>
		<link>http://blog.xiongchuan.org/flickr-photo-album-for-wordpress.html</link>
		<comments>http://blog.xiongchuan.org/flickr-photo-album-for-wordpress.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:32:32 +0000</pubDate>
		<dc:creator>Erick</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[flickr photo album]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[相册]]></category>

		<guid isPermaLink="false">http://www.pigblog.net/?p=440</guid>
		<description><![CDATA[这几天突然想弄一个相册，放点图片。决定放Flickr上面，寻觅这样的插件，发现很多人说用Falbum，有很不错的评价，可惜我下载了最新版本，安装了却老有问题，要放弃时，偶然发现了这个插件，觉得挺好用的。Flickr Photo Album for WordPress，可以在sidebar提供照片，可以单独设置一个页面放相册。 讲一下安装吧： 1、当然下载这个zip的插件包，点这里下载 2、在wp后台，添加新插件，上传，激活插件 3、如果你想要单独的页面放相册，那么要开启rewrite，把原来的固定链接改成其它的样子 4、配置photo album 首先是授权，你必须要有一个Flickr的账号，这个自己解决吧，操作也明显。 相片集聚合 这个选项，设置路径，比如我设置的是photos/ 下面的按你的想法配置了。 5、为了在导航部分显示一个 相册 的链接我们要添加一个页面。先看效果图： 具体做法如下： A、左边menu的页面-&#62;添加新页面 B、标题处写上 相册 二字(当然你可以写其他的) C、点击右上角的 显示选项 在弹出菜单上 选择 页面别名选项 如下图 D、在下面 的页面别名处 填写 photos(和你在photo album的相片集处填写的路径一样) E、保存，完成。 这个时候，在你的博客页面，就可以看到相册的导航了，如果rewrite开启了的话，点击相册，就可以看到photo album上面的内容了，前提是你要有照片。效果： 但是你可能在你的博客里看到的效果和我的不一样，我是指没有排列好，这个是和具体模板有联系的。为了配合当前的模板，你需要修改这个文件。 /wp-content/plugins/tantan-flickr/templates/photoalbum-index.php 这个文件负责人布局，修改的话你要参照当前的模板，比如我现在用的是elegant-box这个主题，我就从这个目录下面找到/wp-content/themes/elegant-boxindex.php文件，参看布局，进行修改具体细节不想讲了，因为现在比较晚了，我要看火影了。针对我这个模板的photoalbum-index.php我放出来，如果有出现某种巧合你也用了这个模板，可以方便的把这个文件拿去覆盖啦。 getDisplayTemplate($photoTemplate)); // uncomment this line to print out the template being used // echo 'Photo [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">这几天突然想弄一个相册，放点图片。决定放Flickr上面，寻觅这样的插件，发现很多人说用Falbum，有很不错的评价，可惜我下载了最新版本，安装了却老有问题，要放弃时，偶然发现了这个插件，觉得挺好用的。<a href="http://tantannoodles.com/toolkit/photo-album/" target="_blank" rel="external nofollow">Flickr Photo Album for WordPress</a>，可以在sidebar提供照片，可以单独设置一个页面放相册。<br />
讲一下安装吧：<br />
1、当然下载这个zip的插件包，<a href="http://tantannoodles.com/toolkit/photo-album/" rel="external nofollow">点这里下载</a><br />
2、在wp后台，添加新插件，上传，激活插件<br />
3、如果你想要单独的页面放相册，那么要开启rewrite，把原来的固定链接改成其它的样子<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/4444.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-441" title="4444" src="http://www.pigblog.net/wp-content/uploads/2009/11/4444.jpg" alt="4444" width="570" height="309" /></a><br />
4、配置photo album<br />
首先是授权，你必须要有一个Flickr的账号，这个自己解决吧，操作也明显。<br />
相片集聚合 这个选项，设置路径，比如我设置的是photos/<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/5555.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-442" title="5555" src="http://www.pigblog.net/wp-content/uploads/2009/11/5555.jpg" alt="5555" width="596" height="101" /></a><br />
下面的按你的想法配置了。<br />
<span id="more-440"></span><br />
5、为了在导航部分显示一个 相册 的链接我们要添加一个页面。先看效果图：<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/6666.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-443" title="6666" src="http://www.pigblog.net/wp-content/uploads/2009/11/6666.jpg" alt="6666" width="128" height="41" /></a><br />
具体做法如下：<br />
A、左边menu的页面-&gt;添加新页面<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/77.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-444" title="77" src="http://www.pigblog.net/wp-content/uploads/2009/11/77.jpg" alt="77" width="143" height="74" /></a><br />
B、标题处写上 相册 二字(当然你可以写其他的)<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/888.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-446" title="888" src="http://www.pigblog.net/wp-content/uploads/2009/11/888.jpg" alt="888" width="394" height="107" /></a><br />
C、点击右上角的 显示选项 在弹出菜单上 选择 页面别名选项 如下图<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/99999.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-447" title="99999" src="http://www.pigblog.net/wp-content/uploads/2009/11/99999.jpg" alt="99999" width="970" height="154" /></a><br />
D、在下面 的页面别名处 填写 photos(和你在photo album的相片集处填写的路径一样)<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/111111111111.jpg" rel="external nofollow"><img class="aligncenter size-full wp-image-448" title="111111111111" src="http://www.pigblog.net/wp-content/uploads/2009/11/111111111111.jpg" alt="111111111111" width="212" height="152" /></a><br />
E、保存，完成。<br />
这个时候，在你的博客页面，就可以看到相册的导航了，如果rewrite开启了的话，点击相册，就可以看到photo album上面的内容了，前提是你要有照片。效果：<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/123456.jpg" rel="external nofollow"></a><a href="http://www.pigblog.net/wp-content/uploads/2009/11/123456.jpg" rel="external nofollow"><img class="size-full wp-image-455 aligncenter" title="123456" src="http://www.pigblog.net/wp-content/uploads/2009/11/123456.jpg" alt="123456" width="600" height="200" /></a></p>
<p>但是你可能在你的博客里看到的效果和我的不一样，我是指没有排列好，这个是和具体模板有联系的。为了配合当前的模板，你需要修改这个文件。<br />
/wp-content/plugins/tantan-flickr/templates/photoalbum-index.php<br />
这个文件负责人布局，修改的话你要参照当前的模板，比如我现在用的是elegant-box这个主题，我就从这个目录下面找到/wp-content/themes/elegant-boxindex.php文件，参看布局，进行修改具体细节不想讲了，因为现在比较晚了，我要看火影了。针对我这个模板的photoalbum-index.php我放出来，如果有出现某种巧合你也用了这个模板，可以方便的把这个文件拿去覆盖啦。</p>
<pre class="php" style="text-align: left;"><!--p /* Template Name: Photo Album If you want to customize the look and feel of your photo album, follow these steps.  You'll probably need a good understanding of HTML and CSS! 1. Copy this file into your current active theme's directory 2. Also copy all the files starting with "photoalbum-" into your theme's directory       * Alternatively, you could only copy just the "photoalbum-" file you want to customize into your current themes directory. 3. Customize the CSS in photoalbum-header.html to your liking. 4. That's it :) The main template files: - photoalbum-albums-index.html shows all your Flickr sets (aka albums) - photoalbum-album.html displays a highlight photo and all the photos for an album - photoalbum-photo.html displays one photo, along with next and previous photo links  Troubleshooting Tips: Not all WordPress themes are created equal, so default look and feel might look a little weird on your blog. Try looking at your theme's "index.php" and copy and paste any extra HTML or PHP into this file. $Revision: 128 $ $Date: 2008-04-24 00:16:32 -0400 (Thu, 24 Apr 2008) $ $Author: joetan54 $ */ global $TanTanFlickrPlugin; if (!is_object($TanTanFlickrPlugin)) wp_die('Flickr Photo Album plugin is not installed / activated!'); get_header(); // load the appropriate albums index, album's photos, or individual photo template. // $photoTemplate contains the template being used-->
<!--
<div id="content" class="narrowcolumn">-->
<div class="post"><!--p include($tpl = $TanTanFlickrPlugi-->getDisplayTemplate($photoTemplate));
// uncomment this line to print out the template being used
// echo 'Photo Album Template: '.$tpl;
?&gt;</div>

<!--p get_sidebar();-->
<div id="bottom"><!--p get_footer()--></div>
</pre>
<p>6、设置sidebar上面的图片<br />
这个很简单，在左边menu-&gt;小工具-&gt;把Flickr sidebar拖到右边 激活就OK了，你可以选择显示几张，如果你不选择随机显示相片的话，那么 第二栏的 标签对你来说很重要，因为显示的相片是根据你填写的标签，在flickr上你的相册里搜索的，所以呢，要怎么做，你知道了吧。<br />
<span style="color: #ff0000;">PS：如果你填写的标签，但是又没有显示出相片来，而你的相册确实是有相片的，并且也加了标签，这个的时候你要做的是，在photo album处刷新相集，清除cache这个选项选上，因为这个插件是有缓存的。</span></p>
<p>7、尽情享受吧！<br />
这是新手的天堂，高手闪开！</p>
<h4  class="entry-title">Related Posts</h4><ul class="related_post"><li><a href="http://blog.xiongchuan.org/blog-back.html" title="博客归来，更简洁了">博客归来，更简洁了</a></li><li><a href="http://blog.xiongchuan.org/batch-delete-blank-lines.html" title="PHP批量删除空行|wordpress迁移的艰辛">PHP批量删除空行|wordpress迁移的艰辛</a></li><li><a href="http://blog.xiongchuan.org/firefox-plugins-reboot-failed-resolve.html" title="Firefox安装插件后，重启无效的解决方法">Firefox安装插件后，重启无效的解决方法</a></li><li><a href="http://blog.xiongchuan.org/make-a-change-google-syntax-highlighter-for-wordpress.html" title="小小改动高亮插件Google Syntax Highlighter for WordPress">小小改动高亮插件Google Syntax Highlighter for WordPress</a></li><li><a href="http://blog.xiongchuan.org/add-author-name-for-wordpress.html" title="给博客加个作者|wordpress作者函数">给博客加个作者|wordpress作者函数</a></li><li><a href="http://blog.xiongchuan.org/change-blog-program-to-wordpress.html" title="换博客啦">换博客啦</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.xiongchuan.org/flickr-photo-album-for-wordpress.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>红酒网站&#8211;ecshop</title>
		<link>http://blog.xiongchuan.org/wines-site-ecshop-theme.html</link>
		<comments>http://blog.xiongchuan.org/wines-site-ecshop-theme.html#comments</comments>
		<pubDate>Thu, 12 Nov 2009 16:50:27 +0000</pubDate>
		<dc:creator>Erick</dc:creator>
				<category><![CDATA[ecshop]]></category>
		<category><![CDATA[我的作品]]></category>
		<category><![CDATA[作品]]></category>

		<guid isPermaLink="false">http://www.pigblog.net/?p=402</guid>
		<description><![CDATA[花了一个月的时间，和同学一起帮别人的做的红酒的网站，ECSHOP改的，修改了后台的功能，增加了酒卡，前台模板全部重新做的，前台的php文件改了N多，修改了N多，前台的AJAX的数据传输部分全部用JQ改写(原因是ecshop的transport.js和JQ有冲突，不得已啊)，可是，最近心情很不爽，11月11日的审判，最终交稿的时候，虽然是同事，但我还是中止了合同，这个网站就是留个纪念罢了。 不想做什么这一个星期，下个星期开始，做自己要做的事了 Related Posts博客归来，更简洁了Biolab.cn]]></description>
			<content:encoded><![CDATA[<p>花了一个月的时间，和同学一起帮别人的做的红酒的网站，ECSHOP改的，修改了后台的功能，增加了酒卡，前台模板全部重新做的，前台的php文件改了N多，修改了N多，前台的AJAX的数据传输部分全部用JQ改写(原因是ecshop的transport.js和JQ有冲突，不得已啊)，可是，最近心情很不爽，11月11日的审判，最终交稿的时候，虽然是同事，但我还是中止了合同，这个网站就是留个纪念罢了。</p>
<p><a href="http://www.pigblog.net/wp-content/uploads/2009/11/2.jpg" rel="external nofollow"><img class="size-full wp-image-403 alignleft" title="首页" src="http://www.pigblog.net/wp-content/uploads/2009/11/2.jpg" alt="首页" width="705" height="273" /></a><br />
<span id="more-402"></span><br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/3.jpg" rel="external nofollow"><img class="size-full wp-image-404 alignleft" title="商品页" src="http://www.pigblog.net/wp-content/uploads/2009/11/3.jpg" alt="商品页" width="705" height="385" /></a></p>
<p>不想做什么这一个星期，下个星期开始，做自己要做的事了</p>
<h4  class="entry-title">Related Posts</h4><ul class="related_post"><li><a href="http://blog.xiongchuan.org/blog-back.html" title="博客归来，更简洁了">博客归来，更简洁了</a></li><li><a href="http://blog.xiongchuan.org/biolab-cn-dedecms-template.html" title="Biolab.cn">Biolab.cn</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.xiongchuan.org/wines-site-ecshop-theme.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>发一个dedeEIMS企业模板</title>
		<link>http://blog.xiongchuan.org/an-enterprise-theme-for-dedeeims.html</link>
		<comments>http://blog.xiongchuan.org/an-enterprise-theme-for-dedeeims.html#comments</comments>
		<pubDate>Wed, 11 Nov 2009 01:49:32 +0000</pubDate>
		<dc:creator>Erick</dc:creator>
				<category><![CDATA[dedecms]]></category>
		<category><![CDATA[我的作品]]></category>
		<category><![CDATA[dedeeims]]></category>
		<category><![CDATA[模板]]></category>

		<guid isPermaLink="false">http://www.pigblog.net/?p=385</guid>
		<description><![CDATA[模仿的一个企业站，增加了一个标签 include/taglib/topchannel.lib.php 修改了一个标签 include/taglib/channel.lib.php,注释掉了第98行到104行，原因是，我要下级栏目的时候，如果没有的话，这个标签会列出同级栏目，这一点不需要，所以 注释了，现在的情况是没有下级栏目就留空。 模仿对象是www.chinasqs.cn/SQS/,所以有这些改动，在Windows下，已经修正了原来的几处浏览器的不兼容。 下载地址是:http://www.pigblog.net/download/dedeeims_wugang.tar.gz Related Posts博客归来，更简洁了小小改动高亮插件Google Syntax Highlighter for WordPressdopost is not a function 解决Biolab.cn]]></description>
			<content:encoded><![CDATA[<p>模仿的一个企业站，增加了一个标签<br />
include/taglib/topchannel.lib.php<br />
修改了一个标签<br />
include/taglib/channel.lib.php,注释掉了第98行到104行，原因是，我要下级栏目的时候，如果没有的话，这个标签会列出同级栏目，这一点不需要，所以<br />
注释了，现在的情况是没有下级栏目就留空。</p>
<p>模仿对象是www.chinasqs.cn/SQS/,所以有这些改动，在Windows下，已经修正了原来的几处浏览器的不兼容。<br />
<a href="http://www.pigblog.net/wp-content/uploads/2009/11/1.jpg" rel="external nofollow"><img src="http://www.pigblog.net/wp-content/uploads/2009/11/1-300x201.jpg" alt="内容页" title="内容页" width="300" height="201" class="aligncenter size-medium wp-image-386" /></a></p>
<p>下载地址是:http://www.pigblog.net/download/dedeeims_wugang.tar.gz</p>
<h4  class="entry-title">Related Posts</h4><ul class="related_post"><li><a href="http://blog.xiongchuan.org/blog-back.html" title="博客归来，更简洁了">博客归来，更简洁了</a></li><li><a href="http://blog.xiongchuan.org/make-a-change-google-syntax-highlighter-for-wordpress.html" title="小小改动高亮插件Google Syntax Highlighter for WordPress">小小改动高亮插件Google Syntax Highlighter for WordPress</a></li><li><a href="http://blog.xiongchuan.org/dopost-is-not-a-function-resove.html" title="dopost is not a function 解决">dopost is not a function 解决</a></li><li><a href="http://blog.xiongchuan.org/biolab-cn-dedecms-template.html" title="Biolab.cn">Biolab.cn</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.xiongchuan.org/an-enterprise-theme-for-dedeeims.html/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Biolab.cn</title>
		<link>http://blog.xiongchuan.org/biolab-cn-dedecms-template.html</link>
		<comments>http://blog.xiongchuan.org/biolab-cn-dedecms-template.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 11:53:00 +0000</pubDate>
		<dc:creator>Erick</dc:creator>
				<category><![CDATA[dedecms]]></category>
		<category><![CDATA[我的作品]]></category>
		<category><![CDATA[二次开发]]></category>
		<category><![CDATA[作品]]></category>

		<guid isPermaLink="false">http://www.pigblog.net/?p=202</guid>
		<description><![CDATA[时间原因，现在才放上来，这个是基于DEDECMS的二次开发，改了相当多的东西，模板是仿的国外的一个网站 Related Posts博客归来，更简洁了红酒网站&#8211;ecshop发一个dedeEIMS企业模板dopost is not a function 解决]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">时间原因，现在才放上来，这个是基于DEDECMS的二次开发，改了相当多的东西，模板是仿的国外的一个网站</p>
<div id="attachment_201" class="wp-caption alignnone" style="width: 518px"><img class="size-full wp-image-201 " title="Biolab.cn" src="http://www.pigblog.net/wp-content/uploads/2009/06/310.jpg" alt="Biolab.cn" width="508" height="337" /><p class="wp-caption-text">Biolab.cn</p></div>
<h4  class="entry-title">Related Posts</h4><ul class="related_post"><li><a href="http://blog.xiongchuan.org/blog-back.html" title="博客归来，更简洁了">博客归来，更简洁了</a></li><li><a href="http://blog.xiongchuan.org/wines-site-ecshop-theme.html" title="红酒网站&#8211;ecshop">红酒网站&#8211;ecshop</a></li><li><a href="http://blog.xiongchuan.org/an-enterprise-theme-for-dedeeims.html" title="发一个dedeEIMS企业模板">发一个dedeEIMS企业模板</a></li><li><a href="http://blog.xiongchuan.org/dopost-is-not-a-function-resove.html" title="dopost is not a function 解决">dopost is not a function 解决</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.xiongchuan.org/biolab-cn-dedecms-template.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

