Textpattern hacks

Written at 17:15, on Friday 7 October 2005. Tags: accessibility usability webdesign website .

This is just a collection of hacks I’ve implemented for my Textpattern installation, and a note on update management..

  1. Fix the tabindex for comments. A proper tabindex ensures that you can fill out the comment form quickly by using the keyboard’s TAB key to jump from input field to input field. Unfortunately, Textpattern doesn’t specify a tabindex for the preview or submit buttons. Jared has the solution.
  2. Installed the super archive plugin for Textpattern to create the archive.
  3. With the ob1_title plugin I’ve adjusted the title tags to reverse the default format. Titles are displayed as “article title | site name”.
  1. Installed the Live Comment Preview plugin (via John Hicks). I made two little changes though: I removed the <div class="comment"> and the <p class="author">. They were unnecessary and were screwing with my stylesheet. I also added the <label> tags for the checkboxes, which improves accessibility and usability.

Textpattern update management

And finally, a word on update management. Since I use Dreamhost (domain transference still in progress1), I’m able to login with SSH and update my files locally on the prompt. This is über-geekiness but it also allows me to make a Subversion checkout of Textpattern like this (make sure you cd to the proper domain directory first):

svn co http://svn.textpattern.com/development/4.0/

This will create a live checkout from the latest stable branch of Textpattern. Then it’s very easy to locally modify the files, wether by using VIM in the shell or by using FTP and my local editor. Upgrades are as easy as this:

svn up

This will fetch the remote updates and merge my local changes. I can even svn remove setup so that the setup files are not added again. In short, I can apply the basic workcycle with Subversion. Very nifty.

1 Well, there are still problems with adjusting the DNS servers on Lycos, so for now I’m using a .htaccess which simply redirects everything to jeroencoumans.dreamhosters.com:

RewriteEngine On
RewriteRule ^(.*)$ http://jeroencoumans.dreamhosters.com/$1 [R=301,L] 

Comments closed |

From the portfolio

  • Nightflight homepage

About this website

My name is Jeroen Coumans, I'm a freelance web designer, front-end developer and Drupal ninja from the Netherlands. I love to create beautiful, usable and accessible websites. On this website, you can find my portfolio as well as my personal weblog. Interested in hiring me? I'd love to hear from you.

After completing my BA in Arts and Culture I'm now doing a MA in Communication and Multimedia Design. More …

Elsewhere

Issuu and Smart Look for a better PDF viewing experience

A plugin that embeds PDF's, Word and Powerpoint files in a very cool, usable and fast Flash interface.

Visit site …

Palm Pre: everything you ever wanted to know - Engadget

This is the only device I would consider as replacement for my iPhone. Palm seems to have done some essential things right, like contact management by pulling data from various services in the cloud. I love the zoomable UI and the card metaphor for app switching.

Visit site …

Release:jQuery 1.3 - jQuery JavaScript Library

Some very nice features and performance improvements in this release, among which the Sizzle CSS selector engine (currently fastest avaiable), live events and much faster HTML injection.

Visit site …

jQuery API Browser v1.3

Improved and also available offline as AIR app.

Visit site …

A List Apart: Articles: Return of the Mobile Style Sheet

"What can be done for mobile browsers that do not read handheld style sheets, or parse CSS Media Queries? Short of ignoring them, there are two options."

Visit site …

Mapeed.AddressChooser API documentation | Home

Cool Javascript component that can be used for address collection in forms, combining HTML form and Google Maps for dynamic place retrieval and auto-completion.

Visit site …

Digital Ethnography

Blog of Michael Wesh, cultural anthropologist, professor of the year, and creator of the video "Web 2.0 … The Machine is Us/ing Us".

Visit site …

Components Versus Patterns

Analysis on the differences and commonalities between components and patterns. "Although the two concepts are strongly related, their differences warrant consideration to ensure you are building the type of library that’s right for you."

Visit site …

The State of the Web 2008 | Web Directions

"Welcome to this detailed report from our first “State of the Web” survey of professional web designers and developers. It includes details and analysis of all the responses to over 50 questions covering technologies, techniques, philosophies and practices that today’s web professionals employ."

Visit site …

The Curious Case of Twply and Twitter - Bokardo

Excellent interface analysis of twply: "Moral of the story? Design can effectively be used to deceive people. Deal only with those services you know and trust. "

Visit site …

Subscribe

Or choose one of the single feeds:
Journal feed | Elsewhere feed