In MT 4.3 I'm trying to set-up a simple if/else loop to allow for a replacement of the Author Display Name with a Sub Category name.
The code I currently have written displays all the SubCategories for the ParentCategory (which is 'Guest contributors'):
Here's the question I can't seem to solve: How do you show only the selected SubCategories? Right now, the code I'm working with shows all the SubCategories (whether they are selected or not).
Many many thanks for any insights into this. I've searched the forum but have not uncovered any nuggets of wisdom on this bit ...
Reported on Movable Type 4.3

Woops! Here's the template code for the previous question:
<mt:if tag="EntryCategory" eq="Guest contributors">
<mt:SubCategories category="Guest contributors">
<a href="<$MTCategoryArchiveLink$>" rel="category">
<$MTCategoryLabel$>
</a>
</mt:SubCategories>
<mt:Else>
<span class="author vcard">
<a href="<$mt:EntryLink type="Author"$>">
<$mt:EntryAuthorDisplayName$>
</a>
</span>
</mt:If>
What do you understand by "selected subcategories"?
On which page types are you using this coding and what is your goal? What exact do you expect to obtain?
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/
Thanks for the response Mihai (appreciate it). Let me rephrase my question: How do you show a list of the assigned subcategories for an entry?
Using the default 'posted by' code, all assigned categories are returned. Is there a way to only show subs?
Example I'm using:
<MTIfNonEmpty tag="EntryCategory"><span class="categories"><span class="text">Posted in</span> <MTEntryCategories glue=', '><a href="<$MTCategoryArchiveLink$>" rel="category"><$MTCategoryLabel$></a></MTEntryCategories></span></MTIfNonEmpty>