<?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>UnDeprived &#187; Web Dev</title>
	<atom:link href="http://www.un-deprived.com/category/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.un-deprived.com</link>
	<description>A webdev journal of the Moninator</description>
	<lastBuildDate>Sun, 05 Feb 2012 11:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Admin Blank Page of Death</title>
		<link>http://www.un-deprived.com/2011/webdev/wordpress-admin-blank-page-of-death/</link>
		<comments>http://www.un-deprived.com/2011/webdev/wordpress-admin-blank-page-of-death/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 22:30:42 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[blank page]]></category>
		<category><![CDATA[blank screen]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=872</guid>
		<description><![CDATA[I had the pleasure to experience that last night… again!  Last time it was a plugin…  this time is not.  After doing hours of searching… people said that some files maybe infected or the blog could be hacked. Well… that might not be the case. For mine, I recently did an upgrade to the latest [...]]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure to experience that last night… again!  Last time it was a plugin…  this time is not.  After doing hours of searching… people said that some files maybe infected or the blog could be hacked. Well… that might not be the case. For mine, I recently did an upgrade to the latest version of wodpress, then come back days later the admin section is all blank – no matter which url I typed.  Here are the symptoms:</p>
<ul>
<li>The blog’s front-end is still working fine, nothing seems out of place or broken</li>
<li>I got to the login screen, but as soon as I logged in, it was completely blank</li>
<li>I could not access any of page in the admin such as by typing: /wp-admin/plugins.php – all blank</li>
</ul>
<div>Before going into crazy mode on trying to figure out what’s going on with what I went through below… If you have similar symptoms like mine, just go to worpress, download a new copy, download the bad /wp-admin/ copy, and upload the entire /wp-admin/.  Fixed it for me instantly.  But if you want to know what I had to went through before figuring that easy solution…</div>
<div>Oh and before doing this, like I mentioned above… instead of keeping your admin down and messing with it live, I suggest download the bad copy of the /wp-admin/ locally, upload the brand new copy downloaded from wordpress and continue the diagnosis locally.  If the new upload didn’t fix your wordpress admin, then it probably isn’t the same problem. The rest of this won’t help you.</div>
<ol>
<li>I checked blog’s front-end and was still running fine – checked if any page is broken or funky stuff showing up on the pages.  A broken plugin might have be the culprit or you simply got hacked</li>
<li>So far so good, nothing seems broken or out of place. Login, page goes blank. I run the plugin Login Lockdown, so I FTP in and deleted the folder to see if that’s the culprit – nope. Put it back in.</li>
<li>Checked the error log and see what threw error(s) recently – did the same thing above. No go.</li>
<li>Found some people said that empty returns on functions.php or wp-config.php  in your theme can cause that – make sure no blank space on top or bottom…</li>
<li>Some said check files for weird stuff got append on top of some php files – checked all files inside wp-admin folder – nope</li>
<li>Fast forward 3 hours later – finally re-uploaded a new copy of the /wp-admin/ – fixed!  Son of a…</li>
</ol>
<div>Final note:  if it got fixed, but you should at least try to find out which files and what caused it by going through Step 4 or 5 – you never know, you might have been infected.  I wasn’t, just a bad upgrade.</div>
<div>Hope that helps.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2011/webdev/wordpress-admin-blank-page-of-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim blank screen or ^M errors before starting</title>
		<link>http://www.un-deprived.com/2011/webdev/vim-blank-screen-or-m-errors-before-starting/</link>
		<comments>http://www.un-deprived.com/2011/webdev/vim-blank-screen-or-m-errors-before-starting/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 13:35:41 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[fileformat]]></category>
		<category><![CDATA[git bash]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=768</guid>
		<description><![CDATA[As I spent more time playing with VIM, I ran into this very simple issue but took a while to find a solution. Description If you want to customize your VIM a bit more, you just have to create a .vimrc in the root. Even if you create/edit the .vimrc in VIM, better than Notepad [...]]]></description>
			<content:encoded><![CDATA[<p>As I spent more time playing with VIM, I ran into this very simple issue but took a while to find a solution.</p>
<h3> Description</h3>
<p>If you want to customize your VIM a bit more, you just have to create a .vimrc in the root. Even if you create/edit the .vimrc in VIM, better than Notepad right? NOT! Apparently, by default, VIM doesn’t set the file format for you. So it leaves a “trailing ^M” and VIM doesn’t like that… </p>
<h3> Symptoms</h3>
<ul>
<li><strong>Windows</strong>: it shows a blank screen and has “Hit enter to type command” or something like that before VIM starts. It doesn’t show any errors.</li>
<li><strong>Ubuntu</strong> (see screenshot): it actually displays the following errors: “Invalid argument on^M” OR “Trailing characters ^M” OR “Not an editor command: ^M”</li>
</ul>
<p><a href="http://www.un-deprived.com/wp-content/uploads/vimrc-error.jpeg" rel="lightbox[768]" title="ubuntu-vimrc-error"><img src="http://www.un-deprived.com/wp-content/uploads/vimrc-error-167x125.jpg" alt="" title="ubuntu-vimrc-error" width="167" height="125" class="alignnone size-medium wp-image-773" /></a></p>
<p>To fix this, it’s actually pretty easy.</p>
<p>While in VIM and in command mode type:</p>
<pre>:set fileformat=unix</pre>
<p>Of course the setting depends on your system, if you’re on Mac, set it to fileformat=mac. I set mine to unix because I use Git Bash and set it to use unix style, so if you are on Windows and set it to dos commands… set it to dos.  Now you’re safe to edit .vimrc, when you :wq and vim again, the blank black screen (on Windows), and “Invalid editor commands” should go away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2011/webdev/vim-blank-screen-or-m-errors-before-starting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding on Steroids</title>
		<link>http://www.un-deprived.com/2011/webdev/coding-on-steroids/</link>
		<comments>http://www.un-deprived.com/2011/webdev/coding-on-steroids/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 02:51:34 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[scaffolding]]></category>
		<category><![CDATA[sparkup]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[zen-coding]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=762</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2011/webdev/coding-on-steroids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2011 Overnight Web Challenge</title>
		<link>http://www.un-deprived.com/2011/others/2011-overnight-web-challenge/</link>
		<comments>http://www.un-deprived.com/2011/others/2011-overnight-web-challenge/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 04:20:43 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[inspirations]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[non-profit]]></category>
		<category><![CDATA[owc]]></category>
		<category><![CDATA[someplace safe]]></category>
		<category><![CDATA[web challenge]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=725</guid>
		<description><![CDATA[Haven’t blogged for a long time, finally something I feel proud of and feel like I’m at least +5 on un-deprived. If you are in Minnesota, or probably heard about the annual Overnight Web Challenge hosted by a group of  local generous web agency: The Nerdery. Which was an event to redesign websites for local [...]]]></description>
			<content:encoded><![CDATA[<p>Haven’t blogged for a long time, finally something I feel proud of and feel like I’m at least +5 on un-deprived.</p>
<p>If you are in Minnesota, or probably heard about the annual <a title="Overnight Web Challenge" href="http://www.overnightwebsitechallenge.com" target="_blank">Overnight Web Challenge</a> hosted by a group of  local generous web agency:<a href="http://nerdery.com/" target="_blank"> The Nerdery</a>. Which was an event to redesign websites for local non-profits. I have to say at first I was very nervous about it, but I had a blast and learned a lot of things. So here are the details.</p>
<h2>The goal</h2>
<p>The goal of the challenge is each team can have up to 10 people (strangers or friends), and each team will pair up with a non-profit chosen by The Nerdery. In 24 hours time we are to redesign and build a new website for our designated local non-profit client.</p>
<h3>Outcome</h3>
<p><a href="http://www.un-deprived.com/wp-content/uploads/name.jpg" rel="lightbox[725]" title="name"><img class="size-medium wp-image-743 alignnone" title="name" src="http://www.un-deprived.com/wp-content/uploads/name-227x125.jpg" alt="" width="227" height="125" /></a></p>
<p>In my case, my team was Team Venture – we were a mixed of former and current co-workers. Not everyone knows everyone, but we bonded quickly. Our client was <a href="http://someplacesafe.info/" target="_blank">Someplace Safe</a>. Even though we couldn’t finish 100%, so we are still continuously working on it and provide support in the next 6 months.</p>
<div id="attachment_738" class="wp-caption alignnone" style="width: 135px"><a href="http://www.un-deprived.com/wp-content/uploads/before.jpg" rel="lightbox[725]" title="before"><img class="size-medium wp-image-738" title="before" src="http://www.un-deprived.com/wp-content/uploads/before-125x125.jpg" alt="" width="125" height="125" /></a>
<p class="wp-caption-text">Before</p>
</div>
<div id="attachment_736" class="wp-caption alignnone" style="width: 155px"><a href="http://www.un-deprived.com/wp-content/uploads/after1.jpg" rel="lightbox[725]" title="after"><img class="size-medium wp-image-736" title="after" src="http://www.un-deprived.com/wp-content/uploads/after1-145x125.jpg" alt="" width="145" height="125" /></a>
<p class="wp-caption-text">After</p>
</div>
<h2>Rules</h2>
<p>Anything goes… PHP, WordPress, Ruby, whatever. We could even prepare codes ahead (in which I hope we can prepare better next year).</p>
<h3>What we did and lessons learned</h3>
<p>We chose WordPress as our platform, the lessons I learned from it were:</p>
<ol>
<li>Don’t build anything from scratch if not necessary, frameworks, frameworks, and frameworks.</li>
<li>Pre-installed plugins  – take them out if not needed. It’s easier to remove than add</li>
<li>List of jQuery components, snippets to generate WordPress page contents (sidebars etc…)</li>
</ol>
<p>I am totally going to do the challenge again next year and because the winning team: TST Media pulled off some <a href="http://www.bloomingtonyouth.org/" target="_blank">very amazing stuff</a> in one night, they’ve inspired me to push a lot harder than just using a WordPress platform. So hopefully I’ll start posting more updates on what this “pushing harder” in the next few months.</p>
<p>Other than that, I encourage all web nerds in MN to try this challenge at least once. It’s thrilling, learn to work faster, and put our web nerdiness skills to use in a very meaningful way. Besides that, you get to meet maybe a Senator such as <a href="http://www.un-deprived.com/wp-content/uploads/alfranken.jpg" rel="lightbox[725]" title="Senator Al Franken">Al Franken</a>, and the <a href="/wp-content/uploads/tronguy.jpg" rel="lightbox[725]" title="Tronguy">Tronguy</a>. Foods in every 3 hours, massage, Yoga, live action <a href="/wp-content/uploads/angrybirds.jpg" rel="lightbox[725]" title="Angry Birds">Angry Birds</a> and a whole lot more nerdy fun stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2011/others/2011-overnight-web-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git — get it running on a remote server in 5 steps… really the easy way — not kidding</title>
		<link>http://www.un-deprived.com/2010/webdev/git-get-it-running-on-a-remote-server-in-5-steps-really-the-easy-way-not-kidding/</link>
		<comments>http://www.un-deprived.com/2010/webdev/git-get-it-running-on-a-remote-server-in-5-steps-really-the-easy-way-not-kidding/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 04:16:57 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[.gitignore]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[SSH key]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=623</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2010/webdev/git-get-it-running-on-a-remote-server-in-5-steps-really-the-easy-way-not-kidding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tread lightly when using Zimplit</title>
		<link>http://www.un-deprived.com/2010/webdev/tread-lightly-when-using-zimplit/</link>
		<comments>http://www.un-deprived.com/2010/webdev/tread-lightly-when-using-zimplit/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 22:52:37 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=544</guid>
		<description><![CDATA[I love Zimplit‘s simple idea, and relatively easy to setup (depending on server’s configurations). But of course it comes with a head-scratcher. Here are what I learned: 1. Localhost Timeout Error As many sane developer would do, you want to test almost everything on a Local server if you’re using Xampp Lite. I have been [...]]]></description>
			<content:encoded><![CDATA[<p>I love <a href="http://zimplit.com/" target="_blank">Zimplit</a>‘s simple idea, and relatively easy to setup (depending on server’s configurations). But of course it comes with a head-scratcher. Here are what I learned:</p>
<h3>1. Localhost Timeout Error</h3>
<p>As many sane developer would do, you want to test almost everything on a Local server if you’re using Xampp Lite. I have been experiencing timeout error. Maybe it’s due to the firewall at work, but I  am going to investigate more using a full verison of the Xampp server</p>
<h3>2. “public_html” vs “www” Folders</h3>
<p>This may sounds crazy, but I think it might have something to do with the configurations of the server. I tried uploading to my own server, everything works fine. But I couldn’t get it working on my client’s server, it couldn’t CHMOD properly. Crazy enough, I deleted everything and re-uploaded everything to the public_html folder, CHMOD the proper files, then it worked… I know both folders are basically the same thing, but why it happened the way it did, CRAZY! I tell you. So I’m going to try to reproduce this “bug” if it is even a bug or just me…</p>
<h3>3. jQuery + zimplit = Site Explosion!</h3>
<p>Unfortunately, today I found out zimplit will blow up your some parts of your layout if you have some sorts of scripting going on in the background, such as slideshow, hidden divs. As soon as you insert an editable area, it automatically inserts its own div and classes inside ALL OF YOUR DIVs! Drove me insane for over an hour why my simple page stopped working with a simple slideshow.  I mean it’s not the end of the world, you just have to rework your CSS to fit it in. But it would be nice IF SOMEONE TOLD ME BEFOREHAND!!</p>
<p>Overall, zimplit is still an awesome idea, but it’s quite intrusive. It works well if you have a very simple website or planned ahead to use it at the beginning. If you decide to implement <em>afterward</em>, it is much more difficult because you’ll probably have to rework lots of CSS. But I think I will try my hands on it again next time when I build a site from scratch.  Just my 2 cents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2010/webdev/tread-lightly-when-using-zimplit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image maps within an image map</title>
		<link>http://www.un-deprived.com/2010/webdev/image-maps-within-an-image-map/</link>
		<comments>http://www.un-deprived.com/2010/webdev/image-maps-within-an-image-map/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:36:07 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[homepage]]></category>
		<category><![CDATA[hotspots]]></category>
		<category><![CDATA[image maps]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[new things]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=526</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2010/webdev/image-maps-within-an-image-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Portfolio</title>
		<link>http://www.un-deprived.com/2009/webdev/new-portfolio/</link>
		<comments>http://www.un-deprived.com/2009/webdev/new-portfolio/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 02:23:31 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Graphic]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[designloper]]></category>
		<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=416</guid>
		<description><![CDATA[I finally gathered my braincells and launched my new portfolio: Designloper.com today: I was trying to “brand” myself in a way, what’s better than a made-up word that describes perfectly of what I do, right?  I love the lime green colors, but I thought it was getting too boring with the light gray and white. [...]]]></description>
			<content:encoded><![CDATA[<p>I finally gathered my braincells and launched my new portfolio: <a title="Designloper" href="http://designloper.com" target="_blank">Designloper.com</a> today:</p>
<p><a href="http://www.un-deprived.com/wp-content/uploads/designloper2.jpg" rel="lightbox[416]" title="Designloper.com"><img class="alignnone size-full wp-image-417" title="Designloper.com" src="http://www.un-deprived.com/wp-content/uploads/designloper2.jpg" alt="Designloper.com" width="336" height="253" /></a></p>
<p>I was trying to “brand” myself in a way, what’s better than a made-up word that describes perfectly of what I do, right?  I love the lime green colors, but I thought it was getting too boring with the light gray and white.</p>
<p><a href="http://www.un-deprived.com/wp-content/uploads/html.jpg" rel="lightbox[416]" title="mludesign"><img class="alignnone size-full wp-image-422" title="mludesign" src="http://www.un-deprived.com/wp-content/uploads/html.jpg" alt="mludesign" width="322" height="353" /></a></p>
<p>So I spiced things up this time with dark brown and hot pink.  I was loving the fun colors as I was designing, it looked almost “hippy” which fits my personalities – I never did drugs in my life, but I seem so…<span id="more-416"></span></p>
<p>At the moment, it’s still in Beta with basic functions, hoping to AJAX-fy it in the next few days.  Right now, it is xHTML 1.0 Transitional validated, and with only TWO hacks to make IE6 looks pretty.  So I was very thrilled that it turned out well and only with minimal hack works needed to be done with IE6.</p>
<p>So <a title="Designloper" href="http://designloper.com/" target="_blank">check it out</a>, and please give me feed backs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/webdev/new-portfolio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery CSV2Table — Modified</title>
		<link>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/</link>
		<comments>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 23:02:10 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[CSV2Table]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery Journal]]></category>
		<category><![CDATA[jQuery Plugins]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=399</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pods CMS: Magic Tag</title>
		<link>http://www.un-deprived.com/2009/webdev/pods-cms-magic-tag/</link>
		<comments>http://www.un-deprived.com/2009/webdev/pods-cms-magic-tag/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 12:32:48 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Pods CMS]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[Magic Tags]]></category>
		<category><![CDATA[PICK column]]></category>
		<category><![CDATA[pods]]></category>
		<category><![CDATA[pods cms]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=357</guid>
		<description><![CDATA[This is going to be a short post. Magic Tags are very awesome, but on the Pods CMS documentation failed to mention something very simple yet useful. Before anything, here’s a quick run down of what Magic Tags are… Software Note: :pods: 1.7.3 / WP 2.8.4 Documentation: http://pods.uproot.us/codex/magic_tags What are Magic Tags From Pods CMS’ [...]]]></description>
			<content:encoded><![CDATA[<p>This is going to be a short post. Magic Tags are very awesome, but on the Pods CMS documentation failed to mention something very simple yet useful. Before anything, here’s a quick run down of what Magic Tags are…</p>
<p><span id="more-357"></span></p>
<p><strong>Software Note</strong>: :pods: 1.7.3 / WP 2.8.4</p>
<p><strong>Documentation</strong>: <a href="http://pods.uproot.us/codex/magic_tags">http://pods.uproot.us/codex/magic_tags</a></p>
<p><strong>What are Magic Tags</strong></p>
<p>From Pods CMS’ documentation: Magic Tags are used exclusively within <strong>Pod templates</strong> to dynamically pull in column values.</p>
<p><strong>Usage:</strong> {@column_name} / {@column_name,display_helper}</p>
<p><strong>In addition to the documentation:</strong> {@column_name.another_column_name}</p>
<p>The above method allow you access a different Pod’s columns when it is a PICK column inside a pod.</p>
<p>Let’s say you have to two pods. The <em>Person</em> pod, and<em> Country</em> pod. The <em>Person </em>pod has a PICK column of the <em>Country</em> pod to identify the nationality of that person, and you want to list all the people as: Person’s Name, Country (where you want to access by: <a href="http://domain.com/person">http://domain.com/person</a>). So inside the <strong>Pod Templates</strong> you would have something like this to show:</p>
<pre lang='html' line='0'>
<p>{@name}, {@country}</p>
</pre><p>The above displays something like below on the <em> Person</em> list page (<em><a href="http://domain.com/person">http://domain.com/person</a></em>): </p>
<pre lang='html' line='0'>Mon Lu, United States
John Smith, Canada
Ken Yamamoto, Japan
</pre><p>Now you want to get a bit sophisticated that you want to link the person’s name to its own detail page, and the country is linked to its own page listing all the people from that country or something like that. Not only that, you want to link the page using its own slugs/permalinks like this: <em><a href="http://domain.com/person/mon_lu">http://domain.com/person/mon_lu</a></em> and <em><a href="http://domain.com/country/usa">http://domain.com/country/usa</a></em> – assuming you have a  column named <em>slug</em> in the <em>Person</em> pod, and or <em> abbrv</em> in the <em>Country</em> pod. Before I figured this out, I used a <a href="/2009/webdev/pods-cms-display-helpers/">Display Helper</a> to grab the <em>abbrv</em> from the <em>Country </em>pod. But the easier way is the following, assuming this is still <em><a href="http://domain.com/person">http://domain.com/person</a></em> listing all the people where the <em>Country</em> pod is a PICK column inside the <em>Person</em> pod:</p>
<pre lang='html' line='0'>
<p><a href="/person/{@slug}">{@name}</a><a href="/country/{@country.abbrv}">{@country}</a></p>
</pre><p>Simple enough, yeah? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/webdev/pods-cms-magic-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

