<?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>Covered &#187; textpattern</title>
	<atom:link href="http://www.ryanbarr.com/tag/textpattern/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ryanbarr.com</link>
	<description>Options, Economics, Futures, Politics and a bit of the Barr Family scattered in between</description>
	<lastBuildDate>Sat, 12 Mar 2011 05:57:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>My Journey to WordPress &#8211; Part 3</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3#comments</comments>
		<pubDate>Wed, 02 Jan 2008 02:56:54 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3</guid>
		<description><![CDATA[Sections&#8230; I loved sections! Textpattern has it right using sections. For those of you that are wordpress junkies, let me explain&#8230; In textpattern, a section is almost like it&#8217;s own little site within your site. When done right, sections in textpattern allow you to separate and manage all of the different content areas in the [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3' addthis:title='My Journey to WordPress &#8211; Part 3' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><h2>Sections&#8230;</h2>
<p>I loved sections!  Textpattern has it right using sections.  For those of you that are wordpress junkies, let me explain&#8230; In textpattern, a section is almost like it&#8217;s own little site within your site.  When done right, sections in textpattern allow you to separate and manage all of the different content areas in the website.  Each section, is assigned a stylesheet and template.  You can of course use one set of css and templates for all sections, but you don&#8217;t have to.</p>
<p>All of the posts to the CMS are assigned to sections.  So, in my old textpattern install &#8211; I would have posted this into the articles section.  The post would also get the textpattern and website categories.  The cool thing with sections &#8211; you can separate your content &#8211; truly separate it.</p>
<p>For ryanbarr.com I had a few sections in my textpattern install.  I won&#8217;t go through each of them but I&#8217;ll talk about three of them, and why I miss them dearly&#8230;</p>
<ol>
<li>Articles</li>
<li>Trading</li>
<li>Pictures</li>
</ol>
<p>In my <em>articles </em>section, Megan and I put all of the &#8220;standard&#8221; fair content.  Stuff about the family, any random thoughts etc&#8230; This was the area of the site that folks who know us and are interested in what we are doing could come to. On the navigation, we had a link to the <em>Barr Family Blog </em>and this was really just a link into the <em>articles</em> section.</p>
<p>The <em>articles </em>section of the site was setup without all of Ryan&#8217;s stock information.  When a visitor clicked into the section homepage, the page was rendered using our standard theme, just without the business stuff.  The same thing would happen when a visitor clicked into a posting in the section.  However, the <em>list</em> of postings was also limited to the <em>articles</em> section!  That means that folks interested in the family, but who don&#8217;t care about options aren&#8217;t stuck seeing all the posts I have about options etc&#8230;</p>
<p>The <em>trading</em> section was just the opposite. It was really my business, investing, options, iron condor playground.  I put the papermoney trades in here, all of my random market commentary, and everything else to do with business in the trading section.  Posts in here had the addition of stock quotes on the page, and targeted ads.  it was pretty nice.  I didn&#8217;t place ads or stock quotes in the <em>articles</em> section because they didn&#8217;t really fit.</p>
<p><em>Pictures</em>, well it was just that pictures!</p>
<p>Certain sections were allowed to show on the homepage, and then once in the <em>section</em> you were really in a specific part of a total website.  Quite nice really.</p>
<p><em>WordPress does not do this</em> <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   Or at least I haven&#8217;t yet figured out how to make wordpress do this without a ton of php hacking.</p>
<h2>Making it work&#8230;</h2>
<p>Since I decided to move to wordpress I had to make this work.  In wordpress you have pages (static content), categories (posts), and tags (pages and posts) &#8211; alas, no sections.</p>
<p>Currently, ryanbarr.com is divided between really two, possibly three major topic areas.Â  The <em>family</em> area, the <em>business</em> area and the <em>pictures</em> area. Taking pictures out to there own part of the site was a snap using the Gallery and wordpress setup that I have running here.Â  Part one solved.</p>
<p>Breaking out family and business just didn&#8217;t seem possible.Â  So for the site we&#8217;ve taken a little different approach. Rather than using a ton of categories as most blogs tend to do, ryanbarr.com will only have a few categories, and we will make judicious use of tags.Â  Thankfully, wordpress now has native support for tags so that should help out a bit. A few pieces have been broken out into pages, that will also help as well.</p>
<p>The one thing with this setup that I&#8217;m not too happy about is the fact that wordpress doesn&#8217;t really support viewing posts by category.Â  You have the archive pages, which I am using, but once in an article, the segregation goes away.</p>
<p>I&#8217;ve also lost the ability to really support the &#8220;two&#8221; major rss feeds I used to send.Â  With the new setup, I can do rss feeds by category, author, tag etc.. however, I haven&#8217;t figured out how to send an rss feed for a <em>group</em> of categories.Â  If I could set this up, that would be perfect.Â  Until then, we&#8217;ve decided to just use the main rss feed only.Â  It will muddle the content a little bit, but it&#8217;s not horrible.</p>
<p>I&#8217;m still looking for a way to fix this, so if you know of something &#8211; post a comment please!</p>
<h2>Importing Data</h2>
<p>Now that Meg and I have decided on an organizational strategy, it&#8217;s time to bulk load some testing data so that I can make sure everything is working correctly.Â  Off to Manage -&gt; Import&#8230;</p>
<p>First things first, the textpattern import into wordpress is broken.Â  It doesn&#8217;t take categories in correctly.Â  And <em>please<strong> </strong></em>make sure that you change the name of your admin user before you do this import.Â Â  Here are the things to watch out for&#8230;</p>
<ol>
<li>Categories do <strong>not</strong> import correctly.Â  They show up in the list without any problem, but the association of post -&gt; category somehow gets lost in the shuffle.</li>
<li>When you import users, their password is reset.Â  Make sure you rename the admin account in either textpattern or wordpress before running the import script.Â  <em>If you don&#8217;t you will be kicked out of the import and have to do a password reset&#8230; it is a pain.</em></li>
<li>Posts (articles) are imported in <em>plain text</em>, ie: textile.Â  If you don&#8217;t want to use textile in wordpress, this is a problem.Â  You will lose all of your formatting.</li>
<li>WordPress doesn&#8217;t have sections, sections do not get imported.Â  If you&#8217;ve used sections in textpattern they will be lost <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
</ol>
<p>To fix a couple of these annoying problems, I hacked my textpattern.php import file.Â  I&#8217;ll post a copy of it on this post, just note that it doesn&#8217;t work perfectly &#8211; <em>it was a hack for my use and I don&#8217;t plan to support it.Â  Please use at your own risk. </em>This script met my needs so I left it alone after that. Here are the things that I fixed/added.</p>
<ol>
<li>Added a Section import into the Categories import part of the script</li>
<li>Added a button to <em>skip</em> the user import, you can still import users if you want</li>
<li>Changed all of the posts to import the Body_html and Excerpt_html, that fixes the annoying little plain text thing</li>
<li>Made the section a category for the post</li>
</ol>
<p>The only thing that I can see that still doesn&#8217;t work is the normal category assignment.Â  I looked at it, the code appeared to be correct, but still no dice.Â  Since I decided to get rid of my textpattern categories and redo things with tags, this was okay with me and I didn&#8217;t bother to fix it.</p>
<h2>I&#8217;ve got data!</h2>
<p>So now I&#8217;ve got data! Everything in the development instance is running pretty well.Â  I had to run the data import script a few times to get everything fixed, but after a bit of debugging we are good to go.</p>
<p>Now that I&#8217;ve got data&#8230; oh man, the site still needs work.</p>
<p>The vSlider3 theme is pretty cool, but it has a few goofy things that I wasn&#8217;t happy with.Â  In the next post I&#8217;ll run through the things that I tweaked in the vSlider theme to adjust the way that Gallery 2 works, as well as some of the things in wordpress.</p>
<p>Oh yeah, here is the import script (from wordpress 2.3.1):Â  
<a  href="http://www.ryanbarr.com/wordpress/wp-content/uploads/2008/01/textpattern-import-script.zip" title="My textpattern import script" onclick="javascript:pageTracker._trackPageview('/downloads/wordpress/wp-content/uploads/2008/01/textpattern-import-script.zip');" >download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 2</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2#comments</comments>
		<pubDate>Mon, 31 Dec 2007 22:30:22 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpg2]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2</guid>
		<description><![CDATA[For part two of &#8220;My Journey to WordPress&#8221; I&#8217;m going to talk about setup and configuration. I mentioned that my host does a simplified installation of both wordpress and gallery. It made the first part of this really, really easy. I literally, log into my administration web-panel, then click install. After about 5-10 minutes I [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2' addthis:title='My Journey to WordPress &#8211; Part 2' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>For part two of &#8220;My Journey to WordPress&#8221; I&#8217;m going to talk about setup and configuration.  I mentioned that my host does a simplified installation of both wordpress and gallery.  It made the first part of this really, really easy.   I literally, log into my administration web-panel, then click install.</p>
<p>After about 5-10 minutes I had emails in my inbox letting me know that the software was up and running.  <em>Excellent!</em> I logged into wordpress, and it was setup in no time flat, gallery was a little more cumbersome, but  still quite simple to setup really.</p>
<p>With the gallery setup, a few of the plugins needed additional configuration so they didn&#8217;t work right out of the box.  But that was no big deal.  Now that gallery and wordpress were both <em>independently</em> working, it was time to hook them together and then pass off the site.</p>
<p>To install the WPG2 plugin, just download, unzip, ftp/ssh/sftp/whatever the files over to your wordpress plugins directory.  After installing, enable the plugin then head over the to the WPG2 tab in the admin interface.</p>
<p>General configuration of the WPG2 was pretty straight forward.  The URL rewrites section gave me a little bit of trouble, so make sure to enable and disable it in Gallery <em>first</em>.  Then try it in WPG2.  You&#8217;ll also need to download two additional Gallery plugins per the WPG2 docs.  That process was very straightforward in the Gallery admin panel, click on plugins then the second tab <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , download, activate, enjoy.</p>
<p>Now the trouble begins&#8230;</p>
<p>I had this great setup all ready to go, Gallery 2 integrated with wordpress!  It was perfect. I clicked on the WPG2 page and saw this horrible theme that didn&#8217;t fit into wordpress at all!  <em>Uh-oh</em></p>
<p>I figured that I must have missed something.  Being the a developer type, and a guy, I didn&#8217;t bother to read the instructions,  I just stared clicking and watching the error messages.  So I figured, what the heck, let&#8217;s see what the docs have to say.   A quick google for WPG2 takes me to the old plugin homepage, put luckily there was a link to the &#8220;new&#8221; 
<a  href="http://codex.gallery2.org/Integration:WPG2_QuickStart" target="_blank" title="WPG2 Plugin Homepage" onclick="javascript:pageTracker._trackPageview('/external/codex.gallery2.org/Integration:WPG2_QuickStart');" >homepage </a>via wordpress.org.  On the homepage I see a quickstart guide &#8211; <em>perfect!</em> Or not&#8230;</p>
<p>The quickstart said to to exactly what I did! I&#8217;ve got wordpress and gallery integrated, heck I can even use the snazzy gallery picker while writing my articles&#8230; but the page looks horrible!</p>
<p>I figure that it must be a theme thing or something, so now it is time to go and figure that one out.  Back to google.  I did a quick search for &#8220;wpg2 wordpress theme&#8221; and came up with a few interesting hits.</p>
<ul>
<li>The first a site with a bunch of modified wordpress themes that are &#8220;optimized&#8221; for gallery&#8230; I have no idea what that means, it wasn&#8217;t in the quickstart&#8230; I didn&#8217;t realize you needed to <em>optimize</em> for this integration&#8230;  Bookmark it, comeback later.</li>
<li>Next, that old help forum&#8230; it rules in the google search so be careful!  Just a bunch of php nonsense.  I don&#8217;t know php &#8211; and I don&#8217;t want to know it!  That is what I loved about textpattern&#8230; <em>wordpress is beginning to piss me off</em>.</li>
<li>Next, another site from the old forum&#8230; Didn&#8217;t they move all of this stuff?!!? <em>Wait!! Something that might be useful!<br />
</em></li>
</ul>
<blockquote><p><span style="text-decoration: underline">Before you begin</span></p>
<ul>
<li><span class="postbody">  &#8211; if you need to modify the header.php file of the WordPress theme to suite your needs, try to do this before proceeding<br />
- it&#8217;s recommended that you use a Gallery2 theme which is optimized for WordPress integration, like the 
<a  href="http://www.galleryembedded.com/forums/viewtopic.php?t=2636" title="Wordpress Embedded" target="_blank" class="postlink" onclick="javascript:pageTracker._trackPageview('/external/www.galleryembedded.com/forums/viewtopic.php');" >WordPressEmbedded Gallery2 Theme</a> for Gallery 2.1 or the 
<a  href="http://www.galleryembedded.com/forums/viewtopic.php?t=625" title="Wordpress Gallery2 Theme" target="_blank" class="postlink" onclick="javascript:pageTracker._trackPageview('/external/www.galleryembedded.com/forums/viewtopic.php');" >WordPress Gallery2 Theme</a> for Gallery 2.0.x. </span></li>
</ul>
</blockquote>
<p><strong>Aha! </strong>There is some sort of wordpress embdeded Gallery 2 theme.  That makes sense&#8230; Since I&#8217;m using a version of Gallery 2 that is above 2.1 that might just be the ticket.  <em>Download, install.</em></p>
<p>Okay, so now gallery has a new theme.  It&#8217;s pretty boring, but what the heck, I haven&#8217;t seen it in wordpress yet.  That site at the Gallery 2 old forum mentioned something about the header.php file&#8230; Whatever, lets see what we get <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Not good&#8230;</em> Okay, so it&#8217;s not totally plug and play.  This is becoming painfully obvious.   And what happened to the quick start, <em>this isn&#8217;t feeling so quick now</em>!</p>
<p><strong>Stop!  </strong>I&#8217;m working on my friends site&#8230; this isn&#8217;t going to work.  The site looks like crap, I&#8217;m hacking a live version and this just isn&#8217;t good&#8230; <em>Detour</em>.  Reset my development instance of ryanbarr.com.  Install of the the files from my host, re-configure and walk through the steps I&#8217;ve taken so far&#8230; <em>a while later&#8230;</em> <strong>Resume</strong>, on my development instance of my personal site.</p>
<blockquote><p><em>Now you see how I got roped into this whole mess&#8230; Since I&#8217;m already working on it to figure it all out&#8230; </em></p></blockquote>
<p>Next step, lets try hooking into the &#8220;bookmarked&#8221; link I found earlier.  I download a few of the &#8220;optimized&#8221; themes, activate and suddenly all is well in the world. The blog, and the gallery are working perfectly <em>together</em> &#8211; but why?  I realize that I have no idea why this is suddenly working, the <em>quick start</em> guide wasn&#8217;t so quick and now I&#8217;m lost.  Okay, time to read some more.</p>
<p>Back to the 
<a  href="http://codex.gallery2.org/Integration:WPG2" target="_blank" title="Gallery 2 Integration" onclick="javascript:pageTracker._trackPageview('/external/codex.gallery2.org/Integration:WPG2');" >official homepage of the plugin</a>. Under <em>WPG2 Operations</em> I finally find a few pieces of what I&#8217;m looking for.  But it is sparse to and sort of fragmented.  Again, no mention of this elusive Gallery 2 theme I found while googling, the only thing close was a page that was &#8220;under construction,&#8221; it linked back to the place I found my Galley 2 theme&#8230; So I guess if you look hard enough it is there, not <em>not</em> obvious.</p>
<p>Well, At this point I&#8217;m still a little lost, and don&#8217;t really have any desire to learn php <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (I do happen to know about 13 other programming/scripting languages, so i guess another one can&#8217;t hurt).  What I really want it a customizable theme that doesn&#8217;t require me to re-do all of the work I just did in textpattern!</p>
<p><em>The support forums&#8230;</em> Lets see, click, click, click, there we go&#8230; Found them! The support forums are 
<a  href="http://gallery.menalto.com/forum/81" title="Gallery 2 Plugin Support Forum" target="_blank" onclick="javascript:pageTracker._trackPageview('/external/gallery.menalto.com/forum/81');" >located here</a>.  There are three options, if your looking for help with themes etc&#8230; go to 
<a  href="http://gallery.menalto.com/forum/84" title="Themes etc..." target="_blank" onclick="javascript:pageTracker._trackPageview('/external/gallery.menalto.com/forum/84');" >WPG2 CSS/Layout Support</a>.  Don&#8217;t bother with the other areas, they will help if you have other integration issues <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The forums are excellent!  The guys that work the plugins seem to have answered all of the questions quickly and I was able to find what I needed&#8230; My theme 
<a  href="http://irui.ac/cool-stuff/vslider3/" title="vSlider3" onclick="javascript:pageTracker._trackPageview('/external/irui.ac/cool-stuff/vslider3/');" >vSlider3</a> this particular theme seemed to have it all.  Customization, integration into gallery, options, configuration, no php required! <em>Download, install!</em></p>
<p><em>Why didn&#8217;t I start at the support forums&#8230;</em> Oh yeah, they are buried in the google results!  That will work itself out with time&#8230;</p>
<p>Now I&#8217;ve installed vSlider3 and have a working site!  Excellent!</p>
<p>Okay&#8230; now that this is all working, lets see about getting all of our content back into wordpress like it was in textpattern.  Off to the admin panel, manage -&gt; import -&gt; textpattern -&gt; <em><strong>oh crap</strong>.</em></p>
<p>In my next installment&#8230; Read about the joys of importing data from textpattern, and what I did about sections&#8230; <strong>What do you mean wordpress doesn&#8217;t have sections?!?!?!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 1</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1#comments</comments>
		<pubDate>Sun, 30 Dec 2007 20:21:37 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpg2]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1</guid>
		<description><![CDATA[Wow&#8230; I never thought I would do this, but I&#8217;ve dumped textpattern. It actually came about rather quickly and I&#8217;m quite happy after doing it. Just a few weeks ago, Megan and I began the process of re-vamping the website. She really wanted to start blogging some more, and well, I needed to stop slacking [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1' addthis:title='My Journey to WordPress &#8211; Part 1' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Wow&#8230;</p>
<p>I never thought I would do this, but I&#8217;ve dumped textpattern.  It actually came  about rather quickly and I&#8217;m quite happy after doing it.   Just a few weeks ago, Megan and I began the process of re-vamping the website.  She really wanted to start blogging some more, and well, I needed to stop slacking off and start really blogging again.  We talked about the options and figured that a re-design of ryanbarr.com was the way to go.  It&#8217;s been quite a journey.  One that I&#8217;ll probably split over a few posts so that this one isn&#8217;t obscenely long!</p>
<p>Anyhow, here is the story&#8230; I started off by <em>completely </em>re-doing the site in textpattern.  I nabbed a pretty nice theme from 
<a  href="http://www.textplates.com" title="Textpattern Themes - Textplates.com" onclick="javascript:pageTracker._trackPageview('/external/www.textplates.com');" >textplates.com</a>, and then dove in. After working out with Megan how we should manage the whole site, we decided to move a ton of content around (which of course wreaked havoc on my  google placements) and totally reset the way a bunch of things were handled. I installed a ton of new textpattern plug-ins to try and make the administration a little more user friendly and even wrote a few myself to handle some stock quote functionality I was looking for.  After spending a few weekends working on it, we finally had it ready to go.</p>
<p>Then a good friend of mine asked me to help her setup a new website &#8211; 
<a  href="http://www.michellerenephotography.com" title="Michelle Rene Photography" onclick="javascript:pageTracker._trackPageview('/external/www.michellerenephotography.com');" >michellerenephotography.com</a>.</p>
<blockquote><p>My response: No problem! I&#8217;d be happy to help you out.  Lets get a domain setup, I&#8217;ve got a great host that you can work with etc&#8230;</p></blockquote>
<p>Then the kicker&#8230; &#8220;We&#8217;ll you know, it&#8217;s a photography site.   I&#8217;d really like to have some serious image management.  Really, I&#8217;d like it to be a gallery first, then a blog second.&#8221;</p>
<p><em>Serious image management?</em></p>
<p>I wasn&#8217;t quite sure how to approach it. I&#8217;ve been using textpattern for quite some time, and have built quite a few client sites using it. Textpattern is a great CMS, but <em>serious image management</em> is <strong>not </strong>it&#8217;s strong point.   So, like any good open source kinda guy I went in search of an existing project.  I happened to stumble upon a project called Gallery 2, and a wordpress plug-in called WPG2.  Interesting&#8230; a full image management studio with pre-existing integration into wordpress.  This could be worth a try.</p>
<p>The only hangup that I had was, well&#8230; I&#8217;d never used wordpress, and the last time I looked at it customization and theme&#8217;s were all handled through php hacks.  Not nearly as elegant a design as textpattern.</p>
<p>I was a little more than skeptical, but I figured what the heck.Â  It&#8217;s her site andÂ  if I can get her started I&#8217;m sure she can finish it off.Â  So, after a bit more research, I was ready to install.  Given that 
<a  href="http://www.michellerenephotography.com" title="Michelle Rene Photography" onclick="javascript:pageTracker._trackPageview('/external/www.michellerenephotography.com');" >michellrenephotography.com</a> is a brand new site, I put the tools up and started hacking away.</p>
<p>My host does a cool quick install of both wordpress and gallery2 so we were off to the races quickly.Â  I got the two systems up and running, did a bit of quick configuration and then went about getting the plug-in working.Â  That is when I realized that there was no way on earth she was going to get this all figured out without some serious help.Â  Permissions, themes, configuration, ssh, linux and a ton of other things that are way to <em>geeky</em> for her to understand.Â  Well, I figured I&#8217;d better dig in&#8230;</p>
<p>As I worked on getting things working, I found that wordpress had evolved quite a bit since the last time I took a look.Â  Quite frankly, I wasÂ  downright impressed with it!Â  I&#8217;ll walk through my challenges and learning through this hole process over the next few posts&#8230;</p>
<p>Stay tuned to hear about the configuration and setup of the WPG2 plug-in.Â  The core of the blog/gallery setup that runs ryanbarr.com <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>textpattern basics &#8211; part 3</title>
		<link>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-3</link>
		<comments>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-3#comments</comments>
		<pubDate>Sat, 25 Mar 2006 03:56:00 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/?p=30</guid>
		<description><![CDATA[Wow! Its been a while since I wrote my last textpattern basics article, and life has been quite busy! Well, its back to basics time! So lets talk page forms. Page forms are the heart of each section in a textpattern site. Generally speaking the page form controls what will actually show up on the [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-3' addthis:title='textpattern basics &#8211; part 3' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Wow!  Its been a while since I wrote my last textpattern basics article, and life has been quite busy!  Well, its back to basics time!  So lets talk page forms.  Page forms are the heart of each <em>section</em> in a textpattern site. Generally speaking the page form controls what will actually show up on the page.</p>
<p>There are quite a few tags that you can use in a page form, and they do a ton of work!  All of the tags mentioned in 
<a  href="/article/textpattern-basics-part-2">textpattern basics &#8211; part 2</a> can be used in a page form, along with some key tags to actually show articles&#8230;</p>
<p><code>&lt;txp:article /&gt;</code></p>
<p>The article tag will show one or many articles, depending on how you have it configured.  Some of the key attributes that you need to use and understand are <em>form</em>, <em>listform</em> and <em>sortby</em>.  The <em>form</em> attribute specifies which <em>article form</em> to use when displaying a single article.  The <em>listform</em> attribute specifies when <em>article form</em> to use when displaying a list of articles and of course <em>sortby</em> tells textpattern how to sort the output!</p>
<p><code>&lt;txp:article_custom /&gt;</code></p>
<p>This tag will do the same as article, just with more options.  You still need to use the key attributes from the <em>article</em> tag, but there are a few other key attributes to look out for. The <em>section</em> attribute will let you return articles from specific sections, regardless of where you are in the website, the same is true of the <em>category</em> attribute, but instead of sections it uses categories.</p>
<p><code>&lt;txp:output_form /&gt;</code></p>
<p>One of the most important tags!  This will call a regular form typically a form of type <em>misc</em> and output the form results into the page.  This allows you to modularize your code, generally speaking, that&#8217;s a good thing!</p>
<p>There are plenty of other tags that you <strong>can</strong> use in a page form, however I try to keep my page forms limited to tags that call other forms!  For example most of my pages look something like this&#8230;</p>
<p><code><br />
&lt;txp:output_form form="DTD_head" /&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id="container"&gt;<br />
&lt;txp:output_form form="header" /&gt;<br />
&lt;txp:output_form form="navigation" /&gt;<br />
..Some article tags and maybe a few div tags etc...<br />
&lt;txp:output_form form="footer" /&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
<p>That&#8217;s it&#8230; The pages are pretty simple, allowing the power to be handled by the other forms!  I&#8217;ll dive into those in part 4, which I&#8217;ll be publishing in the next few <del>weeks</del> months, till then &#8211; good luck and drop a few comments if you have a question.</p>
<p><ins>Update:</ins>  I&#8217;ve been slammed with buying property, my job and investing in the market.  I&#8217;ll publish the next segment in my textpattern series soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>textpattern basics &#8211; part 2</title>
		<link>http://www.ryanbarr.com/trading/textpattern-basics-part-2</link>
		<comments>http://www.ryanbarr.com/trading/textpattern-basics-part-2#comments</comments>
		<pubDate>Fri, 03 Mar 2006 00:03:00 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Options Trading]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/?p=23</guid>
		<description><![CDATA[In my last article textpattern basics &#8211; part 1 I reviewed some of the basic concepts in textpattern. As promised, this article will dive a bit deeper into sections, and I&#8217;ll start to peel the onion on page forms. Sections First off &#8211; I&#8217;m going to give credit to Thame at erratic wisdom and quote [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/trading/textpattern-basics-part-2' addthis:title='textpattern basics &#8211; part 2' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>In my last article 
<a  href="/article/textpattern-basics-part-1">textpattern basics &#8211; part 1</a> I reviewed some of the basic concepts in 
<a  href="http://www.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.com');" >textpattern</a>. As promised, this article will dive a bit deeper into sections, and I&#8217;ll start to peel the onion on page forms.</p>
<p><em>Sections</em><br />
First off &#8211; I&#8217;m going to give credit to Thame at 
<a  href="http://www.erraticwisdom.com" onclick="javascript:pageTracker._trackPageview('/external/www.erraticwisdom.com');" >erratic <strong>wisdom</strong></a> and quote some of his tutorial.  Then I&#8217;ll dive into my read on sections and try to elaborate a bit..</p>
<blockquote>
<p>Textpattern Sections are by far the most misused aspect of Textpattern and I am often guilty of employing them when they are entirely unnecessary. Textpattern sections are strong content and presentation dividers and are powerful enough to create different blogs or web sites from the same installation.<br />
Separate sections should only be used if you are trying to:</p>
</blockquote>
<ul>
<li>Create ?static? pages ? Tutorial</li>
<li>Create different ?blogs? with entirely different layouts and styles</li>
<li>Manage archives</li>
</ul>
<blockquote>
<p>Sections should not be used solely for content division; there are categories for that purpose as well as other external tagging services<br />

<a  href="http://www.erraticwisdom.com/2005/12/05/textpattern-sections" onclick="javascript:pageTracker._trackPageview('/external/www.erraticwisdom.com/2005/12/05/textpattern-sections');" >erratic <strong>wisdom</strong>: Textpattern Sections</a></p>
</blockquote>
<p>I think that pretty much puts sums up what sections are. They are your first line of content separation, and should by used for that and that alone.  Sections create &#8220;mini websites&#8221;.  They are not just for &#8220;other content&#8221; &#8211; use a category for that!  Sections allow you to create complete and totally different areas of your website.  Take for example how I employed them here at ryanbarr.com.  I have 10 sections&#8212;<em>ten sections</em> you might say&#8230; let me run them down.  </p>
<ol>
<li>about &#8211; basically my about page.  I don&#8217;t want content from there to be syndicated and I don&#8217;t want it on the front page.</li>
<li>archivescat &#8211; this is for the archives page by category.  I&#8217;m using a section because it allows flexibility to re-style it if needed and provides a solid division from other content. I&#8217;ll dive into this a bit more when talking about forms later in the series</li>
<li>archivesmonth &#8211; see archivescat; but monthly <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>article &#8211; this is were all of my &#8220;articles&#8221; go.  anything that is regular content to the website gets dropped in this section.</li>
<li>contact &#8211; the contact form.  It has its own page due to the different layout of the page</li>
<li>disclaimer &#8211; my disclaimer.  I added this because I started to talk about investing and options and wanted to cover my butt. Again, this isn&#8217;t syndicated but you can search it.</li>
<li>family &#8211; my wife own little section <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Okay, not really.  This section is a bit like article, but its specifically for our &#8220;family&#8221; stuff.  The family content goes here because we <strong>always</strong> have the most recent family article on the home page, and because eventually if we want to style it differently we can.</li>
<li>links &#8211; for the links &#8211; again this section is used to change the output form used</li>
<li>pictures &#8211; all of our photo galleries use the pictures section.  The content for these is substantially different and the layout is totally different than a regular article.  I have pictures associated and all of that good stuff.  So a new section was required.</li>
<li>search &#8211; again, just like the archives pages, search has its own layout so I gave it a section.</li>
</ol>
<p>As you can see, most of these are pretty straight forward.  Some come from the design I had up by 
<a  href="http://www.thebombsite.com" onclick="javascript:pageTracker._trackPageview('/external/www.thebombsite.com');" >Stuart</a>, and some are due to my own hacking and customization.  I think that generally each one is required to get the feel I was looking for.  <em>Notice</em> that there is not an investing section, or a wedding pictures section or anything like that.  <strong>All</strong> of that content is categorized using <em>categories</em> <strong>not <em>sections</em></strong>. The only slight exception to this rule is the family category; however, those articles are treated differently and are <strong>not</strong> in with the regular article lists.  Because of those differences, I chose a new section.</p>
<p>In my list of sections, I referred to syndication, homepage, search and some other stuff. Basically, as of textpattern 4.0.3 there are eight options that you can setup for each section.  They are as follows:</p>
<ul>
<li>Section name: The name of the section &#8211; used in your code and in the admin gui.</li>
<li>Section title: The title used for display purposes</li>
<li>Uses page: What &#8220;page form&#8221; to use when in this section.  <em>More on this later</em></li>
<li>Uses style: What &#8220;style&#8221; to use when in this section. <em>Again, more later</em></li>
<li>Selected by default?: Convenience feature for the admin gui</li>
<li>On front page?: Should content from this section show up when on the &#8220;front page&#8221; or in the <em>default</em> section</li>
<li>Syndicate?: Should articles in this section show up in your RSS or Atom feeds</li>
<li>Include in site search?: Should these articles be searchable</li>
</ul>
<p>Some of these items, like name and title are used in code. Some define outputs and some define where content goes&#8230; If you have different needs for your content, then you probably need different sections!</p>
<p>So, when your actually writing code &#8211; how do you handle sections&#8230; First off textpattern comes with a few out of the box tags that are helpful.<br />
<code><br />
&lt;txp:if_section name="[section name here]"&gt; - Determine if we are in a section.<br />
&lt;txp:page_title /&gt; - The title of this section<br />
&lt;txp:if_article_section /&gt; - Conditional output to be used in an article form.<br />
&lt;txp:section_list /&gt; - Shows a list of sections (navigation anyone??)<br />
</code></p>
<p>And to make it even better, I like to use some of the great plugin&#8217;s at 
<a  href="http://rise.lewander.com" onclick="javascript:pageTracker._trackPageview('/external/rise.lewander.com');" >rDS</a> and 
<a  href="http://johan.galaxen.net" onclick="javascript:pageTracker._trackPageview('/external/johan.galaxen.net');" >Johan Nilsson</a> to enhance what you can do with sections; take a look at glx_if and ob1_title.  If those won&#8217;t fit what your looking to do, don&#8217;t&#8217; forget the 
<a  href="http://www.textpattern.org" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.org');" >textpattern resources</a> website!</p>
<p><em>Page Forms</em></p>
<p>Well, this article has already become quite long, so I&#8217;ll just &#8220;start&#8221; to peel the onion on this and go into more detail in the next article.  I view page forms as your &#8220;starting&#8221; point for display.  Each section has an associated page form &#8211; and textpattern installs three by default.</p>
<ol>
<li>default &#8211; the default form &#8211; used by most sections</li>
<li>archive &#8211; used by articles (in the default install)</li>
<li>error_default &#8211; used for reporting error pages</li>
</ol>
<p>Each of these forms allows you to define how the page should be displayed.  The rules for where articles go, how links are handled and what not are all in this form.  Remember that each section is associated to one page form, so in theory, you can have a page form for each section if you wanted to!</p>
<p>I&#8217;ll go into more detail in my next article.  Let me know if you have any questions or comments, I&#8217;m always happy to discuss it.  If your looking forward to the next article &#8211; 
<a  href="http://feeds.feedburner.com/RyanMeganBarr" onclick="javascript:pageTracker._trackPageview('/external/feeds.feedburner.com/RyanMeganBarr');" >grab my feed</a> Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/trading/textpattern-basics-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>why ie drives me nuts!</title>
		<link>http://www.ryanbarr.com/webdevelopment/why-ie-drives-me-nuts</link>
		<comments>http://www.ryanbarr.com/webdevelopment/why-ie-drives-me-nuts#comments</comments>
		<pubDate>Thu, 02 Mar 2006 00:53:00 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/?p=22</guid>
		<description><![CDATA[I&#8217;ve been writing about my switch to textpattern for the past week or so and have been playing around quite with the functionality and design of this site. After using a temp design by Stuart I finally got around to setting something up on my own. After getting it all setup on my Powerbook G4 [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/why-ie-drives-me-nuts' addthis:title='why ie drives me nuts!' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been writing about my switch to 
<a  href="http://www.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.com');" >textpattern</a> for the past week or so and have been playing around quite with the functionality and design of this site.  After using a temp design by 
<a  href="http://www.thebombsite.com" onclick="javascript:pageTracker._trackPageview('/external/www.thebombsite.com');" >Stuart</a> I finally got around to setting something up on my own.  After getting it all setup on my 
<a  href="http://www.apple.com/store" onclick="javascript:pageTracker._trackPageview('/external/www.apple.com/store');" >Powerbook G4</a> in 
<a  href="http://www.apple.com/safari" onclick="javascript:pageTracker._trackPageview('/external/www.apple.com/safari');" >Safari</a> and 
<a  href="http://www.getfirefox.com" onclick="javascript:pageTracker._trackPageview('/external/www.getfirefox.com');" >Firefox</a> I went live and <strong>boom!</strong> sure enough it looks like <em>crap</em> in IE.</p>
<p>I should have known that a few things wouldn&#8217;t work right, but I didn&#8217;t expect to see it <em>that</em> messed up.  So here are the things that I saw right away.</p>
<ol>
<li>PNG graphics are totally messed up.  The rendering of transparent backgrounds in .gif&#8217;s isn&#8217;t the best thing on the planet so I opted for .png&#8217;s.  But the .png graphics looked <strong>horrible</strong>!</li>
<li>CSSÂ  &#8211; My styles were totally messed up! Borders look horrible in IE.  They look great on my mac, but oh my, on a PC it&#8217;s a disaster!  The colors don&#8217;t render correctly (that&#8217;s my fault for not using web safe colors), the nav bar just flat didn&#8217;t work and thats just the beginning!</li>
<li>The nifty rounded corner script I&#8217;m using didn&#8217;t work correctly on the main content window</li>
<li>Spacing and margins are messed up..</li>
<li>The list goes on!</li>
</ol>
<p>So here what I did&#8230; I added a designed for 
<a  href="http://www.getfirefox.com" onclick="javascript:pageTracker._trackPageview('/external/www.getfirefox.com');" >Firefox</a> and 
<a  href="http://www.apple.com/safari" onclick="javascript:pageTracker._trackPageview('/external/www.apple.com/safari');" >Safari</a> at the bottom of the page, fixed the nav and decided to vent about it on the home page!  I&#8217;ll get around to making a few things look better in ie over the next couple of days, but I&#8217;m not about to redesign the whole thing!  I guess that&#8217;s a good lesson to us &#8220;programmer&#8221; types, design is harder than it looks!  I&#8217;ll probably switch to regular borders and do a few other cosmetic changes, but beyond that <strong>switch to Firefox</strong> or better yet, 
<a  href="http://www.apple.com/store" onclick="javascript:pageTracker._trackPageview('/external/www.apple.com/store');" ><strong>Get A Mac!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/why-ie-drives-me-nuts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>textpattern basics &#8211; part 1</title>
		<link>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-1</link>
		<comments>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-1#comments</comments>
		<pubDate>Mon, 27 Feb 2006 03:28:00 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/?p=21</guid>
		<description><![CDATA[As promised in my article moving to textpattern I&#8217;m going to go over some code and concepts used on this site. This site is run using textpattern, currently I&#8217;m on version 4.0.3; if this changes you can see the version at the bottom of this page. I&#8217;ll start my series of articles by going over [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-1' addthis:title='textpattern basics &#8211; part 1' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>As promised in my article 
<a  href="/article/moving-to-textpattern">moving to textpattern</a> I&#8217;m going to go over some code and concepts used on this site.  This site is run using 
<a  href="http://www.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.com');" >textpattern</a>, currently I&#8217;m on version 4.0.3; if this changes you can see the version at the bottom of this page.  I&#8217;ll start my series of articles by going over some textpattern basics and linking out to some great resources.  Hopefully you will find this tutorial helpful!</p>
<p><strong>Resources</strong></p>
<ul>
<li>
<a  href="http://www.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.com');" >Textpattern</a></li>
<li>
<a  href="http://forum.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/forum.textpattern.com');" >Textpattern Forums</a></li>
<li>
<a  href="http://www.textpattern.org" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.org');" >Textpattern Resources</a></li>
<li>
<a  href="http://www.textpattern.net" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.net');" >Textbook</a></li>
<li>
<a  href="http://erraticwisdom.com/2005/11/30/intro-to-textpattern" onclick="javascript:pageTracker._trackPageview('/external/erraticwisdom.com/2005/11/30/intro-to-textpattern');" >Into to Textpattern</a></li>
</ul>
<p><strong>Basics</strong></p>
<p>Okay lets start with the basics.Â  Textpattern is a <acronym title="Content Management System">CMS</acronym>, its much more than a simple blog! It uses a bunch of different concepts and methodologies to organize information and create web-pages.  Textpattern allows you to enter and store, text (articles), images, files and links.  It also allows you to create and manage your website presentation using styles, pages, forms and sections. Each piece of content(articles, images files and links) can be associated to a category.  All of these things together allow you to create a very robust website, and if the out of the box tools aren&#8217;t good enough, you can always use plugins!  For this article, I&#8217;ll focus in on Sections and Categories.</p>
<p>Textpattern uses two major organizational structures to move store and organize textual information. These two structures are Sections and Article Categories.  For the rest of this article, I&#8217;ll refer to Article Categories as Categories.</p>
<p>In my opinion <strong>Sections</strong> are a key part of textpattern organization.  Sections are used to &#8220;section&#8221; off articles from other articles.  These sections basically create big holding tanks that articles are placed into.  When browsing a section such as my 
<a  href="http://www.ryanbarr.com/portfolio">www.ryanbarr.com/portfolio</a> textpattern basically limits the <code>&lt;txp:article/&gt;</code> tag to only articles that are <em>in that section</em>. This is a really important concept; so let me phrase it another way.  When browsing a section, textpattern attempts to limit the information presented to articles that are <em>in</em> that section.  As a side note you <em>can</em> show content from another section if you want to by using a tag like <code>&lt;txp:article_custom /&gt;</code> or some other really cool plugins.</p>
<p><strong>Categories</strong> on the other hand allow you to <em>categorize</em> your information.  Categories have <strong>nothing</strong> to do with sections. Any article can be placed in any category So for example, on this site if you go to the 
<a  href="/category/investing">investing category</a> page you will see all of the articles that are in the investing category.  It doesn&#8217;t matter what section these articles are in, only the category matters.  This allows you to have any information that is related, no matter want <em>section</em> it is in placed together.</p>
<p>The basic difference between categories and sections is pretty important and needs to be understood (in my opinion) to really get a good handle of textpattern.  Hopefully this makes sense, if not, drop me a few comments and I&#8217;ll try to clear it up!  Next time I&#8217;ll dive into Sections a little deeper and start to discuss Page forms.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/textpattern-basics-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>moving to textpattern</title>
		<link>http://www.ryanbarr.com/webdevelopment/moving-to-textpattern</link>
		<comments>http://www.ryanbarr.com/webdevelopment/moving-to-textpattern#comments</comments>
		<pubDate>Sat, 25 Feb 2006 05:45:00 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/?p=19</guid>
		<description><![CDATA[I’ve spent the last ten plus years of my life writing code for the web. I started with the Microsoft set of tools, ASP and Access. Oh those were the days&#8230; well maybe not! I can still remember being in high school spending hours down in the basement working on website after website; writing horrible [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/moving-to-textpattern' addthis:title='moving to textpattern' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>I’ve spent the last ten plus years of my life writing code for the web. I started with the Microsoft set of tools, ASP and Access. Oh those were the days&#8230; well maybe not!  I can still remember being in high school spending hours down in the basement working on website after website; writing horrible spaghetti code that was impossible to maintain. After a while I moved along into the ranks of a “professional developer”, starting out again with the Microsoft set of tools and after a few years there I again migrated to the world of Java.</p>
<p>For the last five or six yeas I&#8217;ve been maintaining a bunch of websites written in a bunch of different languages and its been driving me <strong>nuts</strong>!  So, a while back I started looking for a better way to build sites, something that will let me focus on getting a functional website created in a short amount of time that will also allow my customers (and me) ease of maintenance. Well, I&#8217;ve found it!</p>
<p>This site was recreated in about a day&#8217;s worth of time from a home grown “pile of ASP and SQL Server code” to textpattern; and I <strong>couldn&#8217;t be happier</strong>.  Textpattern is a great tool, it&#8217;s a bit confusing when you start, but once you get the hang of it, it&#8217;s awesome!  I&#8217;ve already re-built a couple of client websites using textpattern and have been working on doing more and more as the days go by.</p>
<p>How can you beat it, its open source, well maintained, extensible and quite simple to use once you figure it out. Now don&#8217;t get me wrong here, I&#8217;m no php guru, but after spending a couple of days playing with textpattern, I&#8217;m already in hacking and tweaking plugin&#8217;s all over the place. The tool is flexible, performs really well, and so far the administrative functions have been nothing but helpful for my clients.</p>
<p>I&#8217;ll spend a little bit of time over the next few weeks posting some of the code used to build this site; as well as some snippets from a few others.  I’ll also spend some time writing about the different aspects of the tool as I understand them… Hopefully all of this information will be helpful to others that are working on moving to this awesome tool!  But until then, its back to my next textpattern project; a complete rebuild for my 
<a  href="http://www.lathropchurch.com" onclick="javascript:pageTracker._trackPageview('/external/www.lathropchurch.com');" >church&#8217;s website</a>. It will be XHMTL and fully CSS compliant, and built in textpattern.  I&#8217;m excited, its going to look great, work great and be <strong>much</strong> easier for the staff to update on a consistent basis!  What are you waiting for, check out 
<a  href="http://www.textpattern.com" onclick="javascript:pageTracker._trackPageview('/external/www.textpattern.com');" >textpattern</a> for yourself!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/moving-to-textpattern/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

