<?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>KokPinLab.com &#187; Work</title>
	<atom:link href="http://www.kokpinlab.com/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kokpinlab.com</link>
	<description>Photo Laboratory of Live &#124; Eat &#124; Play &#124; Work with Passion</description>
	<lastBuildDate>Wed, 05 Jan 2011 06:16:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>PayFong Carnival Website Launched After Weeks of JIT Learning</title>
		<link>http://www.kokpinlab.com/featured/payfong-carnival-website-launched-after-weeks-of-jit-learning/</link>
		<comments>http://www.kokpinlab.com/featured/payfong-carnival-website-launched-after-weeks-of-jit-learning/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:00:20 +0000</pubDate>
		<dc:creator>KP Yang</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Pay Fong Carnival]]></category>
		<category><![CDATA[全球培风校友嘉年华会]]></category>

		<guid isPermaLink="false">http://www.kokpinlab.com/?p=461</guid>
		<description><![CDATA[Through my first website design, I learned about the "Fighter" spirit... Nothing is impossible, we can do it with our passion... Pay Fong Carnival 2009 Website is launched!]]></description>
			<content:encoded><![CDATA[<p>1.5 hours more and it will be 28 Aug 2009. What is so special on this particular day?</p>
<p>Well, the 3 days 2 nights Pay Fong Carnival 2009 (&#8220;全球培风人 临九汇狮城&#8221;) will kick start at 10am, 28 Aug 2009. It is a Biennial event organized for all alumni from my secondary school to get together. Singapore alumni is organizing this year carnival here in Singapore. For me,  I was involved mainly in the website design and ebook creation. It was a great experience to play with some photoshop, play with WordPress design, play with javascript, play with CSS and play with flash based ebook.</p>
<h2>Creation of Pay Fong Carnival Website</h2>
<p>From starting with the conceptual design, I spent time with our carnival event director (统筹) to streamline the content, create the ebook, change the website layout&#8230; Honestly, my event director is a tough person to deal with. He demand high standard and high quality of work. He demanded everything to be complete and thorough.</p>
<p>Our event director had lots of ideas and he also requested for many considerations to make the website more user friendly. I kept telling him &#8220;Not possible&#8221;, &#8220;This one can&#8217;t be done lah&#8221;, &#8220;That one too tough&#8221;&#8230; Too bad, none of this reasoning was able to move him.  I was also touched by his excitement despite his demanding style&#8230; ;-) Frankly, I had no idea on how to solve those issues at that moment. It was a totally a JIT (Just in Time) learning. Grab the idea, search on Google, read online documentations&#8230; and finally, the website of <a title="Pay Fong Carnival 2009" href="http://www.payfongalumni.org" target="_blank">Pay Fong Carnival 2009</a> is finally born.</p>
<p>Through this learning, I learned from him the &#8220;Fighter&#8221; spirit&#8230; Nothing is impossible, we can do it with our passion&#8230; Now, as I think back, it wasn&#8217;t that difficult after all&#8230; This is the first website <a title="KokPinLab" href="http://www.kokpinlab.com" target="_self">KokPinLab </a>created.</p>
<div id="attachment_462" class="wp-caption alignnone" style="width: 578px"><img class="size-full wp-image-462" title="Pay Fong Carnival 2009 - Website Launched" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/payfongalumni-carnival2009.jpg" alt="Pay Fong Carnival 2009 - Website Launched" width="568" height="486" /><p class="wp-caption-text">Pay Fong Carnival 2009 - Website Launched</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.kokpinlab.com/featured/payfong-carnival-website-launched-after-weeks-of-jit-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightbox Photo Gallery Display</title>
		<link>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/</link>
		<comments>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 04:57:16 +0000</pubDate>
		<dc:creator>KP Yang</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Photo Gallery]]></category>

		<guid isPermaLink="false">http://www.kokpinlab.com/?p=451</guid>
		<description><![CDATA[As I was setting up my photo gallery, Wordpress displays the photos in thumbnail setting by default. I found a very cool photo gallery display javascript called LightBox to improve user experience.]]></description>
			<content:encoded><![CDATA[<p><span class="drop-cap">A</span>s I was setting up my photo gallery, WordPress displays the photos in thumbnail setting by default. There are some additional feature in WordPress that you can either set up the photo to display in full size on the same page or on a new windows.</p>
<p>However, I just felt that the user experience was damn lousy in that way. In particular, it is very disturbing to see new windows being opened or new pop up appearing to show the photo elsewhere. That gave me a feeling of lost of connection from the main website.</p>
<h2>LightBox Photo Display Javascript</h2>
<p>I search online trying to look for some idea or solution to improve user experience. I found a very cool photo gallery display javascript called <a title="Lightbox Javascript" href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">LightBox</a>. It allows a photo to be enlarged and displayed right at the center of the screen upon a single click on the thumbnail. On top of that, the background will also be dimmed down to make the photo standing out. It also included some basic &#8220;Previous&#8221; and &#8220;Next&#8221; buttons to scroll between all the photos in the same gallery without opening up all the disturbing windows or pop up.</p>
<p>The set up is not very complicated and quite straight forward. You simple need to download the script files, upload it to your server. Personally, I put it under my wordpress theme directory. An instruction is provided in the ZIP file that comes with the script. Follow the instruction to add javascript and CSS headers into your theme files.</p>
<p>If you are familiar with PHP, you can disable the default WordPress gallery setting and modify it to use Lightbox. Programming is just not my cup of tea. I utilized a WordPress Plugin called <a title="Cleaner WordPress Gallery" href="http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin" target="_blank">Cleaner WordPress Gallery</a> for setting up the wordpress gallery for me.</p>
<p>After which, I was done!!! Open up the gallery @ <a title="KokPinLab : Live | Eat | Play | Work with Passion" href="http://www.kokpinlab.com" target="_self">KokPinLab.com</a> and I have my lightbox working&#8230; *Happy*&#8230; hehe&#8230;</p>
<div id="attachment_453" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-453" title="Lightbox Photo Display on KokPinLab" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/lightbox-at-kokpinlab.jpg" alt="Lightbox Photo Display on KokPinLab" width="500" height="392" /><p class="wp-caption-text">Lightbox Photo Display on KokPinLab</p></div>
<h2>Lightbox Script Download</h2>
<p class="download">You can download the Lightbox script at: <a title="Lightbox Script" href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">http://www.lokeshdhakar.com/projects/lightbox2/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kokpinlab.com/work/lightbox-photo-gallery-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup WordPress for Both English &amp; Chinese Languages</title>
		<link>http://www.kokpinlab.com/work/setup-wordpress-for-both-english-chinese-languages/</link>
		<comments>http://www.kokpinlab.com/work/setup-wordpress-for-both-english-chinese-languages/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 12:52:46 +0000</pubDate>
		<dc:creator>KP Yang</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Chinese]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.kokpinlab.com/?p=441</guid>
		<description><![CDATA[I have set up this wordpress blog primarily using English as 1st language. However, sometimes I do like to write in Chinese as well. I found that there is a way you can set up the blog for using both english &#038; chinese. Here's the step by step guide that I went through.]]></description>
			<content:encoded><![CDATA[<p>I have set up this wordpress blog primarily using English as 1st language. However, sometimes I do like to write in Chinese as well. I found that there is a way you can set up the blog for using both english &amp; chinese. Here&#8217;s the step by step guide that I went through.</p>
<h2>Setup WordPress for Both English &amp; Chinese Languages</h2>
<h3>1. Open phpMyAdmin in CPanel</h3>
<p>In order to type chinese on your blog, you will need to change some settings inside the SQL database. Firstly, you will need to login to your CPanel, then open phpMyAdmin as followed:</p>
<div id="attachment_443" class="wp-caption alignnone" style="width: 303px"><img class="size-full wp-image-443" title="phpMyAdmin in CPanel" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/phpMyAdmin.jpg" alt="phpMyAdmin in CPanel" width="293" height="106" /><p class="wp-caption-text">phpMyAdmin in CPanel</p></div>
<h3>2. Select Database &amp; Table of Your Blog</h3>
<p>After launching the phpMyAdmin screen, you will need to select the database of your blog on the pull down menu. Once you have selected the database, you will be able to see all the existing tables of the database showing right below the pull down menu.</p>
<div id="attachment_439" class="wp-caption alignnone" style="width: 458px"><img class="size-full wp-image-439" title="Select Database &amp; Table in phpMyAdmin" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/phpMyAdmin-select-database-table.jpg" alt="Select Database &amp; Table in phpMyAdmin" width="448" height="340" /><p class="wp-caption-text">Select Database &amp; Table in phpMyAdmin</p></div>
<p><strong>3. Set Collation to utf8_unicode_ci</strong></p>
<p>Click on the database table, you will see the table structure appearing on the right hand side of the screen. In order to store chinese in the database, you need to change the collation setting from <em>latin1_swedish_ci</em> to <strong><em>utf8_unicode_ci</em></strong>.</p>
<p>To change the collation setting, click on the pencil button and you will be a pop up window appearing. Scroll on the pull down menu to select utf8_unicode_ci and save the setting.</p>
<p>You need to go through this steps for all the fields that has existing setting of <em>latin1_swedish_ci.</em> You also need to repeat this step for all tables in the database as well.</p>
<div id="attachment_440" class="wp-caption alignnone" style="width: 578px"><img class="size-full wp-image-440" title="Set utf8_unicode_ci in phpMyAdmin" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/phpMyAdmin-set-utf8-unicode.jpg" alt="Set utf8_unicode_ci in phpMyAdmin" width="568" height="340" /><p class="wp-caption-text">Set utf8_unicode_ci in phpMyAdmin</p></div>
<p>You are Done&#8230; Good Luck to You!</p>
<p>After completing the above mentioned steps, you should be able to type and store chinese text (中文） like I do. I suppose you should be able to do this for all other asian language as well. But I have never tried that. Maybe you can share with me if you do have some success on that.</p>
<p>All the best and enjoy blogging in your asian language&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kokpinlab.com/work/setup-wordpress-for-both-english-chinese-languages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

