SubCategories v0.4

  • New Tags:
    • MTHasNoSubCategories: the opposite of MTHasSubCategories
    • MTHasNoParentCategory: the opposite of MTHasParentCategory
    • MTTopLevelCategories: a container tag that acts just like MTSubCategories, except that it will always start at the top category level, instead of the current category if there is one
  • New Attributes:
    • MTSubCategories (and MTTopLevelCategories) : sort_order: set to 'descend' to sort the categories in reverse order

Download the new version here:

8 TrackBacks

SubCategories from MT Plugin Directory on April 8, 2004 12:29 AM

To define how your categories relate to each other, just load up mt-sc.cgi in your web browser. 0.4 adds some... Read More

Movable Type from PukiWiki/TrackBack 0.1 on May 3, 2004 12:15 PM

What's¡¡Movable Type Movable Type¤ÏPerl¤Ç½ñ¤«¤ì¤¿Blog¥µ¥¤¥È¤ÎCMS¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤¹¡£ What's¡¡Movable Type ¥Æ¥ó¥×¥ì¡¼¥È¥¿¥°¤Îµ­½Ò Åê¹Æ¼ÔÊÌ¡¢¥«¥Æ¥´¥êÊ̤Ëʬ¤±¤ÆÉ½¼¨¤·¤¿¤¤ »ØÄêʸ»úĹ°Ê²¼¤ò¾Êά¤·¤¿¤¤ ÆÃÄê¤Î¥«¥Æ¥´¥ê¤Ïɽ¼¨¤·¤Ê¤¤ ¥«¥Æ... Read More

本家(?)サイトcaramel*vanilla のコンテンツをこちらに移動してblog1本で行こうと思ったんですがカテゴリーが多くなりすぎてごちゃごちゃしてしまいました。カテゴリーの表示順ってアルフã... Read More

本家(?)サイトcaramel*vanilla のコンテンツをこちらに移動してblog1本で行こうと思ったんですがカテゴリーが多くなりすぎてごちゃごちゃしてしまいました。カテゴリーの表示順ってアルフã... Read More

本家(?)サイトcaramel*vanilla のコンテンツをこちらに移動してb... Read More

前回(caramel*vanilla : カテゴリーリストのカスタマイズ)エント... Read More

MT 3.1 以降で利用できるサブカテゴリ。親カテゴリをクリックすると、子(孫)カテゴリも表示するには、テンプレートの変更が必要です。 Read More

MT 3.1 以降で利用できるサブカテゴリ。親カテゴリをクリックすると、子(孫)カテゴリも表示するには、テンプレートの変更が必要です。 Read More

13 Comments

Is there any way to sort the subcategories by modified_on? Currently it sorts alphabetically.

Is there any way to get documentation for v 0.4? I'm not getting a clear picture by flitting between the postings for the various versions. Any chance?

> Is there any way to get documentation for v 0.4? I'm not getting a clear picture by flitting between the postings for the various versions. Any chance?

Good question!

If you could provide some examples for different configurations that would be great!

Is it possible to use so for parent categories it will count all entries that are submitted in the combined sub-categories? It's showing up a 0 for each parent category even though there's say 20 entries in all of it's sub-categories.

I installed Subcategories, created a number of categories and subcategories, then deleted one of the subcategories.

I then tried to rebuild the site and got this error:
"An error occurred: Can't call method "label" on an undefined value at plugins/sub_cats.pl line 45. "

From other comments it looks like I would have to modify the database. I'm still using DB not SQL, so I'm not sure of how to do it.

Otherwise, can I just delete the plugin and start over somehow?

Dido on the error message, mine is similar to Nathan's.

"Can't call method "label" without a package or object reference at plugins/sub_cats.pl line 71."

I assigned 5 subcategories to E that should have been assigned to F, I haven't deleted any subcategories, however, I did re-set the parent to F. Is this what caused it? And how on earth do I fix it without deleting the entire thing again?

I installed and assignet Subcategories (4) and subcategories. Everithink was Ok, 'till I've deleted some subcategories.
all efforts were in vain, so I get this
"An error occurred: Can't call method "label" on an undefined value at plugins/sub_cats.pl line..."

Any idea?

please let me show answers.
I installed SubCategories plugin.Then I think it perfectly finished.but individual and database archive can't show me like MainIndex.I don't know sources must be written.

I'm getting the same error message:

"Can't call method "label" without a package or object reference at plugins/sub_cats.pl line 71."

Happened after I deleted a couple of sub-categories. Can no longer do any updates or changes. Is there a fix to get back up and running short of removing the plugin?

when I access to mt-sc.cgi and arrange categories and push "Set" button,
always My Web Browser says "Error saving MT::PluginData";

I use Postgres as my Database.

And one more person using Postgres-MT have the same problem.

That has something with this problem?

Any solution or help, please.
Thank you.

when I access to mt-sc.cgi and arrange categories and push "Set" button,
always My Web Browser says "Error saving MT::PluginData";

I use Postgres as my Database.
And another person using Postgres-MT has the same problem.

Any solution or help, please.
Thank you.

Hi,

subcategories is a extremly great tool. Simple yet effective.

I have one question, I'm looking to import the relation information (what is parent) from an external application/db. How are these relations stored and how can I access them in an appropriate manner?

I would be very happy about a reply! Thanks in advance!

Best,
Torsten

Hi,

subcategories is a extremly great tool. Simple yet effective.

I have one question, I'm looking to import the relation information (what is parent) from an external application/db. How are these relations stored and how can I access them in an appropriate manner?

I would be very happy about a reply! Thanks in advance!

Best,
Torsten

Leave a comment

Recent Entries

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

  • The Olympics Make Me Want To Compete Again

    Every time the Olympics come around (most the summer ones) I always start to delude myself into thinking I could complete once again in the...

  • Minimalist plugins are fun!

    Last night I whipped up one of the smallest plugins I’ve ever written. It is so small in fact that I was able to stuff...

  • Feedburner Widget on MT News

    Movable Type News A WordPress 2.5 Upgrade Guide: And of course there are lots of third-party plugins for the MT dashboard, to integrate statistics and...

  • AD&D Monster Stats for the Presidential Canditates

    Charles Stross (scifi author, D&D nerd, and former perl columnist) posted Politics as she is Played with 3d6: The recent death of Gary Gygax, who...

Close