Moveable Type Parent Category Display

3rd Feb. 2006

I want to share this in the hopes that someone else who searches for an answer to the question I had earlier today might save some time. It's very simple but the answer isn't easy to find in the all too sparse Moveable Type documentation.

I wanted MT to return the name of the parent category when in a sub-category. So if we were in the "red" it would return the parent value "color".

Here is what worked for me in a category template:

<MTTopLevelParent><MTCategoryLabel></MTTopLevelParent>

It took trial and error which is fun but always a time waster.


Categorized: Media

Tagged: ,


Comments



Matt Carey
6th Feb. 2006

Thank you! This was something I knew I should be able to do but couldn't work out how!


Add a Comment