<?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>Leo Newball, Jr. &#187; Design</title>
	<atom:link href="http://leonewball.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://leonewball.com</link>
	<description>life, design, tech</description>
	<lastBuildDate>Sat, 03 Apr 2010 05:53:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Treat Your Web Designer Like a Doctor</title>
		<link>http://leonewball.com/2009/06/27/treat-your-web-designer-like-a-doctor/</link>
		<comments>http://leonewball.com/2009/06/27/treat-your-web-designer-like-a-doctor/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 03:14:54 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Problems]]></category>
		<category><![CDATA[Web Designer]]></category>

		<guid isPermaLink="false">http://leonewball.com/?p=294</guid>
		<description><![CDATA[I get very annoyed with the lack of trust clients have with web designers. I’m sure this comes from horrible experiences with unqualified, unexperienced or new designers who tend to be cheap, quick and perform plenty of mistakes. Many potential clients tend to say, “I have a few quick and easy changes for my website” [...]]]></description>
			<content:encoded><![CDATA[<p>I get very annoyed with the lack of trust clients have with web designers. I’m sure this comes from horrible experiences with unqualified, unexperienced or new designers who tend to be cheap, quick and perform plenty of mistakes. Many potential clients tend to say, “I have a few quick and easy changes for my website” or “this won’t take long” and then provide a list of not-so-easy tasks. No one goes to their doctor and says “hey doc, I don’t feel too well, but this would be quick and easy to fix,” while having flu like symptoms.</p>
<p><span id="more-294"></span></p>
<p>Instead of stating there are “easy” tasks or “simple” changes to perform for your website, tell your web designer the list of changes and tasks required. Have them tell you what their thoughts are. If the designer quotes a price or additions your not comfortable with, find a second opinion. If you have the flu and your doctor tells you to drink a bottle of soda, most people would seek a second opinion.</p>
<p>Regardless of the work that needs to be done, don’t haggle to much over the price. If you required minor surgery, but were charged $1 by the doctor performing the procedure you may be skeptical. The same applies for web design. Even if you think the work may be simple, there’s plenty of factors you may not consider in the development of your website. If your web designer quotes a price outside your budget, find a new web designer, compared prices! You usually pay for what you get; a cheap fast web designer will probably provide a product you may have to pay another designer to fix in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2009/06/27/treat-your-web-designer-like-a-doctor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress, index.html&#039;s, and 404&#039;s</title>
		<link>http://leonewball.com/2009/05/04/wordpress-indexhtmls-and-404s/</link>
		<comments>http://leonewball.com/2009/05/04/wordpress-indexhtmls-and-404s/#comments</comments>
		<pubDate>Mon, 04 May 2009 13:00:00 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[index.html]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://leonewball.com/design/wordpress-indexhtmls-and-404s/</guid>
		<description><![CDATA[I came across a WordPress quirk I did not know how to solve for some time. Google Webmaster Tools indicated there was a missing index.html on one of my WordPress driven websites. This website is ran on the root domain and was operating as it should be. When visiting a domain (such as mywebsitename.com) what [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a WordPress quirk I did not know how to solve for some time. <a href="http://www.google.com/webmasters/tools/">Google Webmaster Tools</a> indicated there was a missing index.html on one of my WordPress driven websites. This website is ran on the root domain and was operating as it should be. When visiting a domain (such as mywebsitename.com) what ever is displayed on the page is what appears in the index.html file. When I entered the address of my website with the index.html file, WordPress gave me a 404 error, and this further confused me.</p>
<p>I did some investigation, and found I was not alone in my frustration, but a solution did not exist. While heading to my root domain worked (mywebsitename.com), mywebsitename.com/index.html did not, even weirder mywebsitename.com/index.php performed the job that index.html should have. To solve this problem, my first instinct was to try a simple redirect index.html to index.php by adding code into my .htaccess file. When I added the following code something interesting happened.</p>
<pre><code>RewriteEngine on
RewriteRule index.html index.php [R=301,L]</code></pre>
<p>This solution produced an infinite loop causing the server to terminate the request. This further perplexed me, I needed a solution without creating another webpage that was also SEO friendly. It wasn&#8217;t until I came cross this <a href="http://www.lancelhoff.com/redirect-indexhtml-and-indexphp-to-the-home-page/">post, detailing how to redirect index.html and index.php to the home page</a> that I found my answer. While the initial instinct was correct, the way to go about it was all wrong, to properly redirect a request for the index.html to the proper page (and make everyone happy), I had to use the following code:</p>
<pre><code>RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://nexeusfatale.com/$1 [R=301,L]</code></pre>
<p>By setting this condition, I prevented the server loop, redirected the request to the index.html to the root domain, informed search engines to properly update the missing webpage, and made everyone happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2009/05/04/wordpress-indexhtmls-and-404s/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>the next LVL theme updated to version 0.9.2</title>
		<link>http://leonewball.com/2009/04/08/the-next-lvl-theme-updated-to-version-092/</link>
		<comments>http://leonewball.com/2009/04/08/the-next-lvl-theme-updated-to-version-092/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:19:54 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://leonewball.com/?p=150</guid>
		<description><![CDATA[I have been very busy in tweaking my current web designs, including my newly released WordPress theme. I&#8217;ve made some changes (mainly those to be complient with the WordPress theme repository), and cleaned up a lot of CSS code. You can download the next LVL  here. Here is the full list of the recent changes [...]]]></description>
			<content:encoded><![CDATA[<p>I have been very busy in tweaking my current web designs, including my newly released WordPress theme. I&#8217;ve made some changes (mainly those to be complient with the WordPress theme repository), and cleaned up a lot of CSS code. You can <a href="http://leonewball.com/design/the-next-lvl-wordpress-theme/">download the next LVL  here</a>. Here is the full list of the recent changes made:</p>
<p><strong>version .9.2 (4/8/09)</strong></p>
<ul>
<li>Fixed a font size issue with &lt;select&gt; tags inside of posts</li>
<li>Cleaned up CSS Code</li>
<li> Removed Plugin Dependend Code</li>
<li>Removed Images from Sidebar and replaced with text</li>
</ul>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2009/04/08/the-next-lvl-theme-updated-to-version-092/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the next LVL updated to v. 0.9.1</title>
		<link>http://leonewball.com/2009/04/06/the-next-lvl-updated-to-v-091/</link>
		<comments>http://leonewball.com/2009/04/06/the-next-lvl-updated-to-v-091/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 23:26:32 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[0.9.1]]></category>
		<category><![CDATA[the next LVL]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://leonewball.com/design/the-next-lvl-updated-to-v-091/</guid>
		<description><![CDATA[the next LVL has been updated to 0.9.1. today after finding several mistakes and legacy code. I also decided implemented a top-page navigation (was being held for a future release), a future version of the next LVL will allow the toggling of this feature. Visit the the next LVL post for the most recent update.]]></description>
			<content:encoded><![CDATA[<p>the next LVL has been updated to 0.9.1. today after finding several mistakes and legacy code. I also decided implemented a top-page navigation (was being held for a future release), a future version of the next LVL will allow the toggling of this feature. <a href="http://leonewball.com/design/the-next-lvl-wordpress-theme/">Visit the the next LVL post</a> for the most recent update.</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2009/04/06/the-next-lvl-updated-to-v-091/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the next LVL &#8211; WordPress Theme</title>
		<link>http://leonewball.com/2009/04/06/the-next-lvl-wordpress-theme/</link>
		<comments>http://leonewball.com/2009/04/06/the-next-lvl-wordpress-theme/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 14:20:29 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[dynamic sidebar]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[two column]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://leonewball.com/?p=125</guid>
		<description><![CDATA[the next LVL is a theme I&#8217;ve been developing for a few months and is my first WordPress themes for public consumption. The theme was originally developed to be a CMS based theme, but in it&#8217;s evolution became something completely different. The theme is a two column, widget ready theme that is compatible with WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://files.leonewball.com/tnlvl-theme-logo.png" alt="" width="500" height="296" /></p>
<p><em>the next LVL</em> is a theme I&#8217;ve been developing for a few months and is my first WordPress themes for public consumption. The theme was originally developed to be a CMS based theme, but in it&#8217;s evolution became something completely different. The theme is a two column, widget ready theme that is compatible with WordPress 2.7. There are a few elements that make this theme different from others:</p>
<ol>
<li> <em>the next LVL </em>does not have the traditional website header, that has been shifted onto the right sidebar</li>
<li>Highly SEO friendly without the need for additional plugins</li>
<li>comes with a robots.txt  file to be used in the root directory of a WordPress install</li>
<li>A comical 404 page (feel free to use your own personal message here!)</li>
</ol>
<p>This theme is the base of a few features I&#8217;ve been working on for future themes and future development. They include broader SEO options built into a theme, possible backwards compatibility with older version of WordPress, color changing and graphic changing options.</p>
<p>Currently <em>the next lvl</em> is in <strong>version .9.2 </strong>(think release candidate), last updated <strong>April 8th, 2009</strong>.</p>
<p>Recent Changes:</p>
<ul>
<li><strong>version .9.2 (4/8/09)</strong><br />
- Fixed a font size issue with &lt;select&gt; tags inside of posts<br />
- Cleaned up CSS Code<br />
- Removed Plugin Dependend Code<br />
- Removed Images from Sidebar and replaced with text</li>
<li><strong>version .9.1 (4/6/09)</strong><br />
- Added a page navigation at the top.<br />
- Updates and removal of legacy code and images</li>
<li><strong>version .9</strong><br />
- Out of alpha development, ready for public beta release.<br />
- New theme color</li>
</ul>
<p><a href="http://files.leonewball.com/thenextlvl.zip">Download the current version of the next lvl here</a></p>
<p>Feel free to leave any feedback in the comments section (including typos and grammatical mistakes, I am notorious for those!)</p>
<p><em>Enjoy!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2009/04/06/the-next-lvl-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Lightbox: Image Overlay on Webpages</title>
		<link>http://leonewball.com/2008/08/06/lightbox-image-overlay-on-webpages/</link>
		<comments>http://leonewball.com/2008/08/06/lightbox-image-overlay-on-webpages/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 08:01:02 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Alternative]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Thickbox]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://leonewballjr.name/?p=84</guid>
		<description><![CDATA[Lightbox is a great image overlay effect that can be used for standalone image effects, galleries. The script fades the site background to and displays the image over the website. Here&#8217;s an example below: The most current version of Lightbox is Lightbox v2.04, but there is a Lightbox 1 which performs a similar task. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox</a> is a great image overlay effect that can be used for standalone image effects, galleries. The script fades the site background to and displays the image over the website. Here&#8217;s an example below: </p>
<p><a title="Lightbox Demo Image" href="http://images.leonewballjr.name/demo/lightbox-demo.jpg" rel="lightbox"><img alt="Lightbox Demo" src="http://images.leonewballjr.name/demo/thumb-lightbox-demo.jpg" border="0" /></a></p>
<p>The most current version of Lightbox is <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox v2.04</a>, but there is a <a href="http://www.huddletogether.com/projects/lightbox/">Lightbox 1</a> which performs a similar task. The differences between the two versions is the use if the Prototype Framework and Scriptaculous Effects Library in version 2.</p>
<p><b>Using Lightbox</b></p>
<p>Using Lightbox is really simple but only works with images or text. It relies on the use of the <i>rel</i> tag in the &lt;a&gt; tag. Before using Lightbox, you must install it. To install lightbox (after downloading it and uploading the files to you web server), you must include its three javascript files to your header with the &lt;script&gt; tag.</p>
<p><code>&lt;script type=&quot;text/javascript&quot; src=&quot;js/prototype.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;js/scriptaculous.js?load=effects,builder&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;js/lightbox.js&quot;&gt;&lt;/script&gt;<br />
</code></p>
<p>Next add the Lightbox CSS file by using the &lt;link&gt; tag or merge it with your current CSS file:</p>
<p><code>&lt;link rel=&quot;stylesheet&quot; href=&quot;css/lightbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</code></p>
<p>After installing and linking the necessary files to the pages you intend to use Lightbox with. This is done by adding the rel=&#8221;lightbox&#8221; attribute to your &lt;a&gt; tags. You can also use the title attribute to display a caption with your image. Here is how the code for the demo above looks like:</p>
<p><code>&lt;a href=&quot;<a href="http://images.nexeusfatale.com/demo/lightbox-demo.jpg">http://images.nexeusfatale.com/demo/lightbox-demo.jpg&quot;</a> rel=&quot;lightbox&quot; title=&quot;Lightbox Demo Image&quot;&gt;&lt;img src=&quot;<a href="http://images.nexeusfatale.com/demo/thumb-lightbox-demo.jpg">http://images.nexeusfatale.com/demo/thumb-lightbox-demo.jpg</a> alt=&quot;Lightbox Demo&quot; border=&quot;0&quot; title=&quot;Lightbox Demo Image&quot;/&gt;&lt;/a&gt;</code>
<p>One option, if you are using a PHP generated page is to create a header file and use <i>include()</i> to have access to lightbox on every page.</p>
<p><b>Alternative Solutions</b></p>
<p>Lightbox is a really simple and easy way to add functionality to your designs. There are several alternatives to Lightbox that provide the same or expanded functionality and are more flexible with media (such as Flash objects or more dynamic photo galleries). <a href="http://jquery.com/demo/thickbox/">Thickbox</a> is a jQuery alternative, which works with single images and galleries, as well with AJAX, IFrame and Flash content.</p>
<p><b>Lightbox in WordPress</b></p>
<p>For those using WordPress implement Lightbox may present a bit of a challenge. There is however two plugin&#8217;s that you can use, the first is <a href="http://wordpress.org/extend/plugins/lightbox-2-wordpress-plugin/">Giuseppe Argento&#8217;s implantation of Lightbox 2</a>, which is merely a plug-in version of the Lightbox 2 code, I use this plugin on this website. There&#8217;s also<a href="http://wordpress.org/extend/plugins/lightbox-2/"> Rupert Morris&#8217;s implementation of Lightbox 2</a> which is an updated code set that features some automatic features (i.e. automatic lightboxing of images, automatic titling, arrow key implementation) .</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2008/08/06/lightbox-image-overlay-on-webpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Recent Posts in Word Press</title>
		<link>http://leonewball.com/2008/08/05/managing-recent-posts-in-word-press/</link>
		<comments>http://leonewball.com/2008/08/05/managing-recent-posts-in-word-press/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 16:00:53 +0000</pubDate>
		<dc:creator>Leo Newball, Jr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Recent Posts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP_Query()]]></category>

		<guid isPermaLink="false">http://leonewballjr.name/design/managing-recent-posts-in-word-press/</guid>
		<description><![CDATA[One problem I came across in making the theme “So Fresh So Clean” (to be discussed in a future blog post) was attempting to display a list of my recent blog posts without needing to use a sidebar widget. The theme is influenced by many different web designs, but borrows a few concepts from Dave [...]]]></description>
			<content:encoded><![CDATA[<p>One problem I came across in making the theme “So Fresh So Clean” (to be discussed in a future blog post) was attempting to display a list of my recent blog posts without needing to use a sidebar widget. The theme is influenced by many different web designs, but borrows a few concepts from Dave Shea’s website <a href="http://mezzoblue.com/">Mezzoblue</a>. The idea came from the book <a href="http://www.amazon.com/gp/product/0321526287?ie=UTF8&amp;tag=leonewballjr-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321526287">Building Findable Websites: Web Standards SEO and Beyond</a><img style="margin: 0px;border-top-style: none! important;border-right-style: none! important;border-left-style: none! important;border-bottom-style: none! important" src="http://www.assoc-amazon.com/e/ir?t=leonewballjr-20&amp;l=as2&amp;o=1&amp;a=0321526287" border="0" alt="" width="1" height="1" />. In the section <em>Displaying Your Most Recent Posts</em>, Aaron Walter discusses Dave’s technique for displaying one post on his front page, and a list of the most recent posts in the top section of his website. Dave suggests that in order to do this you can use the following code in the <a title="The WordPress Loop" href="http://codex.wordpress.org/The_Loop">WordPress loop</a>:</p>
<p><code>&lt;ul id="recent-posts"&gt;<br />
&lt;?php $posts = get_posts('numberposts=5&amp;offset=1');<br />
foreach ($posts as $post): ?&gt;<br />
&lt;li&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;?php endforeach; ?&gt;<br />
&lt;/ul&gt;</code></p>
<p>While this code does work, it can be problematic, the get_post() query overwrites the WordPress default variables. This means if you run any other loop specific code (i.e. the_title, the_content, the_date, etc.) they will all be affected and many not produce desired results. In my initial testing every page that used The Loop was getting it’s information from the get_posts() query as it overwrites WordPress’ default queries for pages, searches and archives. Thus they all displayed the same information.</p>
<p>After some searching I found a solution for the problem, creating a new <a title="WP_Query() Function Reference" href="http://codex.wordpress.org/Function_Reference/WP_Query">WP_Query()</a> object so that it doesn’t interfere with WordPress default functions. Here’s an updated example of the code presented above using this technique.</p>
<p><code>&lt;ul id="recent-posts"&gt;<br />
&lt;?php $recent_posts = new WP_Query(); $recent_posts-&gt;Query('showposts=5@offset=1');<br />
while ($recent_posts-&gt;have_posts()) : $recent_posts-&gt;the_post(); ?&gt;<br />
&lt;li&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;/ul&gt;</code><br />
If you want something a bit fancier, here’s how I created the recent posts section using the same technique.</p>
<p><code>&lt;div id="recent_posts"&gt;<br />
&lt;h2&gt;Recent Posts&lt;/h2&gt;<br />
&lt;?php $recent_posts = new WP_Query(); $recent_posts-&gt;Query('showposts=5@offset=1');<br />
while ($recent_posts-&gt;have_posts()) : $recent_posts-&gt;the_post(); ?&gt;<br />
&lt;div class="recent_date"&gt;&lt;?php the_time('m.d.Y') ?&gt;&lt;/div&gt;<br />
&lt;div class="recent_post_title"&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/div&gt;<br />
&lt;br /&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;/div&gt;</code><br />
A deeper discussion in how to do this is on the <a href="http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/">Weblogs Tools Collection</a> (where I found the solution). The lesson here is, in order to avoid conflicts with WordPress default functions, plugin, and countless other issues, create a new WP_Query(); object.</p>
]]></content:encoded>
			<wfw:commentRss>http://leonewball.com/2008/08/05/managing-recent-posts-in-word-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
