QUOTE
A container tag representing a list of all of the categories--including the primary category--to which entry belongs. Inside of this container you can use any of the <$MTCategory*$> tags (documentation) to display information about each category.
inside [MTCategories] container tags if a pair of [MTEntries] is used, MTEntries inherits the category information from [MTCategories] but if [MTEntries] is used withing [MTEntryCategories] it does not!
think about what RelatedEntries plugin does, we can do it even without the plugin! this way:
CODE
<MTEntries>
<$MTEntryTrackbackData$>
<div class="blogbody">
<a name="<$MTEntryID pad="1"$>"></a>
<h3 class="title"><$MTEntryTitle$></h3>
<$MTEntryBody$>
<MTCategories>
<MTIfEqual a="[MTEntryCategory]" b="[MTCategoryLabel]">
<MTEntries lastn="3" offset="1">
<MTEntriesHeader>
Related to this<br/>
</MTEntriesHeader>
<MTEntryTitle><br/>
</MTEntries>
</MTIfEqual>
</MTCategories>
<div class="posted">
Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>
</div>
</div>
</MTEntries>
<$MTEntryTrackbackData$>
<div class="blogbody">
<a name="<$MTEntryID pad="1"$>"></a>
<h3 class="title"><$MTEntryTitle$></h3>
<$MTEntryBody$>
<MTCategories>
<MTIfEqual a="[MTEntryCategory]" b="[MTCategoryLabel]">
<MTEntries lastn="3" offset="1">
<MTEntriesHeader>
Related to this<br/>
</MTEntriesHeader>
<MTEntryTitle><br/>
</MTEntries>
</MTIfEqual>
</MTCategories>
<div class="posted">
Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>
</div>
</div>
</MTEntries>
I've used MTCompare here to limit the output here. I could use MTEntryCategories instead of MTCategories so there wouldn't be any need for MTIfEqual tags but as I mentioned MTEntries doesn't inherit category information from MTEntryCategories .. is this a context bug
I'm aware of certain plugins for showing related entries and this is not the problem.. in fact i'd like to know WHY doesn't MTEntries show entries as it must in this example .. maybe the reason is that all this is inside another MTEntries which is generating the entry itself!!