Post
Textpattern Manual
Note: This article has also been translated into Swedish.
- Part 1: Intro to Textpattern
- Part 2: The Textpattern Engine
- Part 3: Textpattern Sections
- Part 4: Textpattern Pages
- Part 5: Textpattern Content
- Part 6: Textpattern Forms
- Part 7: Guest Writer: Nathan Smith of SonSpring Design
- Part 8: Guest Writer: Garrett Dimon of garrettdimon.com
Part 1: Introduction to Textpattern
Welcome to the Textpattern Manual, a multi-part introduction to Textpattern. Textpattern is not the simplest CMS; however, once mastered, it is beautiful in its practical functionality. First, I must acknowledge some other tutorials that are still great resources. This series is meant to be a comprehensive manual for Textpattern, used as a thorough guide for beginners and a quick reference for experts.
The most important thing to remember about Textpattern is that it is much more than a blog script and must be approached as such – a robust, business-level Content Management System. This tutorial will aim to give you an understanding of the general architecture of Textpattern so that the smaller program details become less daunting.
Textpattern Structure

This is how I see Textpattern. First, is the engine itself which I have, luckily, only had to delve into on a few occasions. This area is housed within the “textpattern” directory and contains the heart of the CMS. Only intense pickiness will require you to modify anything in this area as most features can be added with plugins. The only areas I have had to modify are the “comment.php” and “taghandlers.php” which were fairly simple processes because the code is thoroughly commented.
Next are the sections. Textpattern sections are very powerful content and presentation dividers. Each section can take its own page template and style sheet, and the section’s content can be called directly. Sections can be used to create entirely different blogs, but in most cases, sections are used to manage “static” content such as “About” and “Contact” pages.
The next level falls into the presentation area of Textpattern. Page Templates and CSS control the look of the site and can be section-specific. The page template is the simple HTML/XHTML structure of your website. We can use various tags to call the articles from the content side of the CMS into the pages.
After the website layout comes the website content. This is perhaps the simplest part of Textpattern because it takes the structure of most other systems. This area includes images, files, links, and any other types of actual content whether contributed by the author or visitors.
The next level returns to the presentation of the website but at a smaller level. Textpattern forms are more detailed layout elements that directly affect individual content entires. While page templates dictated the presentation and structure of content listings, forms act more specifically on the actual entries. For example, the “default” article form modifies the structure and style of the article title, body and associated links.
Finally, the last structural element of Textpattern are categories. These pertain to individual articles and are only labeled as a “structural element” because of the various tags that make use of them.
Obviously, this is only a simple introduction to the much wider complexities of Textpattern, so stay tuned for the remaining classes where I (and maybe some guest authors) will explore each aspect in depth.
Archive
-
260.
Natural Kinds in Chemistry
One of my favorite courses so far was last semester’s “Natural Kinds”. Everything from the unique subject matter to the seminar-like structure made the class a blast, up until the...
-
260.
The Phenomen- ology of Freedom
Are we truly free? Are the paths of our lives charted beforehand, or is every moment an opportunity to break new ground? The answer isn’t easily found, the determinate physical world seems to hit a...
-
260.
An Open Letter to God.
So here’s the deal, we’ve been here a while doing great things and…eh things, but there’s always been that trickling or gushing concern about why. We’re amazing, when you stop to think...
-
260.
Nietzsche: The Fast Track
The darkly dressed student made yet another existentially pessimistic remark and the professor unleashed one of the harsher insults I’ve heard: “Every student goes: Nietzsche, Schopenhauer,...
-
260.
Computers and God
I came across an interesting presentation on digg (and surprisingly, it wasn’t a kitten with horrifying spelling/grammar) recently that compared – albeit often fallaciously – our...
-
260.
Surviving Life
The questions we ask are not ones we can ponder in our free time and easily set aside when there’s life to do. What am I? Am I free? What is the purpose of my existence? Why should I strive to...
-
260.
The New Erratic Wisdom
Another semester, another redesign (give it a solid refresh to clear your cache). This one’s been brewing for quite some time now, with the notched grid motif coming around a few months ago,...
-
260.
Imperfect Art
Plato’s metaphysics and his Doctrine of Forms describes a general division of our universe into forms and particulars. Forms are instantiated by contingent particulars. That is, particulars are...

















Comments
Marko
Dec 1, 01:18 AM #
Zeerus
Dec 1, 06:43 AM #
cody lindley
Dec 1, 08:58 AM #
Shawn Grimes
Dec 1, 12:01 PM #
Nathan Smith
Dec 1, 02:55 PM #
Thame
Dec 1, 08:27 PM #
@Thame: You might want to change Nathan’s name to Nathan Smith instead of Nathan Spring :p
Shawn Grimes
Dec 2, 09:36 AM #
Thame
Dec 2, 06:09 PM #
thanks
kumar
Dec 3, 04:30 AM #
Thame
Dec 3, 09:14 AM #
Adam Messinger
Dec 18, 02:58 PM #
Thame
Dec 18, 11:33 PM #
Rather clearly.
Serg
Affordable web hosting
Serg
Oct 5, 02:19 PM #
3dsl Eugen
Nov 28, 12:29 PM #
Just getting to know textpattern. You look like you have a nice resource going here. Taking a deeper look..
Ben
Jun 10, 06:03 PM #
Add a Comment
Phrase modifiers:
_emphasis_
*strong*
__italic__
**bold**
??citation??
-
deleted text-@code@Block modifiers:
bq. Blockquote
p. Paragraph
Links:
"linktext":http://example.com