Hello.
I'm trying to have MT use different Entry Listing (category) template modules depending on whether or not an archive belongs to one parent or another.
For example, I have two top level categories: Necklaces and Earrings. Within those, there are subcategories that sometimes have the same names such as Gold.
What I want to do is have a conditional statement that says if an entry archive belongs to Necklaces and is Gold, use the Necklaces template. But if it belongs to Earrings, use the Earrings template.
So, how do I write the conditional statement?
Right now I have
<mt:IfCategory name="GOLD">
<$mt:include module="necklaceModule"$>
</mt:IfCategory>
But is there a way to specify which parent category I mean, since both of them have a GOLD?