Next/Previous links in specific categories

January 26, 2004 · Comments

As I mentioned, I’m working on a site that’s entirely driven by MovableType. It takes a bit to get the structure in place and working, but adding content is a breeze. Just copy/paste into ecto. Speak of which, does anyone know of a PC equivalent to ecto? I think my client will be more comfortable adding/editing content in a stand-alone window than futzing in her browser.

Anyway, here’s something cool I found when building the site. One section has multiple categories and I wanted to show “next” and “previous” links but have them only step through the category and not the listings of the entire blog. By default, MovableType won’t let this happen. But ScriptyGoddess had the answer and it works exactly as described. It requires PHP, but all of sudden that’s not so scary for me. When I was setting up the new site, I made all the pages PHP just in case. I figure worst comes to worst it stays all HTML and that’s fine, but I knew that there may be some functionality I would want that would only be possible with PHP.

When I redo my own site (whenever I’ll have time for that) I’ll definitely be converting it to PHP.

Related posts: