December 29, 2004

ParentCategoryRebuild 1.1

Just a quick update to the ParentCategoryRebuild plugin. This new version fixes the bug that caused archives to be rebuilt even if the entry being saved was not published, and removes the condition that was causing the error message if the entry had no categories selected for it.

Download one of the following files, unpack it, and place parent_rebuild.pl in the plugins/ directory.

Posted by rayners | Comments (2) | TrackBack

December 21, 2004

ParentCategoryRebuild 1.0

This plugin will automatically rebuild the category archives for the parent categories of the categories to which an entry has been assigned. The idea is that if you are using MTEntriesWithSubCategories in your category archive templates, you will want those category archives to be rebuilt when an entry is saved. However, the normal behavior is only to rebuild those categories to which the entry is directly assigned. So I ripped the code that performed the parent category archive rebuilding from the last version of the SubCategories plugin, cleaned it up, and here it is.

Download one of the following files:

Unpack it, place parent_rebuild.pl in your plugins directory, and you are all set.

( Note: this plugin is using a callback that was introduced in MT 3.1, so it will not work in earlier versions )

Posted by rayners | Comments (3) | TrackBack

Trackback

» ParentCategoryRebuildプラグイン from 野良犬の塒
[魔] Magic White MTEntriesWithSubCategoriesタグをもっと便利に こちらの表記を参考にしてParentCategoryRebuildというMovable Type用プラグインを導入した。今まで「サブカテゴリに記事を投... [Read More]

Tracked on March 13, 2005 05:02 AM

Entry List