Hello,
I am trying to only display a Module on certain specified Categories. I have tried playing around with lots of tags but nothing seems to be working.
Here are the following that i tried that did not work please advise
This only works for 1 category at a time i could not figure out how to define multiple categories. I tried sepearting them by , or |. Or even multiple name= but none worked.
Did not work either.
So if anyone has a way that I could display a module on certain or specified categories it would be much appreciated.
Thanks,
Dave
Reported on Movable Type 4.2
They're using Markup here, so to display code you need to use the form linked above the comment-entry box.
So I can't see your code, but the most basic way to do specified categories is
<mt:Entries categories="(Family OR Pets) AND Featured">
You can also do something like this example from the old forums:
<mt:SetVarBlock name="IncludeCategory"><$MTCategoryLabel$></mt:SetVarBlock>
<mt:If "$IncludeCategory" like="(Cultura|Teatro|Politica)">
...(include module)...
</mt:If>