Skip to main content or search

Learning to Love Textpattern

Saturday April 16, 2005 / 10 Comments

Textpattern First things first, I’m coming from a computer science background where I’m comfortable covering every detail of web development front to back. With Textpattern, the first thing I had to do was accept that I was going to have to relinquish the level of control I’m used to having and embrace the constraints.

That being said, for simple sites, Textpattern is amazing. If you’re the type that likes to control every detail of your site, your posts, your archives, etc., and you don’t know or like PHP, Textpattern probably isn’t right for you.

Elegance & Simplicity

Once you wrap your head around how Textpattern organizes everything, it’s amazingly well thought out. Yeah, “forms” are really more like “includes”, and “sections” are more like “blogs”, but the seperation of presentation, style, and content is wonderfully clear.

Plugins

With most systems, it’s necessary to use plugins, but with Textpattern, they were an absolute must in order to get past some of the simplistic tags. This is where the simplicity of Textpattern borders on crippling flexibility. Without these plugins, I would not be using Textpattern right now.

  • glx_if lets me have back a little bit of that lost control through convenient conditional statements.
  • low_discuss generates the rel=”nofollow” tag.
  • sgb_url_handler gives the URL’s a little bit of added flexiblity. I’m not using it here, but I plan on using it when I move YourTotalSite over to Textpattern to gracefully handle inbound links to pages that will no longer exist.

Hacks

Despite my hope that I could completely avoid PHP, I did have to make some very simple and basic changes to the values that Textpattern spit out with some of it’s custom tags. This was straightforward once I knew which files were doing all the dirty work. (Pun intended.)

In addition to this, I prefer to have my comments field come before the personal info collection, and Textpattern has the tabindex values set in the PHP, so I had to redo those as well. Not difficult, but probably more effort than it should be.

Validation

While I’m not a validation stickler, if it’s easy to make your page validate, you should do it. The most disappointing thing for me was that Textpattern’s comment form does not use labels by default. Is it really that hard? Then, after I added the labes, the page would validate because the Textpattern tags that generate the input fields do not output the id attribute.

Unfortuantely, the solution involved some slight tinkering with one of the afore-mentioned PHP files. This is something that I’m guessing most would not be comfortable doing. It was a very simple change to add the id attribute to the function that created the HTML input fields. It was simple and harmless enough that it should probably be done by default.

Conclusion

Textpattern is elegant in it’s simplicity and structure, but you will need to either be prepared to tinker with PHP and plugins or relinquish a significant level of control over some of the details. I see it as another weapon in my arsenal. It’s good for some tasks, but not all.

Thank You

I also want to thank Jon, Eris, Andreas and the Textpattern community at large for helping me find the plugins and workarounds for some of the things I didn’t like about Textpattern. They were ridiculously helpful, and if it wasn’t for them, I probably would have wasted a lot of time building my own system.

Featured Stuff - Resources: Wireframes & Page Description Diagrames

Omnigraffle and Visio versions of the wireframe templates and stencils I use on all of my projects. There’s even a few examples included for good measure. More about Wireframe & Page Description Diagram Stencils and Templates


Great design. Your style, large and bordered, shines through.
Textpattern is a real cool piece of ware. But the only reason that’s holding me back to WP is the great support on the IRC channel. Indranil

Hooray! Another Textpattern convert!

Tell me though – did you get low_discuss to work with RC3? Thats been a real problem for me. Jon Hicks

First of all—I really like the site. It’s great for reading online, I mean really great. I can skim (beacuse of the great sub-heads) and there isn’t much to get in the way of my reading. Very nice work. Oh and I like the design style quite a bit too.

One of these days I hope to try Textpattern. I’ve heard mixed reviews, though mostly good, and I’m interested. As soon as I’ve got time. I hope you know I’ll be bugging you for lessons learned and tips.

Congrats on getting the site up. Keith

Indranil – WordPress definitely has a lot of support, but I didn’t have any problems getting help with Textpattern either. In fact, I believe there's even an IRC channel for Textpattern now too.

Jon – low_discuss isn’t working great, but it does add the rel=�nofollow�. So for now that appears to be the only benefit. I didn’t dig much more than that yet, but I would like to get rid of the mandated previewing. (Preferably without hacking any more PHP.) Garrett

I really like this design, very simple, important things are large and easy to read – and I like the color scheme – thumbs up! John Resig

Garrett, lovely design! Justin

Very impressed with the design. The kids do love big text these days. Jamie

That’s because large type is attractive and accessible ;-) Matt Hampel

Simple and clean, the way I like it.

Textpattern definitely takes some getting used to, but once you do, you’ll learn to love it over and over and over. Abel

Textpattern has caused me to have a near nervous breakdown.Do you have to be a rocket scientist to use this thing or what? I have spent hours upon hours working on TXP only to end up nowhere.Am I stupid or what?

Bhoney

Comments are closed for this entry.