...sign of our times...

Upon being handed a journal as a gift, a nine year-old asks his mom what it was. The mom says that it was a notebook to record his thoughts and feelings, every day. The kid replies, "You mean, it is a blog...on paper." Reader's Digest, Oct 2008 issue



Short culled notes on Textpattern

Format:
{Source}
{Content}

Textpattern help

The file structure is fairly simple. Areas seen by the public are in the root directory while the engine itself is found in the “textpattern” directory.

“anything related to comments is found in the “publish/comment.php” file.”

The language information controls almost all of the actual words outputted by the CMS ranging from error messages to administrator-side text. Actually, in recent versions, it has lost it’s “file” status and has been integrated in the main database. It is helpful to know how to modify this if you want to personalize your site; for example, if you wanted to change the default “Thank you” response for comments, you would do a search (in PHPMyAdmin or similar) in the “txp_lang” table of your database for the text and replace it with whatever you want.

Giving Textpattern a boost:
I researched and learned more about speeding up Textpattern too. I already use external CSS files, rather than Textpattern’s built-in style editor, but I knew there was more I could do.

One thing I did was install a plugin called asy_jpcache (http://forum.textpattern.com/viewtopic.php?id=8352), which caches the site between updates. This had a major impact on the site’s speed. I also offloaded logging to Google Analytics, and turned it off in TXP (Textpattern has built in hit tracking).

The third major thing I did was enable FastCGI on the Tiger Tech server (Tiger Tech is my awesome hosting provider). Even though database access wasn’t slowing my site down before (Textpattern is naturally light and nimble), the results are astounding— this just came in from Tiger:

According to ApacheBench, your home page is now serving over 120 page loads per second, so you can handle any conceivable load in that sense.

EDIT: As noted on the Tiger Tech support page, FastCGI also speeds up other content publishing tools, such as Movable Type, Wordpress, and Drupal.

Wow. This earned asy_jpcache a place on my TXP Essentials list.

From
another source

I’m sure everybody using Textpattern already knows this, but it’s a revelation to me. To ‘switch off’ Textile’s automatic formatting of certain elements – e.g. converting asterisks into bullets, or wrapping blocks of text in

tags: simply insert a space at the start of the line!

- posted May 6, 08:53 am in

Comments

Leave your comment