<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Baffleinc.com</title>
	
	<link>http://baffleinc.com</link>
	<description>Just another Baffleinc.com weblog</description>
	<lastBuildDate>Fri, 10 Jul 2009 01:30:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/baffleinc" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">baffleinc</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>What would you most like to see in the Freebies section?</title>
		<link>http://baffleinc.com/blog/2009/07/10/what-would-you-most-like-to-see-in-the-freebies-section/</link>
		<comments>http://baffleinc.com/blog/2009/07/10/what-would-you-most-like-to-see-in-the-freebies-section/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:30:49 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=117</guid>
		<description><![CDATA[I have about 5 or 6 articles lined up that I have to refine + upload photos for, but in the mean time I am on holidays, so I have spare time to do freebies! So let me know below and I will get started on some!
[polldaddy poll=1772315]
A couple of the titles for upcoming posts:

The [...]]]></description>
			<content:encoded><![CDATA[<p>I have about 5 or 6 articles lined up that I have to refine + upload photos for, but in the mean time I am on holidays, so I have spare time to do freebies! So let me know below and I will get started on some!</p>
<p>[polldaddy poll=1772315]</p>
<p>A couple of the titles for upcoming posts:</p>
<ul>
<li>The Step by Step Design Process</li>
<li>How to print onto postit notes</li>
</ul>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/vZjo4pAUwJo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/07/10/what-would-you-most-like-to-see-in-the-freebies-section/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post about legal situation taken down</title>
		<link>http://baffleinc.com/blog/2009/05/28/charges-dropped-against-me/</link>
		<comments>http://baffleinc.com/blog/2009/05/28/charges-dropped-against-me/#comments</comments>
		<pubDate>Thu, 28 May 2009 12:42:58 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=100</guid>
		<description><![CDATA[Basil has requested that I take down the previous post regarding the whole &#8216;legal&#8217; dispute. Personally I think this is a shame as it was interesting and it had interest- I&#8217;m sure there will be people in the same position in the future, so it would almost be advice for them.
That said, after another email [...]]]></description>
			<content:encoded><![CDATA[<p>Basil has requested that I take down the previous post regarding the whole &#8216;legal&#8217; dispute. Personally I think this is a shame as it was interesting and it had interest- I&#8217;m sure there will be people in the same position in the future, so it would almost be advice for them.<span id="more-100"></span></p>
<p>That said, after another email back and forth Basil has dropped everything as I have complied to the &#8216;requirements&#8217;. He asked I take the emails down and delete the post; so that I am doing.</p>
<p>What I have learnt from this, most importantly is that it can be easy to be condescending to a child in such a &#8216;mature&#8217; circumstance. What you should take away from this is a few things.</p>
<ol>
<li>Do NOT treat anybody differently despite any factors including their ages.</li>
<li>Check your facts before you accuse someone something</li>
<li>Always be calm and professional</li>
<li>Never under estimate the power of thinking something through- think before you speak</li>
<li>Be sure about where you stand</li>
<li>Love the internet for it&#8217;s sense of community and sharing, not for being better than the next. That&#8217;s saved for the marketplace and clients.</li>
</ol>
<p>I hope those who read what happened while it was up took something away from it.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/hQAk-phEIK8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/28/charges-dropped-against-me/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Getting options from the database without a Loop</title>
		<link>http://baffleinc.com/blog/2009/05/25/getting-options-from-the-database-without-a-loop/</link>
		<comments>http://baffleinc.com/blog/2009/05/25/getting-options-from-the-database-without-a-loop/#comments</comments>
		<pubDate>Mon, 25 May 2009 00:55:15 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=72</guid>
		<description><![CDATA[If you&#8217;re ever in need of getting options, whether it&#8217;s those on the WordPress Dashboard or ones you&#8217;ve created by yourself, WordPress has a very easy, very simple built in function. get_option() gets any option in the database. Say you need to grab the posts to display per page (in the Settings&#62;Reading admin page), you [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re ever in need of getting options, whether it&#8217;s those on the WordPress Dashboard or ones you&#8217;ve created by yourself, WordPress has a very easy, very simple built in function. get_option() gets any option in the database. Say you need to grab the posts to display per page (in the Settings&gt;Reading admin page), you simply put:</p>
<pre>&lt;?php echo get_option('posts_per_page'); ?&gt;</pre>
<p>.</p>
<p>Handy tip for the day!</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/ike2H0cdUng" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/25/getting-options-from-the-database-without-a-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links of the Week 1</title>
		<link>http://baffleinc.com/blog/2009/05/24/links-of-the-week-1/</link>
		<comments>http://baffleinc.com/blog/2009/05/24/links-of-the-week-1/#comments</comments>
		<pubDate>Sun, 24 May 2009 00:55:03 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[Links of the week]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=60</guid>
		<description><![CDATA[Here are the top articles from this week in my famous RSS feeds
8 Layout Solutions To Improve Your Designs
The organization of content is probably one of the most important and influential aspects of any good web design. Organizing information into a well-built layout is the basis of a website, and should always come before styling [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the top articles from this week in my famous RSS feeds<span id="more-60"></span></p>
<h4>8 Layout Solutions To Improve Your Designs</h4>
<p>The organization of content is probably one of the most important and influential aspects of any good web design. Organizing information into a well-built layout is the basis of a website, and should always come before styling concerns. Without a good layout, the website doesn’t seem to flow correctly, and nothing connects the way it should.</p>
<p><a href="http://www.smashingmagazine.com/2009/05/19/8-layout-solutions-to-improve-your-designs/" title="8 Layout Solutions To Improve Your Designs" class="button">Visit Article</a></p>
<h4>100 Amazing Free Wordpress Themes for 2009</h4>
<p>In January last year (2008), we put together a list of 100 Excellent Free Wordpress Themes, over a year has passed and Wordpress development has progressed very fast and gained even more in popularity. We felt it was the right time to put together an updated post and offer our readers the best free themes that Wordpress can offer.</p>
<p><a href="http://www.smashingmagazine.com/2009/05/18/100-amazing-free-wordpress-themes-for-2009/" title="" class="button">Visit Article</a></p>
<h4>15 Hand Picked Color Palette and Color Scheme Generators</h4>
<p>When it comes to online color palette and color scheme generators, the choice can be hard, as there are many tools out there that offer such functionality. At one point, I was tempted to list the 50+ generators that I know about, but then thought, this isn’t about making another &#8220;ultimate&#8221; list, what matters most are the tools that offer the functionalities required to unleash your creative juices.</p>
<p><a href="http://singlefunction.com/15-hand-picked-color-palette-and-color-scheme-generators/" title="15 Hand Picked Color Palette and Color Scheme Generators" class="button">Visit Article</a></p>
<h4>9 Tips For Brand Building With Web Design</h4>
<p>First of all, what is a brand? A brand is a symbol. Symbols are designs which represent something else, and a brand is meant to package all of the associations, experiences and characteristics into an abstract construct.</p>
<p><a href="http://www.webdesignerdepot.com/2009/05/9-tips-for-brand-building-with-web-design/" title="9 Tips For Brand Building With Web Design" class="button">Visit Article</a></p>
<h4>How To Make Your Next Website Design Pop</h4>
<p>Web design is one of those areas that when done right, you know it. It looks polished, refined and generally, just well done &#8211; it pops! There are a number of ways that you can achieve this and that is by ‘polishing’ off your design. Here we look at some of the ways to do just that.</p>
<p><a href="http://justcreativedesign.com/2009/05/19/web-design-polishing-tutorial/" title="How To Make Your Next Website Design Pop" class="button">Visit Article</a></p>
<h4>30 Artistic and Creative Resumes</h4>
<p>How can we stand out from the rest and grab the attention of a design agency when they’re usually bombarded with hundreds of applications?</p>
<p>The best way to do this is in the design of your resume. Assuming that you have the skills that they’re looking for, a striking and visually appealing resume will go a long way at getting you the creative job that you want.</p>
<p><a href="http://www.webdesignerdepot.com/2009/05/30-artistic-and-creative-resumes/" title="30 Artistic and Creative Resumes" class="button">Visit Article</a></p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/hm3-NoRWb-4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/24/links-of-the-week-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrated Touch Balance</title>
		<link>http://baffleinc.com/blog/2009/05/17/integrated-touch-balance/</link>
		<comments>http://baffleinc.com/blog/2009/05/17/integrated-touch-balance/#comments</comments>
		<pubDate>Sun, 17 May 2009 04:24:28 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=57</guid>
		<description><![CDATA[ITb or Integrated Touch balance is a method for resolving inner problems that you are not conscious of, but your body is.
]]></description>
			<content:encoded><![CDATA[<p>ITb or Integrated Touch balance is a method for resolving inner problems that you are not conscious of, but your body is.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/wCK1BTehnkM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/17/integrated-touch-balance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tony Hall</title>
		<link>http://baffleinc.com/blog/2009/05/17/tony-hall/</link>
		<comments>http://baffleinc.com/blog/2009/05/17/tony-hall/#comments</comments>
		<pubDate>Sun, 17 May 2009 04:10:43 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=53</guid>
		<description><![CDATA[Tony Hall&#8217;s writings on Effective Time Management Strategies.
]]></description>
			<content:encoded><![CDATA[<p>Tony Hall&#8217;s writings on Effective Time Management Strategies.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/0sXDrQNDRig" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/17/tony-hall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>is_tree – the function WordPress is missing (one of the many)</title>
		<link>http://baffleinc.com/blog/2009/05/11/is_tree-the-function-wordpress-is-missing-one-of-the-many/</link>
		<comments>http://baffleinc.com/blog/2009/05/11/is_tree-the-function-wordpress-is-missing-one-of-the-many/#comments</comments>
		<pubDate>Mon, 11 May 2009 11:58:20 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=49</guid>
		<description><![CDATA[So for a current project I am using pages to create a bi-lingual site. I needed to check which menu to display, as it depended upon what the top level page was- english or french. I searched a bit, and found that there was no is_subpage or is_tree function, so I set out to make [...]]]></description>
			<content:encoded><![CDATA[<p>So for a current project I am using pages to create a bi-lingual site. I needed to check which menu to display, as it depended upon what the top level page was- english or french. I searched a bit, and found that there was no is_subpage or is_tree function, so I set out to make my own. How I did it, after the break!<span id="more-49"></span></p>
<p>Thanks to the brilliant mind of <a href="http://freshpacific.co.nz/">Anthony Cole</a> I figured out my own custom function, said &#8216;is_tree($p_id)&#8217;. This checks to see if the current page is in the direct tree (child, grandchild, etc) of the post that has the ID of $pid.</p>
<p>In your functions.php file in a theme, add the following lines:</p>
<pre>
&lt;?php
function is_tree($p_id) {
	global $post;
	if(is_page()&amp;&amp;(in_array($p_id, $post-&gt;ancestors) ||
							$post-&gt;post_parent==$p_id ||
							is_page($p_id)))
		return true;
		else return false;
};
?&gt;</pre>
<p>So basically what this does is grab the $post for the page and make it global so that it&#8217;s accessible across all template files, and then uses it. Thank god for the current conditional tags. It&#8217;s pretty self explanitory.</p>
<p>if we&#8217;re on a page that is run by page.php AND one of the following criteria are met, is_tree returns true (when using conditional tags what is gotten back by them is at it&#8217;s most basic form is if(true); or if(false);):</p>
<ul>
<li>The integer used (number or ID of the post) is in the array of $post&#8217;s ancestors</li>
<li>AND/OR the current post&#8217;s parent has an ID identical to that passed through is_tree()</li>
<li>AND/OR is the actual page that we&#8217;re checking for</li>
</ul>
<p>Return true or false. Basically yes or no.</p>
<p>So there you have it. To use it, you simply use:</p>
<pre>&lt;?php if(is_tree(34){echo 'this <em>is</em> a child or grandchild of post 34';} ?&gt;</pre>
<p>And that&#8217;s that!</p>
<p>One problem arose when I was using it, however. $post is overridden by the loop. So, the way I went about using it is via creating a variable in header.php and used that across my site.</p>
<p><strong>Note:</strong> if you want to do this, it wont work with get_header() or get_footer() or get_sidebar() or comments_template(). So you have two options; define a global variable (see <a href="http://au.php.net/manual/en/language.variables.scope.php">Variable Scope</a> for an explanation) or just use the include() function in place of the template file calls.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/_C7Jkda6rh0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/11/is_tree-the-function-wordpress-is-missing-one-of-the-many/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to fix broken pagination when using query_posts</title>
		<link>http://baffleinc.com/blog/2009/05/06/how-to-fix-broken-pagination-when-using-query_posts/</link>
		<comments>http://baffleinc.com/blog/2009/05/06/how-to-fix-broken-pagination-when-using-query_posts/#comments</comments>
		<pubDate>Wed, 06 May 2009 07:41:46 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=47</guid>
		<description><![CDATA[Just a quick tip for today- fixing pagination when using query_posts. The scenario. You&#8217;re using WordPress for your entire site, and hav a portfolio page and a testimonials page that both use posts to fill them. That&#8217;s all and good, however you&#8217;re excluding them from your Blog page using query_posts to modify what comes out [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick tip for today- fixing pagination when using query_posts. The scenario. You&#8217;re using WordPress for your entire site, and hav a portfolio page and a testimonials page that both use posts to fill them. That&#8217;s all and good, however you&#8217;re excluding them from your Blog page using query_posts to modify what comes out of your Loop. You&#8217;ve got it working, but when you troubleshoot, you can&#8217;t go back a page! Oh no! You Google around and find this page&#8230;<span id="more-47"></span></p>
<p>It&#8217;s actually really simple. All you have to do is <em>further modify</em> the loop so it thinks you&#8217;re passing normal paged variables (The things that tell WordPress to show the right posts). Let&#8217;s take this modified loop:</p>
<pre>&lt;?php
	if(have_posts()) :
	query_posts('cat=-9,-10');
	while(have_posts()) : the_post();
?&gt;

	&lt;!-- template tags go here --&gt;

&lt;?php endwhile; endif; ?&gt;</pre>
<p>This excludes our portfolio (category ID of 9) and testimonials (category ID of 10). But this makes our pagination go crazy. Here&#8217;s how it <em>should</em> look:</p>
<pre>&lt;?php
	if(have_posts()) :
	<strong>$page = (get_query_var('paged')) ? get_query_var('paged') : 1;</strong>
	query_posts('cat=-9,-10<strong>&amp;paged='.$page</strong>);
	while(have_posts()) : the_post();
?&gt;
	    &lt;!-- template tags go here --&gt;
&lt;?php endwhile; endif; ?&gt;</pre>
<p>That&#8217;s all it takes. Basically what it does is get the default pagination value and resubmits it through the funky loop and BAM you have yourself working pagination.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/KifcszdmyqM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/06/how-to-fix-broken-pagination-when-using-query_posts/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Adapt Training Solutions Logo</title>
		<link>http://baffleinc.com/blog/2009/05/02/adapt-training-solutions-logo/</link>
		<comments>http://baffleinc.com/blog/2009/05/02/adapt-training-solutions-logo/#comments</comments>
		<pubDate>Sat, 02 May 2009 06:25:30 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=29</guid>
		<description><![CDATA[Adapt Training Solutions train corporate workplaces in the use of software to create productivity through technology.
]]></description>
			<content:encoded><![CDATA[<p>Adapt Training Solutions train corporate workplaces in the use of software to create productivity through technology.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/fs_Xf-wC-ec" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/05/02/adapt-training-solutions-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nettuts+ articles</title>
		<link>http://baffleinc.com/blog/2009/04/30/nettuts-articles/</link>
		<comments>http://baffleinc.com/blog/2009/04/30/nettuts-articles/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 04:20:23 +0000</pubDate>
		<dc:creator>harley</dc:creator>
				<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://baffleinc.com/?p=17</guid>
		<description><![CDATA[I have written a number of compelling and informative articles and tutorials for the popular TUTS+ site Nettuts+.
]]></description>
			<content:encoded><![CDATA[<p>I have written a number of compelling and informative articles and tutorials for the popular TUTS+ site Nettuts+.</p>
<img src="http://feeds.feedburner.com/~r/baffleinc/~4/xfluVqcXp3s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://baffleinc.com/blog/2009/04/30/nettuts-articles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
