How to do a table of contents in text pattern

My teaching pages are served out using Textpattern, a relatively light CMS that uses textile wiki-like markup.

Because adding an excerpt by hand wrecks the syndication of this site through Wordpress to my other blog, I don’t usually add a text summary. Instead, I do something similar to the Wikipedia or Wordpress: I begin articles with an abstract like first paragraph, then include a table of contents, then have the rest of the body.

I used to make up these tables of content by hand, cursing all the time that Textile wasn’t XML. Then I discovered soo_toc, a Textpattern plugin that builds tables of contents dynamically. Joy!

Of course, now I need to remember to add the template that calls the TOC to each page (as I type this, I wonder if there might not be a simple variable I could develop that does this, but that’s for later). Read the rest of this entry »


Rejigging my online presence

The last time I did some serious work about my online presence was six years ago, or so. At the time I replaced my old static professional websites (pre-2004 and 2004-2006) with a new site built using a Textpattern CMS install. Read the rest of this entry »


Follow

Get every new post delivered to your Inbox

Join other followers: